mirror_qemu/hw/arm
Markus Armbruster 837d37167d sysbus: Set cannot_instantiate_with_device_add_yet
device_add plugs devices into suitable bus.  For "real" buses, that
actually connects the device.  For sysbus, the connections need to be
made separately, and device_add can't do that.  The device would be
left unconnected, and could not possibly work.

Quite a few, but not all sysbus devices already set
cannot_instantiate_with_device_add_yet in their class init function.

Set it in their abstract base's class init function
sysbus_device_class_init(), and remove the now redundant assignments
from device class init functions.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel.a@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2013-12-23 00:27:22 +01:00
..
Makefile.objs hw/arm: add cubieboard support 2013-12-17 20:12:51 +00:00
allwinner-a10.c hw/arm: add allwinner a10 SoC support 2013-12-17 20:12:51 +00:00
armv7m.c armv7m: Don't enforce use of kernel for qtest 2013-11-05 17:47:29 +01:00
boot.c device_tree: s/qemu_devtree/qemu_fdt globally 2013-12-20 01:58:11 +01:00
collie.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
cubieboard.c hw/arm: add cubieboard support 2013-12-17 20:12:51 +00:00
digic.c hw/arm/digic: add UART support 2013-12-17 20:12:51 +00:00
digic_boards.c hw/arm/digic: add NOR ROM support 2013-12-17 20:12:51 +00:00
exynos4_boards.c exynos4_boards: Silence lack of -smp 2 warning for qtest 2013-11-05 17:47:29 +01:00
exynos4210.c hw/arm/exynos4210: Don't use arm_pic_init_cpu() 2013-08-20 14:54:28 +01:00
gumstix.c gumstix: Don't enforce use of -pflash for qtest 2013-11-05 17:47:28 +01:00
highbank.c arm/highbank.c: Fix MPCore periphbase name 2013-12-17 19:42:29 +00:00
integratorcp.c integrator/cp: add support for REFCNT register 2013-12-10 13:24:51 +00:00
kzm.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
mainstone.c mainstone: Don't enforce use of -pflash for qtest 2013-11-05 17:47:28 +01:00
musicpal.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
nseries.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
omap1.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
omap2.c hw/arm/omap*: Don't use arm_pic_init_cpu() 2013-08-20 14:54:29 +01:00
omap_sx1.c omap_sx1: Don't enforce use of kernel or flash for qtest 2013-11-05 17:47:29 +01:00
palm.c palm: Don't enforce loading ROM or kernel for qtest 2013-11-05 17:47:29 +01:00
pxa2xx.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
pxa2xx_gpio.c pxa2xx_gpio: QOM cast cleanup for PXA2xxGPIOInfo 2013-07-29 21:06:26 +02:00
pxa2xx_pic.c pxa2xx_pic: QOM cast cleanup for PXA2xxPICState 2013-07-29 21:06:26 +02:00
realview.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
spitz.c pc,pci,virtio fixes and cleanups 2013-09-03 12:31:07 -05:00
stellaris.c pc,pci,virtio fixes and cleanups 2013-09-03 12:31:07 -05:00
strongarm.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
strongarm.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
tosa.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
versatilepb.c sysbus: Set cannot_instantiate_with_device_add_yet 2013-12-23 00:27:22 +01:00
vexpress.c device_tree: s/qemu_devtree/qemu_fdt globally 2013-12-20 01:58:11 +01:00
virt.c device_tree: s/qemu_devtree/qemu_fdt globally 2013-12-20 01:58:11 +01:00
xilinx_zynq.c arm/xilinx_zynq: Implement CBAR initialisation 2013-12-17 19:42:29 +00:00
z2.c z2: Don't enforce use of -pflash for qtest 2013-11-05 17:47:28 +01:00