From 917b9eebbc6dd580e2fa5a4e2b18ea609655b19e Mon Sep 17 00:00:00 2001
From: Vineet Gupta <vgupta@synopsys.com>
Date: Fri, 13 Dec 2013 14:49:25 +0530
Subject: 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>
---
 extra/Configs/Config.arc | 23 +++++++++++++++++++++++
 extra/Configs/Config.in  |  8 ++++++++
 2 files changed, 31 insertions(+)
 create mode 100644 extra/Configs/Config.arc

(limited to 'extra')

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
-- 
cgit v1.2.3