aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/Makefile
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2022-05-02 01:10:03 +0200
committerArd Biesheuvel <ardb@kernel.org>2022-09-20 12:01:27 +0200
commitc37b830fef1396f9f2ad79a65700e152ec362543 (patch)
tree094885f7768a973c0d83768b1b156b6cf207c649 /arch/arm64/boot/Makefile
parentloongarch: efi: enable generic EFI compressed boot (diff)
downloadlinux-dev-c37b830fef1396f9f2ad79a65700e152ec362543.tar.xz
linux-dev-c37b830fef1396f9f2ad79a65700e152ec362543.zip
arm64: efi: enable generic EFI compressed boot
Wire up the generic EFI zboot support for arm64. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Tested-by: Jeremy Linton <jeremy.linton@arm.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to '')
-rw-r--r--arch/arm64/boot/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm64/boot/Makefile b/arch/arm64/boot/Makefile
index a0e3dedd2883..c65aee088410 100644
--- a/arch/arm64/boot/Makefile
+++ b/arch/arm64/boot/Makefile
@@ -38,3 +38,9 @@ $(obj)/Image.lzo: $(obj)/Image FORCE
$(obj)/Image.zst: $(obj)/Image FORCE
$(call if_changed,zstd)
+
+EFI_ZBOOT_PAYLOAD := Image
+EFI_ZBOOT_BFD_TARGET := elf64-littleaarch64
+EFI_ZBOOT_MACH_TYPE := ARM64
+
+include $(srctree)/drivers/firmware/efi/libstub/Makefile.zboot