summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2013-04-12 12:28:16 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-04-14 10:44:51 +0200
commit9bd3bdf7b9a6732d7790ac39e822984cfb002793 (patch)
treee731d64ba87bb638e39d0523ba6def75ef3e08dd /arch
parent8ea0c6e1f15109089330ff8564fe44780519f70a (diff)
downloadbarebox-9bd3bdf7b9a6732d7790ac39e822984cfb002793.tar.gz
barebox-9bd3bdf7b9a6732d7790ac39e822984cfb002793.tar.xz
tegra: introduce Tegra 20 SoC type
Tegra isn't a single architecture, but a collection of more or less similar chip families. Introduce the same conf define as used in the Linux kernel to differentiate between those families. Currently we are only supporting the Tegra20 chip type. Signed-off-by: Lucas Stach <dev@lynxeye.de> Tested-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-tegra/Kconfig18
1 files changed, 17 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig
index eda786bafb..f91267fa0c 100644
--- a/arch/arm/mach-tegra/Kconfig
+++ b/arch/arm/mach-tegra/Kconfig
@@ -1,11 +1,23 @@
if ARCH_TEGRA
+choice
+ prompt "Tegra processor type"
+
+config ARCH_TEGRA_2x_SOC
+ bool "Tegra 20"
+
+endchoice
+
+# ---------------------------------------------------------
+
+if ARCH_TEGRA_2x_SOC
+
config ARCH_TEXT_BASE
hex
default 0x31fc0000
choice
- prompt "Tegra Board Type"
+ prompt "Tegra 20 Board Type"
config MACH_TOSHIBA_AC100
bool "Toshiba AC100"
@@ -16,4 +28,8 @@ endchoice
source arch/arm/boards/toshiba-ac100/Kconfig
+endif #ARCH_TEGRA_2x_SOC
+
+# ---------------------------------------------------------
+
endif