ron minnich has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/81088?usp=email )
Change subject: Add a new config variable, RISCV_PRIV_VERSION ......................................................................
Add a new config variable, RISCV_PRIV_VERSION
There seems to be no guaranteed way to test this in hardware, so its best to know it at compile time. It should be set in the SoC Kconfig.
Change-Id: Ife8d2b70f115c4193b9a8434ebe05893c20224b6 Signed-off-by: Ronald G Minnich rminnich@gmail.com --- M src/arch/riscv/Kconfig 1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/88/81088/1
diff --git a/src/arch/riscv/Kconfig b/src/arch/riscv/Kconfig index 971dda3..421f3c7 100644 --- a/src/arch/riscv/Kconfig +++ b/src/arch/riscv/Kconfig @@ -110,4 +110,9 @@ config RISCV_WORKING_HARTID int
+# Privilege version. There is no default that will work across all +# SoC, so NEVER set a default version here. +config RISCV_PRIV_VERSION + int + endif # if ARCH_RISCV