hw/arm/boot: allow using a command line specified dtb without a kernel
commit4c8afda7d2864023047d466eddd1e8f73a6b072c
authorMichael Olbrich <m.olbrich@pengutronix.de>
Mon, 17 Oct 2016 18:22:17 +0000 (17 19:22 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 17 Oct 2016 18:22:17 +0000 (17 19:22 +0100)
treea78b5dd986e4d9a86094270ecca1469ac5abc649
parenta03cb1daf1a4e6ccce8632e13373eef8c4f9cba4
hw/arm/boot: allow using a command line specified dtb without a kernel

When kernel and device tree are specified in the QEMU commandline, then
this device tree may be modified e.g. to add virtio_mmio devices.
With a bootloader e.g. on a flash device these extra devices are not
available.
With this change, the device tree can be specified at the QEMU commandline.
The modified device tree made available to the bootloader with the same
mechanism already supported by device trees fully generated by QEMU.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Message-id: 1473520054-402-1-git-send-email-m.olbrich@pengutronix.de
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/boot.c
vl.c