Skip to content
Commit 99abd60d authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

boot: Support decompressing non-kernel OS images



Sometimes the kernel is built as an EFI application rather than a
binary. We still want to support compression for this case.

For arm64 the entry point is set later in the bootm_load_os() function,
since these images are typically relocated due to the 2MB-alignment
requirement of arm64 images. But since the EFI image is not in the same
format, we need to update the entry point earlier.

Set the entry point always, for kernel_noload to resolve this problem.
It should be harmless to do this always.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 4f6dd258
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment