ARM: imx: Kconfig: use an if block instead of a depend for many symbols
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
This commit is contained in:
@@ -37,25 +37,32 @@ config MACH_MX27
|
|||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
comment "MX2 platforms:"
|
endif
|
||||||
|
|
||||||
|
if MACH_MX21
|
||||||
|
|
||||||
|
comment "MX21 platforms:"
|
||||||
|
|
||||||
config MACH_MX21ADS
|
config MACH_MX21ADS
|
||||||
bool "MX21ADS platform"
|
bool "MX21ADS platform"
|
||||||
depends on MACH_MX21
|
|
||||||
help
|
help
|
||||||
Include support for MX21ADS platform. This includes specific
|
Include support for MX21ADS platform. This includes specific
|
||||||
configurations for the board and its peripherals.
|
configurations for the board and its peripherals.
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
if MACH_MX27
|
||||||
|
|
||||||
|
comment "MX27 platforms:"
|
||||||
|
|
||||||
config MACH_MX27ADS
|
config MACH_MX27ADS
|
||||||
bool "MX27ADS platform"
|
bool "MX27ADS platform"
|
||||||
depends on MACH_MX27
|
|
||||||
help
|
help
|
||||||
Include support for MX27ADS platform. This includes specific
|
Include support for MX27ADS platform. This includes specific
|
||||||
configurations for the board and its peripherals.
|
configurations for the board and its peripherals.
|
||||||
|
|
||||||
config MACH_PCM038
|
config MACH_PCM038
|
||||||
bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
|
bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
|
||||||
depends on MACH_MX27
|
|
||||||
select MXC_ULPI if USB_ULPI
|
select MXC_ULPI if USB_ULPI
|
||||||
help
|
help
|
||||||
Include support for phyCORE-i.MX27 (aka pcm038) platform. This
|
Include support for phyCORE-i.MX27 (aka pcm038) platform. This
|
||||||
@@ -77,7 +84,6 @@ endchoice
|
|||||||
|
|
||||||
config MACH_CPUIMX27
|
config MACH_CPUIMX27
|
||||||
bool "Eukrea CPUIMX27 module"
|
bool "Eukrea CPUIMX27 module"
|
||||||
depends on MACH_MX27
|
|
||||||
help
|
help
|
||||||
Include support for Eukrea CPUIMX27 platform. This includes
|
Include support for Eukrea CPUIMX27 platform. This includes
|
||||||
specific configurations for the module and its peripherals.
|
specific configurations for the module and its peripherals.
|
||||||
@@ -105,21 +111,18 @@ endchoice
|
|||||||
|
|
||||||
config MACH_MX27_3DS
|
config MACH_MX27_3DS
|
||||||
bool "MX27PDK platform"
|
bool "MX27PDK platform"
|
||||||
depends on MACH_MX27
|
|
||||||
help
|
help
|
||||||
Include support for MX27PDK platform. This includes specific
|
Include support for MX27PDK platform. This includes specific
|
||||||
configurations for the board and its peripherals.
|
configurations for the board and its peripherals.
|
||||||
|
|
||||||
config MACH_IMX27LITE
|
config MACH_IMX27LITE
|
||||||
bool "LogicPD MX27 LITEKIT platform"
|
bool "LogicPD MX27 LITEKIT platform"
|
||||||
depends on MACH_MX27
|
|
||||||
help
|
help
|
||||||
Include support for MX27 LITEKIT platform. This includes specific
|
Include support for MX27 LITEKIT platform. This includes specific
|
||||||
configurations for the board and its peripherals.
|
configurations for the board and its peripherals.
|
||||||
|
|
||||||
config MACH_PCA100
|
config MACH_PCA100
|
||||||
bool "Phytec phyCARD-s (pca100)"
|
bool "Phytec phyCARD-s (pca100)"
|
||||||
depends on MACH_MX27
|
|
||||||
select MXC_ULPI if USB_ULPI
|
select MXC_ULPI if USB_ULPI
|
||||||
help
|
help
|
||||||
Include support for phyCARD-s (aka pca100) platform. This
|
Include support for phyCARD-s (aka pca100) platform. This
|
||||||
@@ -127,7 +130,6 @@ config MACH_PCA100
|
|||||||
|
|
||||||
config MACH_MXT_TD60
|
config MACH_MXT_TD60
|
||||||
bool "Maxtrack i-MXT TD60"
|
bool "Maxtrack i-MXT TD60"
|
||||||
depends on MACH_MX27
|
|
||||||
help
|
help
|
||||||
Include support for i-MXT (aka td60) platform. This
|
Include support for i-MXT (aka td60) platform. This
|
||||||
includes specific configurations for the module and its peripherals.
|
includes specific configurations for the module and its peripherals.
|
||||||
|
Reference in New Issue
Block a user