summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/Configs/Config.in8
-rw-r--r--extra/Configs/Config.riscv6415
2 files changed, 23 insertions, 0 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 74439038f..9869bcf5c 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -37,6 +37,7 @@ choice
default TARGET_nios2 if DESIRED_TARGET_ARCH = "nios2"
default TARGET_or1k if DESIRED_TARGET_ARCH = "or1k"
default TARGET_powerpc if DESIRED_TARGET_ARCH = "powerpc"
+ default TARGET_riscv64 if DESIRED_TARGET_ARCH = "riscv64"
default TARGET_sh if DESIRED_TARGET_ARCH = "sh"
default TARGET_sparc if DESIRED_TARGET_ARCH = "sparc"
default TARGET_sparc64 if DESIRED_TARGET_ARCH = "sparc64"
@@ -117,6 +118,9 @@ config TARGET_or1k
config TARGET_powerpc
bool "powerpc"
+config TARGET_riscv64
+ bool "riscv64"
+
config TARGET_sh
bool "superh"
@@ -224,6 +228,10 @@ if TARGET_powerpc
source "extra/Configs/Config.powerpc"
endif
+if TARGET_riscv64
+source "extra/Configs/Config.riscv64"
+endif
+
if TARGET_sh
source "extra/Configs/Config.sh"
endif
diff --git a/extra/Configs/Config.riscv64 b/extra/Configs/Config.riscv64
new file mode 100644
index 000000000..7d0136a2b
--- /dev/null
+++ b/extra/Configs/Config.riscv64
@@ -0,0 +1,15 @@
+#
+# For a description of the syntax of this configuration file,
+# see extra/config/Kconfig-language.txt
+#
+
+config TARGET_ARCH
+ string
+ default "riscv64"
+
+config FORCE_OPTIONS_FOR_ARCH
+ bool
+ default y
+ select ARCH_LITTLE_ENDIAN
+ select ARCH_HAS_MMU
+ select ARCH_HAS_NO_LDSO