ARMv8: add optional Linux kernel image header
authorStephen Warren <swarren@nvidia.com>
Wed, 3 Jan 2018 21:31:51 +0000 (14:31 -0700)
committerTom Warren <twarren@nvidia.com>
Fri, 12 Jan 2018 16:52:11 +0000 (09:52 -0700)
commit8163faf952c467b01758b8a9a0dc8538e487aa9a
tree2964e95d8dccd8367b2115876e7e481a32c2f0ff
parentf097532d279dd7a6ab2d579425d1318051ac1f8d
ARMv8: add optional Linux kernel image header

Allow placing a Linux kernel image header at the start of the U-Boot
binary. This is useful since the image header reports the amount of memory
(BSS and similar) that U-Boot needs to use, but that isn't part of the
binary size. This can be used by the code that loads U-Boot into memory to
determine where to load U-Boot, based on other users of memory.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/Kconfig
arch/arm/cpu/armv8/linux-kernel-image-header-vars.h [new file with mode: 0644]
arch/arm/cpu/armv8/start.S
arch/arm/cpu/armv8/u-boot.lds
arch/arm/include/asm/boot0-linux-kernel-header.h [new file with mode: 0644]