summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2013-09-29 21:59:34 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-10-02 10:24:05 +0200
commit4581ea746f02cf50d61979f2bb0588c2d8832e66 (patch)
tree68ea7fee6e8a15f984dbca81399419e16c13fe07
parentc7aa6cc731dba8c4e2e9cfc801a3c4f3b257c382 (diff)
downloadbarebox-4581ea746f02cf50d61979f2bb0588c2d8832e66.tar.gz
barebox-4581ea746f02cf50d61979f2bb0588c2d8832e66.tar.xz
tegra: don't force to choose between Tegra arches
There is nothing technically preventing a single Tegra 20/30 image to be built. Don't force this split in Kconfig. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/mach-tegra/Kconfig19
1 files changed, 6 insertions, 13 deletions
diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig
index 4164f56bb1..90c0c0fe6f 100644
--- a/arch/arm/mach-tegra/Kconfig
+++ b/arch/arm/mach-tegra/Kconfig
@@ -5,15 +5,6 @@ config ARCH_TEXT_BASE
default 0x0
choice
- prompt "Tegra processor type"
-
-config ARCH_TEGRA_2x_SOC
- bool "Tegra 20"
- select PINCTRL_TEGRA20
-
-endchoice
-
-choice
prompt "Tegra debug UART"
help
This is the first serial console that gets activated by barebox.
@@ -48,18 +39,22 @@ endchoice
# ---------------------------------------------------------
-if ARCH_TEGRA_2x_SOC
+config ARCH_TEGRA_2x_SOC
+ bool
+ select PINCTRL_TEGRA20
choice
- prompt "Tegra 20 Board Type"
+ prompt "select Tegra Board"
config MACH_TEGRA20_GENERIC
bool "Generic DT based board"
+ select ARCH_TEGRA_2x_SOC
help
Say Y here if you are building for a generic DT based board.
config MACH_TOSHIBA_AC100
bool "Toshiba AC100"
+ select ARCH_TEGRA_2x_SOC
help
Say Y here if you are using Toshiba AC100 smartbook.
@@ -71,8 +66,6 @@ endif #MACH_TEGRA20_GENERIC
source arch/arm/boards/toshiba-ac100/Kconfig
-endif #ARCH_TEGRA_2x_SOC
-
# ---------------------------------------------------------
endif