diff options
author | Arnd Bergmann <arnd@arndb.de> | 2007-06-17 19:06:52 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-06-29 02:54:22 -0400 |
commit | b9fd305db0b4723e70f1a5cf06e4a6949755331c (patch) | |
tree | eb7eb3d14cbb77b7e20e097c2263a45694205362 /arch/powerpc | |
parent | eff2ebd207af9f501af0ef667a7d14befcb36c1b (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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/platforms/82xx/Kconfig | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/83xx/Kconfig | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/86xx/Kconfig | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/Kconfig | 25 | ||||
-rw-r--r-- | arch/powerpc/platforms/Kconfig.cputype | 51 |
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 @@ | |||
1 | choice | 1 | choice |
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 @@ | |||
1 | choice | 1 | choice |
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 @@ | |||
1 | choice | 1 | choice |
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 | ||
3 | choice | 3 | choice |
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 | ||
8 | config PPC_MULTIPLATFORM | 8 | config 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 | ||
19 | config PPC_82xx | ||
20 | bool "Freescale 82xx" | ||
21 | depends on 6xx | ||
22 | |||
23 | config PPC_83xx | ||
24 | bool "Freescale 83xx" | ||
25 | depends on 6xx | ||
26 | select FSL_SOC | ||
27 | select 83xx | ||
28 | select WANT_DEVICE_TREE | ||
29 | |||
30 | config 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. | ||
19 | endchoice | 38 | endchoice |
20 | 39 | ||
40 | config CLASSIC32 | ||
41 | def_bool y | ||
42 | depends on 6xx && PPC_MULTIPLATFORM | ||
43 | |||
21 | source "arch/powerpc/platforms/pseries/Kconfig" | 44 | source "arch/powerpc/platforms/pseries/Kconfig" |
22 | source "arch/powerpc/platforms/iseries/Kconfig" | 45 | source "arch/powerpc/platforms/iseries/Kconfig" |
23 | source "arch/powerpc/platforms/chrp/Kconfig" | 46 | source "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 | |||
14 | config 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 | |||
36 | config PPC_82xx | ||
37 | bool "Freescale 82xx" | ||
38 | select 6xx | ||
39 | select PPC_FPU | ||
40 | 23 | ||
41 | config PPC_83xx | 24 | config 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 | ||
49 | config PPC_85xx | 28 | config 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 | ||
56 | config 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 | |||
66 | config PPC_8xx | 35 | config PPC_8xx |
67 | bool "Freescale 8xx" | 36 | bool "Freescale 8xx" |
68 | select FSL_SOC | 37 | select FSL_SOC |