efi: libstub: Factor out min alignment and preferred kernel load address
authorArd Biesheuvel <ardb@kernel.org>
Wed, 12 Oct 2022 12:57:32 +0000 (14:57 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Wed, 9 Nov 2022 11:42:03 +0000 (12:42 +0100)
commit895bc3a135ffe9475de04b30e274f57a176cd3ef
tree095e1bef70d74e863ba6bd043e4f3dc60e701d19
parent1f1ba325a23df6739b6b5e52f40ec1aa228108b2
efi: libstub: Factor out min alignment and preferred kernel load address

Factor out the expressions that describe the preferred placement of the
loaded image as well as the minimum alignment so we can reuse them in
the decompressor.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/arm64/include/asm/efi.h
arch/loongarch/include/asm/efi.h
arch/riscv/include/asm/efi.h
drivers/firmware/efi/libstub/arm64-stub.c
drivers/firmware/efi/libstub/loongarch-stub.c
drivers/firmware/efi/libstub/riscv-stub.c