summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/Configs/Config.avr3231
-rw-r--r--extra/Configs/Config.in7
-rw-r--r--extra/Configs/defconfigs/avr321
3 files changed, 39 insertions, 0 deletions
diff --git a/extra/Configs/Config.avr32 b/extra/Configs/Config.avr32
new file mode 100644
index 000000000..0706e7ff9
--- /dev/null
+++ b/extra/Configs/Config.avr32
@@ -0,0 +1,31 @@
+#
+# For a description of the syntax of this configuration file,
+# see extra/config/Kconfig-language.txt
+#
+
+config TARGET_ARCH
+ string
+ default "avr32"
+
+config FORCE_OPTIONS_FOR_ARCH
+ bool
+ default y
+ select ARCH_BIG_ENDIAN
+ select FORCE_SHAREABLE_TEXT_SEGMENTS
+
+config ARCH_CFLAGS
+ string
+
+choice
+ prompt "Target CPU Type"
+ default CONFIG_AVR32_AP7
+
+config CONFIG_AVR32_AP7
+ bool "AVR32 AP7"
+ select ARCH_HAS_MMU
+
+endchoice
+
+config LINKRELAX
+ bool "Enable linker optimizations"
+ default y
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index cc23a98ad..eb5bf15f2 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -16,6 +16,9 @@ config TARGET_alpha
config TARGET_arm
bool "arm"
+config TARGET_avr32
+ bool "avr32"
+
config TARGET_bfin
bool "bfin"
@@ -92,6 +95,10 @@ if TARGET_arm
source "extra/Configs/Config.arm"
endif
+if TARGET_avr32
+source "extra/Configs/Config.avr32"
+endif
+
if TARGET_bfin
source "extra/Configs/Config.bfin"
endif
diff --git a/extra/Configs/defconfigs/avr32 b/extra/Configs/defconfigs/avr32
new file mode 100644
index 000000000..0b890a291
--- /dev/null
+++ b/extra/Configs/defconfigs/avr32
@@ -0,0 +1 @@
+TARGET_avr32=y