aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-04-12 17:53:32 -0400
committerKumar Gala <galak@kernel.crashing.org>2007-04-12 17:53:32 -0400
commitd6071f881fcd3c45c00ea1c2d13a5b01bbb6c412 (patch)
treed8c061621e396e8b17fc2f6c9b3967ee337c7dc8 /arch
parentb5a4834692ab799a7a6b75a7f1e20e9f41a3126e (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/Kconfig1
-rw-r--r--arch/powerpc/platforms/82xx/Kconfig50
-rw-r--r--arch/powerpc/platforms/Kconfig12
3 files changed, 26 insertions, 37 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 8576ff3344c..659b41ff4a8 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -377,7 +377,6 @@ source "arch/powerpc/platforms/Kconfig"
377 377
378source arch/powerpc/platforms/embedded6xx/Kconfig 378source arch/powerpc/platforms/embedded6xx/Kconfig
379source arch/powerpc/platforms/4xx/Kconfig 379source arch/powerpc/platforms/4xx/Kconfig
380source arch/powerpc/platforms/82xx/Kconfig
381source arch/powerpc/platforms/85xx/Kconfig 380source arch/powerpc/platforms/85xx/Kconfig
382source arch/powerpc/platforms/8xx/Kconfig 381source arch/powerpc/platforms/8xx/Kconfig
383 382
diff --git a/arch/powerpc/platforms/82xx/Kconfig b/arch/powerpc/platforms/82xx/Kconfig
index 411071686f2..de7fce9cb6e 100644
--- a/arch/powerpc/platforms/82xx/Kconfig
+++ b/arch/powerpc/platforms/82xx/Kconfig
@@ -1,56 +1,36 @@
1menu "Platform support"
2 depends on PPC_82xx
3
4choice 1choice
5 prompt "Machine Type" 2 prompt "Machine Type"
6 default MPC82xx_ADS 3 depends on PPC_82xx
4 default MPC82xx_ADS
7 5
8config MPC82xx_ADS 6config 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
19endchoice 16endchoice
20 17
21config PQ2ADS 18config PQ2ADS
22 bool 19 bool
23 depends on ADS8272 20 default n
24 default y
25
26config ADS8272
27 bool
28 21
29config 8260 22config 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
38config 8272 31config 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
47config 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).
56endmenu
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig
index d686806f962..efa3a03f76d 100644
--- a/arch/powerpc/platforms/Kconfig
+++ b/arch/powerpc/platforms/Kconfig
@@ -1,5 +1,5 @@
1menu "Platform support" 1menu "Platform support"
2 depends on PPC64 || CLASSIC32 || PPC_83xx || PPC_86xx 2 depends on PPC64 || CLASSIC32 || PPC_82xx || PPC_83xx || PPC_86xx
3 3
4choice 4choice
5 prompt "Machine type" 5 prompt "Machine type"
@@ -45,6 +45,7 @@ source "arch/powerpc/platforms/pasemi/Kconfig"
45source arch/powerpc/platforms/celleb/Kconfig 45source arch/powerpc/platforms/celleb/Kconfig
46source arch/powerpc/platforms/ps3/Kconfig 46source arch/powerpc/platforms/ps3/Kconfig
47source arch/powerpc/platforms/cell/Kconfig 47source arch/powerpc/platforms/cell/Kconfig
48source "arch/powerpc/platforms/82xx/Kconfig"
48source "arch/powerpc/platforms/83xx/Kconfig" 49source "arch/powerpc/platforms/83xx/Kconfig"
49source "arch/powerpc/platforms/86xx/Kconfig" 50source "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
225config 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
224endmenu 234endmenu