]> git.ipfire.org Git - thirdparty/u-boot.git/commit
bootm: Move arm64-image processing later
authorSimon Glass <sjg@chromium.org>
Sun, 19 Nov 2023 14:43:33 +0000 (07:43 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 15 Dec 2023 14:41:38 +0000 (09:41 -0500)
commitbb07cdb19194bd141f7c3c631eddd4bfaf651e4d
tree479a1f62e862fc221194620f2da07c829b5be8db
parent30ad6366c0eef6dd7d8753e2d58d0bb5fe944a3a
bootm: Move arm64-image processing later

If the image is compressed, then the existing check fails, since the
header is wrong.

Move the check later in the boot process, after the kernel is
decompressed. This allows use of bootm with compressed kernels, while
still permitting an uncompressed kernel to be used.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
boot/bootm.c