mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 10:32:47 +08:00
risc-v/kconfig: move ARCH_HAVE_MMU into mmu type define
Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
+2
-6
@@ -141,7 +141,6 @@ config ARCH_CHIP_MPFS
|
||||
select ARCH_HAVE_FPU
|
||||
select ARCH_HAVE_DPFPU
|
||||
select ARCH_HAVE_MPU
|
||||
select ARCH_HAVE_MMU
|
||||
select ARCH_MMU_TYPE_SV39
|
||||
select ARCH_HAVE_ADDRENV
|
||||
select ARCH_NEED_ADDRENV_MAPPING
|
||||
@@ -168,7 +167,6 @@ config ARCH_CHIP_QEMU_RV
|
||||
select ARCH_HAVE_DPFPU
|
||||
select ARCH_HAVE_MULTICPU
|
||||
select ARCH_HAVE_MPU
|
||||
select ARCH_HAVE_MMU
|
||||
select ARCH_MMU_TYPE_SV39 if ARCH_CHIP_QEMU_RV64
|
||||
select ARCH_MMU_TYPE_SV32 if ARCH_CHIP_QEMU_RV32
|
||||
select ARCH_HAVE_ADDRENV
|
||||
@@ -201,7 +199,6 @@ config ARCH_CHIP_JH7110
|
||||
select ARCH_HAVE_DPFPU
|
||||
select ARCH_HAVE_MULTICPU
|
||||
select ARCH_HAVE_MPU
|
||||
select ARCH_HAVE_MMU
|
||||
select ARCH_MMU_TYPE_SV39
|
||||
select ARCH_HAVE_ADDRENV
|
||||
select ARCH_NEED_ADDRENV_MAPPING
|
||||
@@ -221,7 +218,6 @@ config ARCH_CHIP_BL808
|
||||
select ARCH_HAVE_DPFPU
|
||||
select ARCH_HAVE_MULTICPU
|
||||
select ARCH_HAVE_MPU
|
||||
select ARCH_HAVE_MMU
|
||||
select ARCH_MMU_TYPE_SV39
|
||||
select ARCH_HAVE_ADDRENV
|
||||
select ARCH_NEED_ADDRENV_MAPPING
|
||||
@@ -241,7 +237,6 @@ config ARCH_CHIP_K230
|
||||
select ARCH_HAVE_DPFPU
|
||||
select ARCH_HAVE_MISALIGN_EXCEPTION
|
||||
select ARCH_HAVE_MPU
|
||||
select ARCH_HAVE_MMU
|
||||
select ARCH_MMU_TYPE_SV39
|
||||
select ARCH_HAVE_ADDRENV
|
||||
select ARCH_NEED_ADDRENV_MAPPING
|
||||
@@ -352,10 +347,12 @@ endif
|
||||
config ARCH_MMU_TYPE_SV39
|
||||
bool
|
||||
default n
|
||||
select ARCH_HAVE_MMU
|
||||
|
||||
config ARCH_MMU_TYPE_SV32
|
||||
bool
|
||||
default n
|
||||
select ARCH_HAVE_MMU
|
||||
|
||||
config ARCH_HAVE_S_MODE
|
||||
bool
|
||||
@@ -443,7 +440,6 @@ config LITEX_CORE_VEXRISCV
|
||||
config LITEX_CORE_VEXRISCV_SMP
|
||||
bool "vexriscv_smp core"
|
||||
select ARCH_HAVE_MPU
|
||||
select ARCH_HAVE_MMU
|
||||
select ARCH_RV_ISA_C
|
||||
select ARCH_MMU_TYPE_SV32
|
||||
select ARCH_HAVE_ADDRENV
|
||||
|
||||
Reference in New Issue
Block a user