diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2022-05-02 17:40:34 +0200 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2022-09-20 09:50:30 +0200 |
commit | f55793403c53ffaaaca43948498ed2b8896d9615 (patch) | |
tree | d5a577bbebae42c58531ee4a163673150c36b9ab /arch/riscv/boot/Makefile | |
parent | efi/libstub: implement generic EFI zboot (diff) | |
download | linux-f55793403c53ffaaaca43948498ed2b8896d9615.tar.xz linux-f55793403c53ffaaaca43948498ed2b8896d9615.zip |
riscv: efi: enable generic EFI compressed boot
Wire up the generic EFI zboot support for RISC-V.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Tested-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to 'arch/riscv/boot/Makefile')
-rw-r--r-- | arch/riscv/boot/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/riscv/boot/Makefile b/arch/riscv/boot/Makefile index becd0621071c..d1a49adcb1d7 100644 --- a/arch/riscv/boot/Makefile +++ b/arch/riscv/boot/Makefile @@ -58,3 +58,9 @@ $(obj)/Image.lzo: $(obj)/Image FORCE $(obj)/loader.bin: $(obj)/loader FORCE $(call if_changed,objcopy) + +EFI_ZBOOT_PAYLOAD := Image +EFI_ZBOOT_BFD_TARGET := elf$(BITS)-littleriscv +EFI_ZBOOT_MACH_TYPE := RISCV$(BITS) + +include $(srctree)/drivers/firmware/efi/libstub/Makefile.zboot |