summaryrefslogtreecommitdiff
path: root/payloads/Kconfig
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2018-12-12 01:08:24 +0100
committerPatrick Rudolph <siro@das-labor.org>2019-08-08 13:03:59 +0000
commit3a4511eb6cb395b86f425bd6a8474ab35c554531 (patch)
treeee1f8a37cb9e516cc28629cd0f2279842f9d6f6d /payloads/Kconfig
parent2a20d13c3935f826a71c635d07dd142bfd84d9dd (diff)
downloadcoreboot-3a4511eb6cb395b86f425bd6a8474ab35c554531.tar.xz
arch/riscv: Enable FIT support
Tested on qemu-riscv. Depends on OpenSBI integration and proper memory detection in qemu. Boots into Linux until initrd should be loaded. Tested on SiFive/unleashed: Boots into Linux until earlycon terminates. Change-Id: I5ebc6cc2cc9e328f36d70fba13555386bb8c29d6 Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/30292 Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads/Kconfig')
-rw-r--r--payloads/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/payloads/Kconfig b/payloads/Kconfig
index d0f8a44080..46cfaf5ad0 100644
--- a/payloads/Kconfig
+++ b/payloads/Kconfig
@@ -30,7 +30,7 @@ config PAYLOAD_ELF
config PAYLOAD_FIT
bool "A FIT payload"
- depends on ARCH_ARM64
+ depends on ARCH_ARM64 || ARCH_RISCV
select PAYLOAD_FIT_SUPPORT
help
Select this option if you have a payload image (a FIT file) which
@@ -99,8 +99,8 @@ config PAYLOAD_IS_FLAT_BINARY
config PAYLOAD_FIT_SUPPORT
bool "FIT support"
default n
- default y if PAYLOAD_LINUX && (ARCH_ARM || ARCH_ARM64)
- depends on ARCH_ARM64
+ default y if PAYLOAD_LINUX && (ARCH_ARM || ARCH_ARM64 || ARCH_RISCV)
+ depends on ARCH_ARM64 || ARCH_RISCV
select FLATTENED_DEVICE_TREE
help
Select this option if your payload is of type FIT.