Am 24.09.2013 02:01, schrieb Peter Maydell:
Make -kernel optional for all ARM boards, by allowing
arm_load_kernel() to return without doing anything if no
kernel filename was provided. In this case we will start
execution at address zero (as the hardware does). This
allows the user to provide a flash image or similar on
some boards; in particular it's possible to run a UEFI
image on the versatile express boards.
The second patch tidies up a few boards which had already
effectively provided this flexibility at the board level.
Peter Maydell (2):
hw/arm/boot: Make user not specifying a kernel not an error
hw/arm: Tidy up conditional calls to arm_load_kernel
Thanks, applied to qom-next:
https://github.com/afaerber/qemu-cpu/commits/qom-next
Andreas
hw/arm/boot.c | 6 --
hw/arm/omap_sx1.c | 10 --
hw/arm/palm.c | 10 --
hw/arm/z2.c | 12 +---
4 files changed, 17 insertions(+), 21 deletions(-)
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg