riscv: Kconfig: Allow RV32 to build with no MMU
authorYimin Gu <ustcymgu@gmail.com>
Wed, 1 Mar 2023 00:26:56 +0000 (19:26 -0500)
committerPalmer Dabbelt <palmer@rivosinc.com>
Mon, 27 Mar 2023 23:27:46 +0000 (16:27 -0700)
commitb5e2c507b06c9d36411845149162a804ae7b04a9
tree44dde3f5b5fad9bfb80af48e86395ffb40958ed6
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6
riscv: Kconfig: Allow RV32 to build with no MMU

Some RISC-V 32bit cores do not have an MMU, and the kernel should be
able to build for them. This patch enables the RV32 to be built with
no MMU support.

Signed-off-by: Yimin Gu <ustcymgu@gmail.com>
CC: Jesse Taube <Mr.Bossman075@gmail.com>
Tested-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230301002657.352637-3-Mr.Bossman075@gmail.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Kconfig