summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/Configs/Config.arc23
-rw-r--r--extra/Configs/Config.in8
2 files changed, 31 insertions, 0 deletions
diff --git a/extra/Configs/Config.arc b/extra/Configs/Config.arc
new file mode 100644
index 000000000..40ff114cf
--- /dev/null
+++ b/extra/Configs/Config.arc
@@ -0,0 +1,23 @@
+#
+# For a description of the syntax of this configuration file,
+# see extra/config/Kconfig-language.txt
+#
+config TARGET_ARCH
+ default "arc"
+
+config FORCE_OPTIONS_FOR_ARCH
+ bool
+ default y
+ select ARCH_ANY_ENDIAN
+
+choice
+ prompt "Target Processor Type"
+ default CONFIG_ARC_CPU_700
+
+config CONFIG_ARC_CPU_700
+ bool "ARC700"
+ select ARCH_HAS_MMU
+ help
+ ARCompact ISA based ARC CPU
+
+endchoice
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index fced1df2d..778900269 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -16,6 +16,7 @@ config VERSION
choice
prompt "Target Architecture"
default TARGET_alpha if DESIRED_TARGET_ARCH = "alpha"
+ default TARGET_arc if DESIRED_TARGET_ARCH = "arc"
default TARGET_arm if DESIRED_TARGET_ARCH = "arm"
default TARGET_avr32 if DESIRED_TARGET_ARCH = "avr32"
default TARGET_bfin if DESIRED_TARGET_ARCH = "bfin"
@@ -47,6 +48,9 @@ choice
config TARGET_alpha
bool "alpha"
+config TARGET_arc
+ bool "arc"
+
config TARGET_arm
bool "arm"
@@ -238,6 +242,10 @@ if TARGET_c6x
source "extra/Configs/Config.c6x"
endif
+if TARGET_arc
+source "extra/Configs/Config.arc"
+endif
+
config TARGET_SUBARCH
string
default "e500" if CONFIG_E500