summaryrefslogtreecommitdiff
path: root/extra/Configs/Config.riscv32
diff options
context:
space:
mode:
authorustcymgu@gmail.com <ustcymgu@gmail.com>2022-11-19 14:02:55 +0000
committerWaldemar Brodkorb <wbx@openadk.org>2022-11-20 08:44:03 +0100
commit0a5466d8d53bc8045ff56ff76cc1880aa85761c2 (patch)
tree5ff1df22a9a052a712318b88cc9c57ff2f963326 /extra/Configs/Config.riscv32
parent9e854172e249a383d858fef70368af63a04a28a8 (diff)
RISC-V 32-bit support
Added 32-bit RISC-V support. I have managed to get 32-bit RISC-V No-MMU Linux running based on mainstream buildroot. It's nice to have uclibc support this 32-bit No-MMU target. There's no substantial code change except definations and config options. Signed-off-by: Yimin Gu <ustcymgu@gmail.com>
Diffstat (limited to 'extra/Configs/Config.riscv32')
-rw-r--r--extra/Configs/Config.riscv3214
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/Configs/Config.riscv32 b/extra/Configs/Config.riscv32
new file mode 100644
index 000000000..304d30f70
--- /dev/null
+++ b/extra/Configs/Config.riscv32
@@ -0,0 +1,14 @@
+#
+# For a description of the syntax of this configuration file,
+# see extra/config/Kconfig-language.txt
+#
+
+config TARGET_ARCH
+ string
+ default "riscv32"
+
+config FORCE_OPTIONS_FOR_ARCH
+ bool
+ default y
+ select ARCH_LITTLE_ENDIAN
+ select ARCH_HAS_MMU