qemu/hw/arm
Markus Armbruster c165473269 hw: Clean up bogus default boot order
We set default boot order "cad" in every single machine definition
except "pseries" and "moxiesim", even though very few boards actually
care for boot order, and "cad" makes sense for even fewer.

Machines that care:

* pc and its variants

  Accept up to three letters 'a', 'b' (undocumented alias for 'a'),
  'c', 'd' and 'n'.  Reject all others (fatal with -boot).

* nseries (n800, n810)

  Check whether order starts with 'n'.  Silently ignored otherwise.

* prep, g3beige, mac99

  Extract the first character the machine understands (subset of
  'a'..'f').  Silently ignored otherwise.

* spapr

  Accept an arbitrary string (vl.c restricts it to contain only
  'a'..'p', no duplicates).

* sun4[mdc]

  Use the first character.  Silently ignored otherwise.

Strip characters these machines ignore from their default boot order.

For all other machines, remove the unused default boot order
alltogether.

Note that my rename of QEMUMachine member boot_order to
default_boot_order and QEMUMachineInitArgs member boot_device to
boot_order has a welcome side effect: it makes every use of boot
orders visible in this patch, for easy review.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2013-08-28 10:16:47 +03:00
..
armv7m.c hw/arm/armv7m: Don't use arm_pic_init_cpu() 2013-08-20 14:54:28 +01:00
boot.c hw/arm: Use 'load_ramdisk()' for loading ramdisks w/ U-Boot header 2013-07-22 12:01:37 +01:00
collie.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
exynos4_boards.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
exynos4210.c hw/arm/exynos4210: Don't use arm_pic_init_cpu() 2013-08-20 14:54:28 +01:00
gumstix.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
highbank.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
integratorcp.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
kzm.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
mainstone.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
Makefile.objs hw/arm/pic_cpu: Remove the now-unneeded arm_pic_init_cpu() 2013-08-20 14:54:31 +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 hw/arm/omap*: Don't use arm_pic_init_cpu() 2013-08-20 14:54:29 +01:00
omap2.c hw/arm/omap*: Don't use arm_pic_init_cpu() 2013-08-20 14:54:29 +01:00
omap_sx1.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
palm.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03: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
pxa2xx.c pxa2xx: Avoid object_get_link_property() assertion for "parent_bus" 2013-08-05 11:46:58 -05:00
realview.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
spitz.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
stellaris.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
strongarm.c hw/arm/strongarm: Don't use arm_pic_init_cpu() 2013-08-20 14:54:30 +01: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 hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
vexpress.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
xilinx_zynq.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
z2.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00