aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorRick Chen <rick@andestech.com>2018-05-28 19:06:37 +0800
committerAndes <uboot@andestech.com>2018-05-29 14:43:12 +0800
commit6836adbe753b241499430812ec5ef41ba61bdd83 (patch)
treebd91c1e2b9d9b4624f0f232d4f659c6da97bfcec /cmd
parent0979f7ce1eea73c80e6f858a803106660507d1e3 (diff)
downloadu-boot-6836adbe753b241499430812ec5ef41ba61bdd83.zip
u-boot-6836adbe753b241499430812ec5ef41ba61bdd83.tar.gz
u-boot-6836adbe753b241499430812ec5ef41ba61bdd83.tar.bz2
efi_loader: Enable RISC-V support
We have almost all pieces needed to support RISC-V UEFI binaries in place already. The only missing piece are ELF relocations for runtime code and data. This patch adds respective support in the linker script and the runtime relocation code. It also allows users to enable the EFI_LOADER configuration switch on RISC-V platforms. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index d532c9f..1a1ca60 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -228,7 +228,7 @@ config CMD_BOOTEFI
config CMD_BOOTEFI_HELLO_COMPILE
bool "Compile a standard EFI hello world binary for testing"
- depends on CMD_BOOTEFI && (ARM || X86)
+ depends on CMD_BOOTEFI && (ARM || X86 || RISCV)
default y
help
This compiles a standard EFI hello world application with U-Boot so