aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-14 10:56:46 -0400
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-30 02:59:45 -0400
commitb6b06be062daf3a8a2a2bb93585564c7aa1fa8d3 (patch)
treebb0033bbd320c35da92a20d4d062f7c22f87859e /arch
parent074694956b547de9a6b85b919c0bb13853b88c2d (diff)
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-imx/Kconfig20
1 files changed, 11 insertions, 9 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index c6eddd7f68c9..3ca8fa7d91ae 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -37,25 +37,32 @@ config MACH_MX27
37 37
38endchoice 38endchoice
39 39
40comment "MX2 platforms:" 40endif
41
42if MACH_MX21
43
44comment "MX21 platforms:"
41 45
42config MACH_MX21ADS 46config MACH_MX21ADS
43 bool "MX21ADS platform" 47 bool "MX21ADS platform"
44 depends on MACH_MX21
45 help 48 help
46 Include support for MX21ADS platform. This includes specific 49 Include support for MX21ADS platform. This includes specific
47 configurations for the board and its peripherals. 50 configurations for the board and its peripherals.
48 51
52endif
53
54if MACH_MX27
55
56comment "MX27 platforms:"
57
49config MACH_MX27ADS 58config MACH_MX27ADS
50 bool "MX27ADS platform" 59 bool "MX27ADS platform"
51 depends on MACH_MX27
52 help 60 help
53 Include support for MX27ADS platform. This includes specific 61 Include support for MX27ADS platform. This includes specific
54 configurations for the board and its peripherals. 62 configurations for the board and its peripherals.
55 63
56config MACH_PCM038 64config MACH_PCM038
57 bool "Phytec phyCORE-i.MX27 CPU module (pcm038)" 65 bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
58 depends on MACH_MX27
59 select MXC_ULPI if USB_ULPI 66 select MXC_ULPI if USB_ULPI
60 help 67 help
61 Include support for phyCORE-i.MX27 (aka pcm038) platform. This 68 Include support for phyCORE-i.MX27 (aka pcm038) platform. This
@@ -77,7 +84,6 @@ endchoice
77 84
78config MACH_CPUIMX27 85config MACH_CPUIMX27
79 bool "Eukrea CPUIMX27 module" 86 bool "Eukrea CPUIMX27 module"
80 depends on MACH_MX27
81 help 87 help
82 Include support for Eukrea CPUIMX27 platform. This includes 88 Include support for Eukrea CPUIMX27 platform. This includes
83 specific configurations for the module and its peripherals. 89 specific configurations for the module and its peripherals.
@@ -105,21 +111,18 @@ endchoice
105 111
106config MACH_MX27_3DS 112config MACH_MX27_3DS
107 bool "MX27PDK platform" 113 bool "MX27PDK platform"
108 depends on MACH_MX27
109 help 114 help
110 Include support for MX27PDK platform. This includes specific 115 Include support for MX27PDK platform. This includes specific
111 configurations for the board and its peripherals. 116 configurations for the board and its peripherals.
112 117
113config MACH_IMX27LITE 118config MACH_IMX27LITE
114 bool "LogicPD MX27 LITEKIT platform" 119 bool "LogicPD MX27 LITEKIT platform"
115 depends on MACH_MX27
116 help 120 help
117 Include support for MX27 LITEKIT platform. This includes specific 121 Include support for MX27 LITEKIT platform. This includes specific
118 configurations for the board and its peripherals. 122 configurations for the board and its peripherals.
119 123
120config MACH_PCA100 124config MACH_PCA100
121 bool "Phytec phyCARD-s (pca100)" 125 bool "Phytec phyCARD-s (pca100)"
122 depends on MACH_MX27
123 select MXC_ULPI if USB_ULPI 126 select MXC_ULPI if USB_ULPI
124 help 127 help
125 Include support for phyCARD-s (aka pca100) platform. This 128 Include support for phyCARD-s (aka pca100) platform. This
@@ -127,7 +130,6 @@ config MACH_PCA100
127 130
128config MACH_MXT_TD60 131config MACH_MXT_TD60
129 bool "Maxtrack i-MXT TD60" 132 bool "Maxtrack i-MXT TD60"
130 depends on MACH_MX27
131 help 133 help
132 Include support for i-MXT (aka td60) platform. This 134 Include support for i-MXT (aka td60) platform. This
133 includes specific configurations for the module and its peripherals. 135 includes specific configurations for the module and its peripherals.