diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-14 10:56:46 -0400 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-30 02:59:45 -0400 |
commit | b6b06be062daf3a8a2a2bb93585564c7aa1fa8d3 (patch) | |
tree | bb0033bbd320c35da92a20d4d062f7c22f87859e | |
parent | 074694956b547de9a6b85b919c0bb13853b88c2d (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>
-rw-r--r-- | arch/arm/mach-imx/Kconfig | 20 |
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 | ||
38 | endchoice | 38 | endchoice |
39 | 39 | ||
40 | comment "MX2 platforms:" | 40 | endif |
41 | |||
42 | if MACH_MX21 | ||
43 | |||
44 | comment "MX21 platforms:" | ||
41 | 45 | ||
42 | config MACH_MX21ADS | 46 | config 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 | ||
52 | endif | ||
53 | |||
54 | if MACH_MX27 | ||
55 | |||
56 | comment "MX27 platforms:" | ||
57 | |||
49 | config MACH_MX27ADS | 58 | config 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 | ||
56 | config MACH_PCM038 | 64 | config 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 | ||
78 | config MACH_CPUIMX27 | 85 | config 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 | ||
106 | config MACH_MX27_3DS | 112 | config 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 | ||
113 | config MACH_IMX27LITE | 118 | config 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 | ||
120 | config MACH_PCA100 | 124 | config 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 | ||
128 | config MACH_MXT_TD60 | 131 | config 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. |