diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2007-04-12 17:53:32 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-04-12 17:53:32 -0400 |
commit | d6071f881fcd3c45c00ea1c2d13a5b01bbb6c412 (patch) | |
tree | d8c061621e396e8b17fc2f6c9b3967ee337c7dc8 /arch | |
parent | b5a4834692ab799a7a6b75a7f1e20e9f41a3126e (diff) |
[POWERPC] Convert 82xx platform to unified platform Kconfig
Moved 82xx platform Kconfig over to being sourced by the unified
arch/powerpc/platforms/Kconfig. Also, cleaned up whitespace issues in 82xx
Kconfig.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/Kconfig | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/82xx/Kconfig | 50 | ||||
-rw-r--r-- | arch/powerpc/platforms/Kconfig | 12 |
3 files changed, 26 insertions, 37 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 8576ff3344cc..659b41ff4a86 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -377,7 +377,6 @@ source "arch/powerpc/platforms/Kconfig" | |||
377 | 377 | ||
378 | source arch/powerpc/platforms/embedded6xx/Kconfig | 378 | source arch/powerpc/platforms/embedded6xx/Kconfig |
379 | source arch/powerpc/platforms/4xx/Kconfig | 379 | source arch/powerpc/platforms/4xx/Kconfig |
380 | source arch/powerpc/platforms/82xx/Kconfig | ||
381 | source arch/powerpc/platforms/85xx/Kconfig | 380 | source arch/powerpc/platforms/85xx/Kconfig |
382 | source arch/powerpc/platforms/8xx/Kconfig | 381 | source arch/powerpc/platforms/8xx/Kconfig |
383 | 382 | ||
diff --git a/arch/powerpc/platforms/82xx/Kconfig b/arch/powerpc/platforms/82xx/Kconfig index 411071686f20..de7fce9cb6eb 100644 --- a/arch/powerpc/platforms/82xx/Kconfig +++ b/arch/powerpc/platforms/82xx/Kconfig | |||
@@ -1,56 +1,36 @@ | |||
1 | menu "Platform support" | ||
2 | depends on PPC_82xx | ||
3 | |||
4 | choice | 1 | choice |
5 | prompt "Machine Type" | 2 | prompt "Machine Type" |
6 | default MPC82xx_ADS | 3 | depends on PPC_82xx |
4 | default MPC82xx_ADS | ||
7 | 5 | ||
8 | config MPC82xx_ADS | 6 | config MPC82xx_ADS |
9 | bool "Freescale MPC82xx ADS" | 7 | bool "Freescale MPC82xx ADS" |
10 | select DEFAULT_UIMAGE | 8 | select DEFAULT_UIMAGE |
11 | select PQ2ADS | 9 | select PQ2ADS |
12 | select 8272 | 10 | select 8272 |
13 | select 8260 | 11 | select 8260 |
14 | select CPM2 | 12 | select FSL_SOC |
15 | select FSL_SOC | 13 | help |
16 | help | 14 | This option enables support for the MPC8272 ADS board |
17 | This option enables support for the MPC8272 ADS board | ||
18 | 15 | ||
19 | endchoice | 16 | endchoice |
20 | 17 | ||
21 | config PQ2ADS | 18 | config PQ2ADS |
22 | bool | 19 | bool |
23 | depends on ADS8272 | 20 | default n |
24 | default y | ||
25 | |||
26 | config ADS8272 | ||
27 | bool | ||
28 | 21 | ||
29 | config 8260 | 22 | config 8260 |
30 | bool "CPM2 Support" if WILLOW | 23 | bool |
31 | depends on 6xx | 24 | depends on 6xx |
32 | default y if PQ2FADS | 25 | select CPM2 |
33 | help | 26 | help |
34 | The MPC8260 is a typical embedded CPU made by Motorola. Selecting | 27 | The MPC8260 is a typical embedded CPU made by Freescale. Selecting |
35 | this option means that you wish to build a kernel for a machine with | 28 | this option means that you wish to build a kernel for a machine with |
36 | an 8260 class CPU. | 29 | an 8260 class CPU. |
37 | 30 | ||
38 | config 8272 | 31 | config 8272 |
39 | bool | 32 | bool |
40 | depends on 6xx | ||
41 | default y if ADS8272 | ||
42 | select 8260 | 33 | select 8260 |
43 | help | 34 | help |
44 | The MPC8272 CPM has a different internal dpram setup than other CPM2 | 35 | The MPC8272 CPM has a different internal dpram setup than other CPM2 |
45 | devices | 36 | devices |
46 | |||
47 | config CPM2 | ||
48 | bool | ||
49 | depends on 8260 || MPC8560 || MPC8555 | ||
50 | default y | ||
51 | help | ||
52 | The CPM2 (Communications Processor Module) is a coprocessor on | ||
53 | embedded CPUs made by Motorola. Selecting this option means that | ||
54 | you wish to build a kernel for a machine with a CPM2 coprocessor | ||
55 | on it (826x, 827x, 8560). | ||
56 | endmenu | ||
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig index d686806f9621..efa3a03f76d4 100644 --- a/arch/powerpc/platforms/Kconfig +++ b/arch/powerpc/platforms/Kconfig | |||
@@ -1,5 +1,5 @@ | |||
1 | menu "Platform support" | 1 | menu "Platform support" |
2 | depends on PPC64 || CLASSIC32 || PPC_83xx || PPC_86xx | 2 | depends on PPC64 || CLASSIC32 || PPC_82xx || PPC_83xx || PPC_86xx |
3 | 3 | ||
4 | choice | 4 | choice |
5 | prompt "Machine type" | 5 | prompt "Machine type" |
@@ -45,6 +45,7 @@ source "arch/powerpc/platforms/pasemi/Kconfig" | |||
45 | source arch/powerpc/platforms/celleb/Kconfig | 45 | source arch/powerpc/platforms/celleb/Kconfig |
46 | source arch/powerpc/platforms/ps3/Kconfig | 46 | source arch/powerpc/platforms/ps3/Kconfig |
47 | source arch/powerpc/platforms/cell/Kconfig | 47 | source arch/powerpc/platforms/cell/Kconfig |
48 | source "arch/powerpc/platforms/82xx/Kconfig" | ||
48 | source "arch/powerpc/platforms/83xx/Kconfig" | 49 | source "arch/powerpc/platforms/83xx/Kconfig" |
49 | source "arch/powerpc/platforms/86xx/Kconfig" | 50 | source "arch/powerpc/platforms/86xx/Kconfig" |
50 | 51 | ||
@@ -221,4 +222,13 @@ config TAU_AVERAGE | |||
221 | 222 | ||
222 | If in doubt, say N here. | 223 | If in doubt, say N here. |
223 | 224 | ||
225 | config CPM2 | ||
226 | bool | ||
227 | default n | ||
228 | help | ||
229 | The CPM2 (Communications Processor Module) is a coprocessor on | ||
230 | embedded CPUs made by Freescale. Selecting this option means that | ||
231 | you wish to build a kernel for a machine with a CPM2 coprocessor | ||
232 | on it (826x, 827x, 8560). | ||
233 | |||
224 | endmenu | 234 | endmenu |