diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-11-16 18:49:41 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-12-15 00:15:45 -0500 |
commit | 5df326aca48b8631c9e3c90c76d7e9f0b466a721 (patch) | |
tree | 2cfa75ca3aab344c45711f37bcec734fa6f71fa1 | |
parent | 2f5a0864025743aeae20669984c1a998fe263194 (diff) |
Blackfin: push BF5Xx configs down into mach-specific Kconfigs
While we're moving the BF54x code, have the BF54xM variants select the
normal BF54x values so that the rest of the Kconfig tree doesn't need to
check the BF54xM variant everytime it wants to check the BF54x.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | arch/blackfin/Kconfig | 30 | ||||
-rw-r--r-- | arch/blackfin/mach-bf518/Kconfig | 4 | ||||
-rw-r--r-- | arch/blackfin/mach-bf527/Kconfig | 4 | ||||
-rw-r--r-- | arch/blackfin/mach-bf548/Kconfig | 24 | ||||
-rw-r--r-- | arch/blackfin/mach-bf548/include/mach/bf548.h | 12 |
5 files changed, 37 insertions, 37 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index af44a06e07c5..d703247caf20 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
@@ -176,7 +176,7 @@ config BF539 | |||
176 | help | 176 | help |
177 | BF539 Processor Support. | 177 | BF539 Processor Support. |
178 | 178 | ||
179 | config BF542 | 179 | config BF542_std |
180 | bool "BF542" | 180 | bool "BF542" |
181 | help | 181 | help |
182 | BF542 Processor Support. | 182 | BF542 Processor Support. |
@@ -186,7 +186,7 @@ config BF542M | |||
186 | help | 186 | help |
187 | BF542 Processor Support. | 187 | BF542 Processor Support. |
188 | 188 | ||
189 | config BF544 | 189 | config BF544_std |
190 | bool "BF544" | 190 | bool "BF544" |
191 | help | 191 | help |
192 | BF544 Processor Support. | 192 | BF544 Processor Support. |
@@ -196,7 +196,7 @@ config BF544M | |||
196 | help | 196 | help |
197 | BF544 Processor Support. | 197 | BF544 Processor Support. |
198 | 198 | ||
199 | config BF547 | 199 | config BF547_std |
200 | bool "BF547" | 200 | bool "BF547" |
201 | help | 201 | help |
202 | BF547 Processor Support. | 202 | BF547 Processor Support. |
@@ -206,7 +206,7 @@ config BF547M | |||
206 | help | 206 | help |
207 | BF547 Processor Support. | 207 | BF547 Processor Support. |
208 | 208 | ||
209 | config BF548 | 209 | config BF548_std |
210 | bool "BF548" | 210 | bool "BF548" |
211 | help | 211 | help |
212 | BF548 Processor Support. | 212 | BF548 Processor Support. |
@@ -216,7 +216,7 @@ config BF548M | |||
216 | help | 216 | help |
217 | BF548 Processor Support. | 217 | BF548 Processor Support. |
218 | 218 | ||
219 | config BF549 | 219 | config BF549_std |
220 | bool "BF549" | 220 | bool "BF549" |
221 | help | 221 | help |
222 | BF549 Processor Support. | 222 | BF549 Processor Support. |
@@ -310,31 +310,11 @@ config BF_REV_NONE | |||
310 | 310 | ||
311 | endchoice | 311 | endchoice |
312 | 312 | ||
313 | config BF51x | ||
314 | bool | ||
315 | depends on (BF512 || BF514 || BF516 || BF518) | ||
316 | default y | ||
317 | |||
318 | config BF52x | ||
319 | bool | ||
320 | depends on (BF522 || BF523 || BF524 || BF525 || BF526 || BF527) | ||
321 | default y | ||
322 | |||
323 | config BF53x | 313 | config BF53x |
324 | bool | 314 | bool |
325 | depends on (BF531 || BF532 || BF533 || BF534 || BF536 || BF537) | 315 | depends on (BF531 || BF532 || BF533 || BF534 || BF536 || BF537) |
326 | default y | 316 | default y |
327 | 317 | ||
328 | config BF54xM | ||
329 | bool | ||
330 | depends on (BF542M || BF544M || BF547M || BF548M || BF549M) | ||
331 | default y | ||
332 | |||
333 | config BF54x | ||
334 | bool | ||
335 | depends on (BF542 || BF544 || BF547 || BF548 || BF549 || BF54xM) | ||
336 | default y | ||
337 | |||
338 | config MEM_GENERIC_BOARD | 318 | config MEM_GENERIC_BOARD |
339 | bool | 319 | bool |
340 | depends on GENERIC_BOARD | 320 | depends on GENERIC_BOARD |
diff --git a/arch/blackfin/mach-bf518/Kconfig b/arch/blackfin/mach-bf518/Kconfig index 4c76fefb7a3b..4ab2d166c832 100644 --- a/arch/blackfin/mach-bf518/Kconfig +++ b/arch/blackfin/mach-bf518/Kconfig | |||
@@ -1,3 +1,7 @@ | |||
1 | config BF51x | ||
2 | def_bool y | ||
3 | depends on (BF512 || BF514 || BF516 || BF518) | ||
4 | |||
1 | if (BF51x) | 5 | if (BF51x) |
2 | 6 | ||
3 | source "arch/blackfin/mach-bf518/boards/Kconfig" | 7 | source "arch/blackfin/mach-bf518/boards/Kconfig" |
diff --git a/arch/blackfin/mach-bf527/Kconfig b/arch/blackfin/mach-bf527/Kconfig index 848ac6f86823..1f8cbe9d6b9a 100644 --- a/arch/blackfin/mach-bf527/Kconfig +++ b/arch/blackfin/mach-bf527/Kconfig | |||
@@ -1,3 +1,7 @@ | |||
1 | config BF52x | ||
2 | def_bool y | ||
3 | depends on (BF522 || BF523 || BF524 || BF525 || BF526 || BF527) | ||
4 | |||
1 | if (BF52x) | 5 | if (BF52x) |
2 | 6 | ||
3 | source "arch/blackfin/mach-bf527/boards/Kconfig" | 7 | source "arch/blackfin/mach-bf527/boards/Kconfig" |
diff --git a/arch/blackfin/mach-bf548/Kconfig b/arch/blackfin/mach-bf548/Kconfig index a09623dfd550..70189a0d1a19 100644 --- a/arch/blackfin/mach-bf548/Kconfig +++ b/arch/blackfin/mach-bf548/Kconfig | |||
@@ -1,3 +1,27 @@ | |||
1 | config BF542 | ||
2 | def_bool y | ||
3 | depends on BF542_std || BF542M | ||
4 | config BF544 | ||
5 | def_bool y | ||
6 | depends on BF544_std || BF544M | ||
7 | config BF547 | ||
8 | def_bool y | ||
9 | depends on BF547_std || BF547M | ||
10 | config BF548 | ||
11 | def_bool y | ||
12 | depends on BF548_std || BF548M | ||
13 | config BF549 | ||
14 | def_bool y | ||
15 | depends on BF549_std || BF549M | ||
16 | |||
17 | config BF54xM | ||
18 | def_bool y | ||
19 | depends on (BF542M || BF544M || BF547M || BF548M || BF549M) | ||
20 | |||
21 | config BF54x | ||
22 | def_bool y | ||
23 | depends on (BF542 || BF544 || BF547 || BF548 || BF549) | ||
24 | |||
1 | if (BF54x) | 25 | if (BF54x) |
2 | 26 | ||
3 | source "arch/blackfin/mach-bf548/boards/Kconfig" | 27 | source "arch/blackfin/mach-bf548/boards/Kconfig" |
diff --git a/arch/blackfin/mach-bf548/include/mach/bf548.h b/arch/blackfin/mach-bf548/include/mach/bf548.h index 7bead5ce0f3b..751e5e11ecf8 100644 --- a/arch/blackfin/mach-bf548/include/mach/bf548.h +++ b/arch/blackfin/mach-bf548/include/mach/bf548.h | |||
@@ -81,18 +81,6 @@ | |||
81 | 81 | ||
82 | #define AMGCTLVAL (V_AMBEN | V_AMCKEN) | 82 | #define AMGCTLVAL (V_AMBEN | V_AMCKEN) |
83 | 83 | ||
84 | #if defined(CONFIG_BF542M) | ||
85 | # define CONFIG_BF542 | ||
86 | #elif defined(CONFIG_BF544M) | ||
87 | # define CONFIG_BF544 | ||
88 | #elif defined(CONFIG_BF547M) | ||
89 | # define CONFIG_BF547 | ||
90 | #elif defined(CONFIG_BF548M) | ||
91 | # define CONFIG_BF548 | ||
92 | #elif defined(CONFIG_BF549M) | ||
93 | # define CONFIG_BF549 | ||
94 | #endif | ||
95 | |||
96 | #if defined(CONFIG_BF542) | 84 | #if defined(CONFIG_BF542) |
97 | # define CPU "BF542" | 85 | # define CPU "BF542" |
98 | # define CPUID 0x27de | 86 | # define CPUID 0x27de |