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>
This commit is contained in:
parent
c7aa6cc731
commit
4581ea746f
|
@ -4,15 +4,6 @@ config ARCH_TEXT_BASE
|
|||
hex
|
||||
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
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue