aboutsummaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/lowrisc/lowrisc/Kconfig12
-rw-r--r--src/soc/sifive/fu540/Kconfig12
-rw-r--r--src/soc/ucb/riscv/Kconfig12
3 files changed, 36 insertions, 0 deletions
diff --git a/src/soc/lowrisc/lowrisc/Kconfig b/src/soc/lowrisc/lowrisc/Kconfig
index 528e7444f7..71078b5c25 100644
--- a/src/soc/lowrisc/lowrisc/Kconfig
+++ b/src/soc/lowrisc/lowrisc/Kconfig
@@ -11,4 +11,16 @@ config SOC_LOWRISC_LOWRISC
if SOC_LOWRISC_LOWRISC
+config RISCV_ARCH
+ string
+ default "rv64imafd"
+
+config RISCV_ABI
+ string
+ default "lp64d"
+
+config RISCV_CODEMODEL
+ string
+ default "medany"
+
endif
diff --git a/src/soc/sifive/fu540/Kconfig b/src/soc/sifive/fu540/Kconfig
index d247c280b5..c438a10162 100644
--- a/src/soc/sifive/fu540/Kconfig
+++ b/src/soc/sifive/fu540/Kconfig
@@ -23,4 +23,16 @@ config SOC_SIFIVE_FU540
if SOC_SIFIVE_FU540
+config RISCV_ARCH
+ string
+ default "rv64imac"
+
+config RISCV_ABI
+ string
+ default "lp64"
+
+config RISCV_CODEMODEL
+ string
+ default "medany"
+
endif
diff --git a/src/soc/ucb/riscv/Kconfig b/src/soc/ucb/riscv/Kconfig
index ff50f6f835..2a73f5c284 100644
--- a/src/soc/ucb/riscv/Kconfig
+++ b/src/soc/ucb/riscv/Kconfig
@@ -10,4 +10,16 @@ config SOC_UCB_RISCV
if SOC_UCB_RISCV
+config RISCV_ARCH
+ string
+ default "rv64imafd"
+
+config RISCV_ABI
+ string
+ default "lp64d"
+
+config RISCV_CODEMODEL
+ string
+ default "medany"
+
endif