aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2007-06-17 19:06:52 -0400
committerKumar Gala <galak@kernel.crashing.org>2007-06-29 02:54:22 -0400
commitb9fd305db0b4723e70f1a5cf06e4a6949755331c (patch)
treeeb7eb3d14cbb77b7e20e097c2263a45694205362
parenteff2ebd207af9f501af0ef667a7d14befcb36c1b (diff)
[POWERPC] move 82xx/83xx/86xx Kconfig options to platform selection
The cores used in the MPC82xx/83xx/86xx embedded controllers are very similar to those in the 32 bit general-purpose processors, so it makes sense to treat them as the same CPU family. Choosing between the embedded platforms and the multiplatform code is now done in the platform menu, but functionally everything stays the same. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r--arch/powerpc/platforms/82xx/Kconfig2
-rw-r--r--arch/powerpc/platforms/83xx/Kconfig2
-rw-r--r--arch/powerpc/platforms/86xx/Kconfig2
-rw-r--r--arch/powerpc/platforms/Kconfig25
-rw-r--r--arch/powerpc/platforms/Kconfig.cputype51
5 files changed, 37 insertions, 45 deletions
diff --git a/arch/powerpc/platforms/82xx/Kconfig b/arch/powerpc/platforms/82xx/Kconfig
index de7fce9cb6eb..89fde43895c5 100644
--- a/arch/powerpc/platforms/82xx/Kconfig
+++ b/arch/powerpc/platforms/82xx/Kconfig
@@ -1,5 +1,5 @@
1choice 1choice
2 prompt "Machine Type" 2 prompt "82xx Board Type"
3 depends on PPC_82xx 3 depends on PPC_82xx
4 default MPC82xx_ADS 4 default MPC82xx_ADS
5 5
diff --git a/arch/powerpc/platforms/83xx/Kconfig b/arch/powerpc/platforms/83xx/Kconfig
index 19cafdf6df93..ec305f18abd8 100644
--- a/arch/powerpc/platforms/83xx/Kconfig
+++ b/arch/powerpc/platforms/83xx/Kconfig
@@ -1,5 +1,5 @@
1choice 1choice
2 prompt "Machine Type" 2 prompt "83xx Board Type"
3 depends on PPC_83xx 3 depends on PPC_83xx
4 default MPC834x_MDS 4 default MPC834x_MDS
5 5
diff --git a/arch/powerpc/platforms/86xx/Kconfig b/arch/powerpc/platforms/86xx/Kconfig
index d1bcff500464..0faebfdc1596 100644
--- a/arch/powerpc/platforms/86xx/Kconfig
+++ b/arch/powerpc/platforms/86xx/Kconfig
@@ -1,5 +1,5 @@
1choice 1choice
2 prompt "Machine Type" 2 prompt "86xx Board Type"
3 depends on PPC_86xx 3 depends on PPC_86xx
4 default MPC8641_HPCN 4 default MPC8641_HPCN
5 5
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig
index d6c475ca311d..df67ff50c0da 100644
--- a/arch/powerpc/platforms/Kconfig
+++ b/arch/powerpc/platforms/Kconfig
@@ -2,7 +2,7 @@ menu "Platform support"
2 2
3choice 3choice
4 prompt "Machine type" 4 prompt "Machine type"
5 depends on PPC64 || CLASSIC32 5 depends on PPC64 || 6xx
6 default PPC_MULTIPLATFORM 6 default PPC_MULTIPLATFORM
7 7
8config PPC_MULTIPLATFORM 8config PPC_MULTIPLATFORM
@@ -16,8 +16,31 @@ config EMBEDDED6xx
16 bool "Embedded 6xx/7xx/7xxx-based board" 16 bool "Embedded 6xx/7xx/7xxx-based board"
17 depends on PPC32 && (BROKEN||BROKEN_ON_SMP) 17 depends on PPC32 && (BROKEN||BROKEN_ON_SMP)
18 18
19config PPC_82xx
20 bool "Freescale 82xx"
21 depends on 6xx
22
23config PPC_83xx
24 bool "Freescale 83xx"
25 depends on 6xx
26 select FSL_SOC
27 select 83xx
28 select WANT_DEVICE_TREE
29
30config PPC_86xx
31 bool "Freescale 86xx"
32 depends on 6xx
33 select FSL_SOC
34 select FSL_PCIE
35 select ALTIVEC
36 help
37 The Freescale E600 SoCs have 74xx cores.
19endchoice 38endchoice
20 39
40config CLASSIC32
41 def_bool y
42 depends on 6xx && PPC_MULTIPLATFORM
43
21source "arch/powerpc/platforms/pseries/Kconfig" 44source "arch/powerpc/platforms/pseries/Kconfig"
22source "arch/powerpc/platforms/iseries/Kconfig" 45source "arch/powerpc/platforms/iseries/Kconfig"
23source "arch/powerpc/platforms/chrp/Kconfig" 46source "arch/powerpc/platforms/chrp/Kconfig"
diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype
index 597272ee9ddc..b8b5fde94668 100644
--- a/arch/powerpc/platforms/Kconfig.cputype
+++ b/arch/powerpc/platforms/Kconfig.cputype
@@ -10,41 +10,20 @@ choice
10 prompt "Processor Type" 10 prompt "Processor Type"
11 depends on PPC32 11 depends on PPC32
12 default 6xx 12 default 6xx
13
14config CLASSIC32
15 bool "52xx/6xx/7xx/74xx"
16 select PPC_FPU
17 select 6xx
18 help 13 help
19 There are four families of PowerPC chips supported. The more common 14 There are five families of 32 bit PowerPC chips supported.
20 types (601, 603, 604, 740, 750, 7400), the Motorola embedded 15 The most common ones are the desktop and server CPUs (601, 603,
21 versions (821, 823, 850, 855, 860, 52xx, 82xx, 83xx), the AMCC 16 604, 740, 750, 74xx) CPUs from Freescale and IBM, with their
22 embedded versions (403 and 405) and the high end 64 bit Power 17 embedded 52xx/82xx/83xx/86xx counterparts.
23 processors (POWER 3, POWER4, and IBM PPC970 also known as G5). 18 The other embeeded parts, namely 4xx, 8xx, e200 (55xx) and e500
24 19 (85xx) each form a family of their own that is not compatible
25 This option is the catch-all for 6xx types, including some of the 20 with the others.
26 embedded versions. Unless there is see an option for the specific
27 chip family you are using, you want this option.
28
29 You do not want this if you are building a kernel for a 64 bit
30 IBM RS/6000 or an Apple G5, choose 6xx.
31 21
32 If unsure, select this option 22 If unsure, select 52xx/6xx/7xx/74xx/82xx/83xx/86xx.
33
34 Note that the kernel runs in 32-bit mode even on 64-bit chips.
35
36config PPC_82xx
37 bool "Freescale 82xx"
38 select 6xx
39 select PPC_FPU
40 23
41config PPC_83xx 24config 6xx
42 bool "Freescale 83xx" 25 bool "52xx/6xx/7xx/74xx/82xx/83xx/86xx"
43 select 6xx
44 select FSL_SOC
45 select 83xx
46 select PPC_FPU 26 select PPC_FPU
47 select WANT_DEVICE_TREE
48 27
49config PPC_85xx 28config PPC_85xx
50 bool "Freescale 85xx" 29 bool "Freescale 85xx"
@@ -53,16 +32,6 @@ config PPC_85xx
53 select 85xx 32 select 85xx
54 select WANT_DEVICE_TREE 33 select WANT_DEVICE_TREE
55 34
56config PPC_86xx
57 bool "Freescale 86xx"
58 select 6xx
59 select FSL_SOC
60 select FSL_PCIE
61 select PPC_FPU
62 select ALTIVEC
63 help
64 The Freescale E600 SoCs have 74xx cores.
65
66config PPC_8xx 35config PPC_8xx
67 bool "Freescale 8xx" 36 bool "Freescale 8xx"
68 select FSL_SOC 37 select FSL_SOC