risc-v/kconfig: move ARCH_HAVE_MMU into mmu type define
Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
parent
52e99bc66b
commit
ce201bba61
1 changed files with 2 additions and 6 deletions
|
@ -141,7 +141,6 @@ config ARCH_CHIP_MPFS
|
||||||
select ARCH_HAVE_FPU
|
select ARCH_HAVE_FPU
|
||||||
select ARCH_HAVE_DPFPU
|
select ARCH_HAVE_DPFPU
|
||||||
select ARCH_HAVE_MPU
|
select ARCH_HAVE_MPU
|
||||||
select ARCH_HAVE_MMU
|
|
||||||
select ARCH_MMU_TYPE_SV39
|
select ARCH_MMU_TYPE_SV39
|
||||||
select ARCH_HAVE_ADDRENV
|
select ARCH_HAVE_ADDRENV
|
||||||
select ARCH_NEED_ADDRENV_MAPPING
|
select ARCH_NEED_ADDRENV_MAPPING
|
||||||
|
@ -168,7 +167,6 @@ config ARCH_CHIP_QEMU_RV
|
||||||
select ARCH_HAVE_DPFPU
|
select ARCH_HAVE_DPFPU
|
||||||
select ARCH_HAVE_MULTICPU
|
select ARCH_HAVE_MULTICPU
|
||||||
select ARCH_HAVE_MPU
|
select ARCH_HAVE_MPU
|
||||||
select ARCH_HAVE_MMU
|
|
||||||
select ARCH_MMU_TYPE_SV39 if ARCH_CHIP_QEMU_RV64
|
select ARCH_MMU_TYPE_SV39 if ARCH_CHIP_QEMU_RV64
|
||||||
select ARCH_MMU_TYPE_SV32 if ARCH_CHIP_QEMU_RV32
|
select ARCH_MMU_TYPE_SV32 if ARCH_CHIP_QEMU_RV32
|
||||||
select ARCH_HAVE_ADDRENV
|
select ARCH_HAVE_ADDRENV
|
||||||
|
@ -201,7 +199,6 @@ config ARCH_CHIP_JH7110
|
||||||
select ARCH_HAVE_DPFPU
|
select ARCH_HAVE_DPFPU
|
||||||
select ARCH_HAVE_MULTICPU
|
select ARCH_HAVE_MULTICPU
|
||||||
select ARCH_HAVE_MPU
|
select ARCH_HAVE_MPU
|
||||||
select ARCH_HAVE_MMU
|
|
||||||
select ARCH_MMU_TYPE_SV39
|
select ARCH_MMU_TYPE_SV39
|
||||||
select ARCH_HAVE_ADDRENV
|
select ARCH_HAVE_ADDRENV
|
||||||
select ARCH_NEED_ADDRENV_MAPPING
|
select ARCH_NEED_ADDRENV_MAPPING
|
||||||
|
@ -221,7 +218,6 @@ config ARCH_CHIP_BL808
|
||||||
select ARCH_HAVE_DPFPU
|
select ARCH_HAVE_DPFPU
|
||||||
select ARCH_HAVE_MULTICPU
|
select ARCH_HAVE_MULTICPU
|
||||||
select ARCH_HAVE_MPU
|
select ARCH_HAVE_MPU
|
||||||
select ARCH_HAVE_MMU
|
|
||||||
select ARCH_MMU_TYPE_SV39
|
select ARCH_MMU_TYPE_SV39
|
||||||
select ARCH_HAVE_ADDRENV
|
select ARCH_HAVE_ADDRENV
|
||||||
select ARCH_NEED_ADDRENV_MAPPING
|
select ARCH_NEED_ADDRENV_MAPPING
|
||||||
|
@ -241,7 +237,6 @@ config ARCH_CHIP_K230
|
||||||
select ARCH_HAVE_DPFPU
|
select ARCH_HAVE_DPFPU
|
||||||
select ARCH_HAVE_MISALIGN_EXCEPTION
|
select ARCH_HAVE_MISALIGN_EXCEPTION
|
||||||
select ARCH_HAVE_MPU
|
select ARCH_HAVE_MPU
|
||||||
select ARCH_HAVE_MMU
|
|
||||||
select ARCH_MMU_TYPE_SV39
|
select ARCH_MMU_TYPE_SV39
|
||||||
select ARCH_HAVE_ADDRENV
|
select ARCH_HAVE_ADDRENV
|
||||||
select ARCH_NEED_ADDRENV_MAPPING
|
select ARCH_NEED_ADDRENV_MAPPING
|
||||||
|
@ -352,10 +347,12 @@ endif
|
||||||
config ARCH_MMU_TYPE_SV39
|
config ARCH_MMU_TYPE_SV39
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
select ARCH_HAVE_MMU
|
||||||
|
|
||||||
config ARCH_MMU_TYPE_SV32
|
config ARCH_MMU_TYPE_SV32
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
select ARCH_HAVE_MMU
|
||||||
|
|
||||||
config ARCH_HAVE_S_MODE
|
config ARCH_HAVE_S_MODE
|
||||||
bool
|
bool
|
||||||
|
@ -443,7 +440,6 @@ config LITEX_CORE_VEXRISCV
|
||||||
config LITEX_CORE_VEXRISCV_SMP
|
config LITEX_CORE_VEXRISCV_SMP
|
||||||
bool "vexriscv_smp core"
|
bool "vexriscv_smp core"
|
||||||
select ARCH_HAVE_MPU
|
select ARCH_HAVE_MPU
|
||||||
select ARCH_HAVE_MMU
|
|
||||||
select ARCH_RV_ISA_C
|
select ARCH_RV_ISA_C
|
||||||
select ARCH_MMU_TYPE_SV32
|
select ARCH_MMU_TYPE_SV32
|
||||||
select ARCH_HAVE_ADDRENV
|
select ARCH_HAVE_ADDRENV
|
||||||
|
|
Loading…
Reference in a new issue