]> Git Repo - linux.git/commit - arch/riscv/Kconfig
RISC-V: Add EFI stub support.
authorAtish Patra <[email protected]>
Thu, 17 Sep 2020 22:37:14 +0000 (15:37 -0700)
committerPalmer Dabbelt <[email protected]>
Fri, 2 Oct 2020 21:31:21 +0000 (14:31 -0700)
commitd7071743db31b4f6898b1c742e4b451bb4bc4b02
treea1200c6aee002dd0b0658316660cc2ac0b1a6c3b
parentcb7d2dd5612a77a2597c00fce770a52c921e2ea5
RISC-V: Add EFI stub support.

Add a RISC-V architecture specific stub code that actually copies the
actual kernel image to a valid address and jump to it after boot services
are terminated. Enable UEFI related kernel configs as well for RISC-V.

Signed-off-by: Atish Patra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ardb: - move hartid fetch into check_platform_features()
       - use image_size not reserve_size
       - select ISA_C
       - do not use dram_base]
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
arch/riscv/Kconfig
arch/riscv/Makefile
arch/riscv/configs/defconfig
arch/riscv/include/asm/efi.h [new file with mode: 0644]
drivers/firmware/efi/Kconfig
drivers/firmware/efi/libstub/Makefile
drivers/firmware/efi/libstub/riscv-stub.c [new file with mode: 0644]
This page took 0.056675 seconds and 4 git commands to generate.