aboutsummaryrefslogtreecommitdiff
path: root/drivers/firmware/efi/libstub/riscv-stub.c
AgeCommit message (Collapse)AuthorFilesLines
2020-10-02RISC-V: Add EFI stub support.Atish Patra1-0/+109
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]>