diff options
Diffstat (limited to 'src/arch/riscv')
-rw-r--r-- | src/arch/riscv/Kconfig | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/arch/riscv/Kconfig b/src/arch/riscv/Kconfig index 25a398068a..a4f1788497 100644 --- a/src/arch/riscv/Kconfig +++ b/src/arch/riscv/Kconfig @@ -1,6 +1,15 @@ +config ARCH_RISCV_RV64 + bool + select ARCH_RISCV + +config ARCH_RISCV_RV32 + bool + select ARCH_RISCV + config ARCH_RISCV bool - default n + +if ARCH_RISCV config RISCV_ARCH string @@ -37,16 +46,6 @@ config ARCH_RISCV_U bool default n -config ARCH_RISCV_RV64 - bool - default n - select ARCH_RISCV - -config ARCH_RISCV_RV32 - bool - default n - select ARCH_RISCV - config ARCH_RISCV_PMP bool default n @@ -74,3 +73,5 @@ config RISCV_USE_ARCH_TIMER config RISCV_WORKING_HARTID int + +endif # if ARCH_RISCV |