qemu-e2k/include/hw/arm
Peter Maydell a90a862b9e hw/arm: Correctly disable FPU/DSP for some ARMSSE-based boards
The SSE-200 hardware has configurable integration settings which
determine whether its two CPUs have the FPU and DSP:
 * CPU0_FPU (default 0)
 * CPU0_DSP (default 0)
 * CPU1_FPU (default 1)
 * CPU1_DSP (default 1)

Similarly, the IoTKit has settings for its single CPU:
 * CPU0_FPU (default 1)
 * CPU0_DSP (default 1)

Of our four boards that use either the IoTKit or the SSE-200:
 * mps2-an505, mps2-an521 and musca-a use the default settings
 * musca-b1 enables FPU and DSP on both CPUs

Currently QEMU models all these boards using CPUs with
both FPU and DSP enabled. This means that we are incorrect
for mps2-an521 and musca-a, which should not have FPU or DSP
on CPU0.

Create QOM properties on the ARMSSE devices corresponding to the
default h/w integration settings, and make the Musca-B1 board
enable FPU and DSP on both CPUs. This fixes the mps2-an521
and musca-a behaviour, and leaves the musca-b1 and mps2-an505
behaviour unchanged.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20190517174046.11146-5-peter.maydell@linaro.org
2019-06-17 15:12:25 +01:00
..
allwinner-a10.h Normalize position of header guard 2019-06-12 13:20:20 +02:00
armsse.h hw/arm: Correctly disable FPU/DSP for some ARMSSE-based boards 2019-06-17 15:12:25 +01:00
armv7m.h hw/arm/armv7m: Forward "vfp" and "dsp" properties to CPU 2019-06-17 15:12:25 +01:00
aspeed_soc.h
aspeed.h
bcm2835_peripherals.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
bcm2836.h
boot.h
digic.h
exynos4210.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
fdt.h
fsl-imx6.h
fsl-imx6ul.h
fsl-imx7.h
fsl-imx25.h
fsl-imx31.h
linux-boot-if.h
msf2-soc.h
nrf51_soc.h
nrf51.h
omap.h Normalize position of header guard 2019-06-12 13:20:20 +02:00
primecell.h
pxa.h
raspi_platform.h Supply missing header guards 2019-06-12 13:20:21 +02:00
sharpsl.h
smmu-common.h
smmuv3.h
soc_dma.h
stm32f205_soc.h
sysbus-fdt.h
virt.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
xlnx-versal.h
xlnx-zynqmp.h Normalize position of header guard 2019-06-12 13:20:20 +02:00