summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-12-13 14:49:25 +0530
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-12-20 14:38:23 +0100
commit917b9eebbc6dd580e2fa5a4e2b18ea609655b19e (patch)
treec1b6c5c73db18a0daaca8327d28a0d5babd0f5cc /extra
parent1ce639990b6340a8b9f18d076c427fcf5a93695e (diff)
ARC port to uClibc
For this port, I would like to give due credit to: - Folks from Codito technologies (Sameer, Amit, Kanika, Ramana,...) who did the very first port - ARC UK from 2007-2009 (Joern, Irfan, Khurram, Phil... - Late Brendan Kehoe (may he RIP) Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
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