qemu-patch-raspberry4/hw/arm
Stephen Warren f0afa73164 bcm2835_property: implement "get board revision" query
Return a valid value from the BCM2835 property mailbox query "get board
revision". This query is used by U-Boot. Implementing it fixes the first
obvious difference between qemu and real HW.

The value returned is currently hard-coded to match the RPi2 I own. Other
values are legal, e.g. different board manufacturer field values are
likely to exist in the wild.

Cc: Andrew Baumann <Andrew.Baumann@microsoft.com>
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Reviewed-by: Andrew Baumann <Andrew.Baumann@microsoft.com>
Message-id: 1454993910-24077-1-git-send-email-swarren@wwwdotorg.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2016-02-11 11:17:32 +00:00
..
allwinner-a10.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
armv7m.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
bcm2835_peripherals.c bcm2835_property: implement "get board revision" query 2016-02-11 11:17:32 +00:00
bcm2836.c bcm2835_property: implement "get board revision" query 2016-02-11 11:17:32 +00:00
boot.c arm/boot: move highbank secure board setup code to common routine 2016-02-03 15:00:46 +00:00
collie.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
cubieboard.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
digic.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
digic_boards.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
exynos4_boards.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
exynos4210.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
fsl-imx25.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
fsl-imx31.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
gumstix.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
highbank.c arm/boot: move highbank secure board setup code to common routine 2016-02-03 15:00:46 +00:00
imx25_pdk.c Use error_fatal to simplify obvious fatal errors (again) 2016-02-08 17:22:00 +01:00
integratorcp.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
kzm.c Use error_fatal to simplify obvious fatal errors (again) 2016-02-08 17:22:00 +01:00
mainstone.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
Makefile.objs raspi: add raspberry pi 2 machine 2016-02-03 15:00:47 +00:00
musicpal.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
netduino2.c Use error_fatal to simplify obvious fatal errors (again) 2016-02-08 17:22:00 +01:00
nseries.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
omap1.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
omap2.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
omap_sx1.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
palm.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
pxa2xx.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
pxa2xx_gpio.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
pxa2xx_pic.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
raspi.c bcm2835_property: implement "get board revision" query 2016-02-11 11:17:32 +00:00
realview.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
spitz.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
stellaris.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
stm32f205_soc.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
strongarm.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
strongarm.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
sysbus-fdt.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
tosa.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
versatilepb.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
vexpress.c hw/arm: Clean up includes 2016-01-18 16:33:32 +00:00
virt-acpi-build.c pc and misc cleanups and fixes, virtio optimizations 2016-02-08 11:25:31 +00:00
virt.c hw/arm/virt: fix max-cpus check 2016-02-11 11:17:32 +00:00
xilinx_zynq.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00
xlnx-ep108.c Use error_fatal to simplify obvious fatal errors (again) 2016-02-08 17:22:00 +01:00
xlnx-zynqmp.c xlnx-zynqmp: Connect the SPI devices 2016-01-21 14:15:03 +00:00
z2.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00