]> git.sur5r.net Git - u-boot/commit
bootm: Handle kernel_noload on arm64
authorMarek Vasut <marek.vasut@gmail.com>
Wed, 13 Jun 2018 04:13:33 +0000 (06:13 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 19 Jun 2018 11:31:45 +0000 (07:31 -0400)
commit487b5fa6deb1f02843dbc9a9ac792bb38ef4d52a
tree55008d42bc807f7bbe3a2e98550a831aa215e5ec
parent7f13b374fd8fa59f694a1127a79f9bfc3891ef0d
bootm: Handle kernel_noload on arm64

The ARM64 has 2 MiB alignment requirement for the kernel. When using
fitImage, this requirement may by violated, the kernel will thus be
executed from unaligned address and fail to boot. Do what booti does
and run booti_setup() for kernel_noload images on arm64 to obtain a
suitable aligned address to which the image shall be relocated.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Bin Chen <bin.chen@linaro.org>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Tom Rini <trini@konsulko.com>
common/bootm.c