diff options
author | Palmer Dabbelt <palmer@rivosinc.com> | 2023-03-28 01:27:49 +0200 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-03-28 01:27:49 +0200 |
commit | e97be4fbc1b16f3e02ee004c12967e360cb06d52 (patch) | |
tree | 101d546fb1075940748a09687e4566e4ab78ec6b /arch/riscv/Kconfig | |
parent | Merge patch series "riscv: Add GENERIC_ENTRY support" (diff) | |
parent | riscv: configs: Add nommu PHONY defconfig for RV32 (diff) | |
download | linux-e97be4fbc1b16f3e02ee004c12967e360cb06d52.tar.xz linux-e97be4fbc1b16f3e02ee004c12967e360cb06d52.zip |
Merge patch series "Add RISC-V 32 NOMMU support"
Jesse Taube <mr.bossman075@gmail.com> says:
This patch-set aims to add NOMMU support to RV32.
Many people want to build simple emulators or HDL
models of RISC-V this patch makes it possible to
run linux on them.
Yimin Gu is the original author of this set.
Submitted here:
https://lists.buildroot.org/pipermail/buildroot/2022-November/656134.html
Though Jesse T rewrote the Dconf.
* b4-shazam-merge:
riscv: configs: Add nommu PHONY defconfig for RV32
riscv: Kconfig: Allow RV32 to build with no MMU
Link: https://lore.kernel.org/r/20230301002657.352637-1-Mr.Bossman075@gmail.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/Kconfig')
-rw-r--r-- | arch/riscv/Kconfig | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index d7252ced4ae6..d7c467670be8 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -178,8 +178,8 @@ config MMU config PAGE_OFFSET hex - default 0xC0000000 if 32BIT - default 0x80000000 if 64BIT && !MMU + default 0xC0000000 if 32BIT && MMU + default 0x80000000 if !MMU default 0xff60000000000000 if 64BIT config KASAN_SHADOW_OFFSET @@ -280,7 +280,6 @@ config ARCH_RV32I select GENERIC_LIB_ASHRDI3 select GENERIC_LIB_LSHRDI3 select GENERIC_LIB_UCMPDI2 - select MMU config ARCH_RV64I bool "RV64I" |