qemu-e2k/hw/microblaze
Nick Hudson f831f955d4 Support u-boot noload images for arm as used by, NetBSD/evbarm GENERIC kernel.
noload kernels are loaded with the u-boot image header and as a result
the header size needs adding to the entry point.  Fake up a hdr so the
kernel image is loaded at the right address and the entry point is
adjusted appropriately.

The default location for the uboot file is 32MiB above bottom of DRAM.
This matches the recommendation in Documentation/arm/Booting.

Clarify the load_uimage API to state the passing of a load address when an
image doesn't specify one, or when loading a ramdisk is expected.

Adjust callers of load_uimage, etc.

Signed-off-by: Nick Hudson <skrll@netbsd.org>
Message-id: 11488a08-1fe0-a278-2210-deb64731107f@gmx.co.uk
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2019-01-07 15:46:20 +00:00
..
Makefile.objs xlnx-zynqmp-pmu: Initial commit of the ZynqMP PMU 2018-01-26 11:09:09 +01:00
boot.c Support u-boot noload images for arm as used by, NetBSD/evbarm GENERIC kernel. 2019-01-07 15:46:20 +00:00
boot.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
petalogix_ml605_mmu.c hw/microblaze: Use the IEC binary prefix definitions 2018-07-02 15:41:15 +02:00
petalogix_s3adsp1800_mmu.c hw/microblaze: Use the IEC binary prefix definitions 2018-07-02 15:41:15 +02:00
xlnx-zynqmp-pmu.c hw/microblaze/xlnx-zynqmp-pmu: Fix introspection problem in 'xlnx, zynqmp-pmu-soc' 2018-07-23 15:21:25 +01:00