summaryrefslogtreecommitdiff
path: root/src/arch/riscv/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/riscv/Kconfig')
-rw-r--r--src/arch/riscv/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/arch/riscv/Kconfig b/src/arch/riscv/Kconfig
index 2578b1250c..e4668049f5 100644
--- a/src/arch/riscv/Kconfig
+++ b/src/arch/riscv/Kconfig
@@ -66,6 +66,16 @@ config OPENSBI_TEXT_START
help
The linking address used to build opensbi.
+config OPENSBI_FW_DYNAMIC_BOOT_HART
+ int
+ default RISCV_WORKING_HARTID
+ help
+ This specifies the hart that OpenSBI will use to boot the payload. If set to
+ value -1, OpenSBI will use a 'lottery' scheme to figure it out itself.
+ This hart must be able to execute in the Supervisor priviledged mode, since
+ that is the mode usually used for the payload. If the hart does not support
+ Supervisor mode OpenSBI will again look for a hart that does support it.
+
config ARCH_RISCV_U
# U (user) mode is for programs.
bool