efi_loader: Enable RISCV_EFI_BOOT_PROTOCOL support
authorSunil V L <sunilvl@ventanamicro.com>
Fri, 28 Jan 2022 15:18:44 +0000 (20:48 +0530)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 29 Jan 2022 09:23:40 +0000 (10:23 +0100)
commit1ccf87165e38cb32f2444d8fd4b3e4d8ea13928e
tree5d71747769a48b09f22cf17fa21d4fdd4c1c640b
parent9e63786e2b4b35587da2050c180111e9bd1e3a23
efi_loader: Enable RISCV_EFI_BOOT_PROTOCOL support

This adds support for new RISCV_EFI_BOOT_PROTOCOL to
communicate the boot hart ID to bootloader/kernel on RISC-V
UEFI platforms.

The specification of the protocol is hosted at:
https://github.com/riscv-non-isa/riscv-uefi

Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
include/efi_api.h
include/efi_loader.h
include/efi_riscv.h [new file with mode: 0644]
lib/efi_loader/Kconfig
lib/efi_loader/Makefile
lib/efi_loader/efi_riscv.c [new file with mode: 0644]
lib/efi_loader/efi_setup.c