d6dc926e6e
We use the arm_boot_info::nb_cpus field in only one place, and that place can easily get the number of CPUs locally rather than relying on the board code to have set the field correctly. (At least one board, xlnx-versal-virt, does not set the field despite having more than one CPU.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Niek Linnenbank <nieklinnenbank@gmail.com> Tested-by: Cédric Le Goater <clg@kaod.org> Tested-by: Niek Linnenbank <nieklinnenbank@gmail.com> Message-id: 20220127154639.2090164-16-peter.maydell@linaro.org |
||
---|---|---|
.. | ||
allwinner-a10.h | ||
allwinner-h3.h | ||
armsse-version.h | ||
armsse.h | ||
armv7m.h | ||
aspeed_soc.h | ||
aspeed.h | ||
bcm2835_peripherals.h | ||
bcm2836.h | ||
boot.h | ||
digic.h | ||
exynos4210.h | ||
fdt.h | ||
fsl-imx6.h | ||
fsl-imx6ul.h | ||
fsl-imx7.h | ||
fsl-imx25.h | ||
fsl-imx31.h | ||
linux-boot-if.h | ||
msf2-soc.h | ||
npcm7xx.h | ||
nrf51_soc.h | ||
nrf51.h | ||
omap.h | ||
primecell.h | ||
pxa.h | ||
raspi_platform.h | ||
sharpsl.h | ||
smmu-common.h | ||
smmuv3.h | ||
soc_dma.h | ||
stm32f100_soc.h | ||
stm32f205_soc.h | ||
stm32f405_soc.h | ||
sysbus-fdt.h | ||
virt.h | ||
xlnx-versal.h | ||
xlnx-zynqmp.h |