summaryrefslogtreecommitdiff
path: root/target/Config.in.arch
diff options
context:
space:
mode:
authorMaxim Grigoriev <maxim2405@gmail.com>2009-07-24 02:17:22 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-07-24 02:17:22 +0200
commit5ddb904a8620bceddd4df1c05c7342e10592c0c3 (patch)
tree0e01403aa2e63e0f36922cd10bda0cb31f4f6952 /target/Config.in.arch
parentcd0b1ce3b7934c631477ad3262316199b73cce89 (diff)
target/; xtensa support
Part of #163. Signed-off-by: Maxim Grigoriev <maxim2405@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'target/Config.in.arch')
-rw-r--r--target/Config.in.arch35
1 files changed, 35 insertions, 0 deletions
diff --git a/target/Config.in.arch b/target/Config.in.arch
index 611210e87..e63fc027a 100644
--- a/target/Config.in.arch
+++ b/target/Config.in.arch
@@ -43,6 +43,8 @@ config BR2_sparc64
bool "sparc64"
config BR2_x86_64
bool "x86_64"
+config BR2_xtensa
+ bool "xtensa"
endchoice
#
@@ -396,6 +398,38 @@ endchoice
choice
prompt "Target Architecture Variant"
+ depends on BR2_xtensa
+ default BR2_xtensa_dc232b
+ help
+ Specific CPU variant to use
+
+config BR2_xtensa_custom
+ bool "Custom Xtensa processor configuration"
+config BR2_xtensa_dc232a
+ bool "dc232a - Diamond 232L Standard Core Rev.A (LE)"
+config BR2_xtensa_dc232b
+ bool "dc232b - Diamond 232L Standard Core Rev.B (LE)"
+#config BR2_xtensa_s5000
+# bool "s5000 - Stretch S5000"
+endchoice
+
+config BR2_xtensa_custom_name
+ string "Custom Xtensa processor configuration name"
+ depends on BR2_xtensa_custom
+ default ""
+ help
+ Name given to a custom Xtensa processor configuration.
+ This is used to select the correct overlay.
+
+config BR2_xtensa_core_name
+ string
+ default BR2_xtensa_custom_name if BR2_xtensa_custom
+ default "dc232a" if BR2_xtensa_dc232a
+ default "dc232b" if BR2_xtensa_dc232b
+# default "s5000" if BR2_xtensa_s5000
+
+choice
+ prompt "Target Architecture Variant"
depends on BR2_powerpc
default BR2_generic_powerpc
help
@@ -496,6 +530,7 @@ config BR2_ARCH
default "x86_64" if BR2_x86_64_opteron
default "x86_64" if BR2_x86_64_opteron_sse3
default "x86_64" if BR2_x86_64_barcelona
+ default "xtensa" if BR2_xtensa
config BR2_ENDIAN