hw/arm/boot: load device tree to base of DRAM if no -kernel option was passed
commit69e7f76f6a1ed8fe13602c8b5f51cdb6ce3a3981
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 12 Sep 2014 13:06:50 +0000 (12 14:06 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 12 Sep 2014 13:06:50 +0000 (12 14:06 +0100)
tree95b2d43d1a12e532dfcc45f7aa75348276d5146a
parentfee8ea12eba366db5ef8f72478cb746bda375d6f
hw/arm/boot: load device tree to base of DRAM if no -kernel option was passed

If we are running the 'virt' machine, we may have a device tree blob but no
kernel to supply it to if no -kernel option was passed. In that case, copy it
to the base of RAM where it can be picked up by a bootloader.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Message-id: 1410453915-9344-4-git-send-email-ard.biesheuvel@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/boot.c