diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-06-02 17:17:37 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-06-09 02:47:22 -0400 |
commit | 5b7c3c918c9c26c50d220b2b50359208cb5a1dbe (patch) | |
tree | b5c39c81cfb0591ae2b05a9fae2071bb364381ae /arch | |
parent | e821ea70f3b4873b50056a1e0f74befed1014c09 (diff) |
powerpc: Introduce CONFIG_PPC_BOOK3S
This patch introduce a new Kconfig option, CONFIG_PPC_BOOK3S
that represents processors that are compliant with the "classic"
(aka "server") variant of the PowerPC architecture.
It replaces CONFIG_6xx on 32-bit (though the symbol is still
defined for compatibility) and encompass all currently supported
64-bit processors.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/Kconfig.cputype | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype index 915a7ac6a91a..25f8a9c2ba1a 100644 --- a/arch/powerpc/platforms/Kconfig.cputype +++ b/arch/powerpc/platforms/Kconfig.cputype | |||
@@ -9,7 +9,6 @@ menu "Processor support" | |||
9 | choice | 9 | choice |
10 | prompt "Processor Type" | 10 | prompt "Processor Type" |
11 | depends on PPC32 | 11 | depends on PPC32 |
12 | default 6xx | ||
13 | help | 12 | help |
14 | There are five families of 32 bit PowerPC chips supported. | 13 | There are five families of 32 bit PowerPC chips supported. |
15 | The most common ones are the desktop and server CPUs (601, 603, | 14 | The most common ones are the desktop and server CPUs (601, 603, |
@@ -21,7 +20,7 @@ choice | |||
21 | 20 | ||
22 | If unsure, select 52xx/6xx/7xx/74xx/82xx/83xx/86xx. | 21 | If unsure, select 52xx/6xx/7xx/74xx/82xx/83xx/86xx. |
23 | 22 | ||
24 | config 6xx | 23 | config PPC_BOOK3S |
25 | bool "512x/52xx/6xx/7xx/74xx/82xx/83xx/86xx" | 24 | bool "512x/52xx/6xx/7xx/74xx/82xx/83xx/86xx" |
26 | select PPC_FPU | 25 | select PPC_FPU |
27 | 26 | ||
@@ -57,13 +56,11 @@ config E200 | |||
57 | 56 | ||
58 | endchoice | 57 | endchoice |
59 | 58 | ||
60 | # Until we have a choice of exclusive CPU types on 64-bit, we always | ||
61 | # use PPC_BOOK3S. On 32-bit, this is equivalent to 6xx which is | ||
62 | # "classic" MMU | ||
63 | |||
64 | config PPC_BOOK3S | 59 | config PPC_BOOK3S |
65 | def_bool y | 60 | default y |
66 | depends on PPC64 || 6xx | 61 | depends on PPC64 |
62 | select PPC_FPU | ||
63 | |||
67 | 64 | ||
68 | config POWER4_ONLY | 65 | config POWER4_ONLY |
69 | bool "Optimize for POWER4" | 66 | bool "Optimize for POWER4" |
@@ -74,6 +71,10 @@ config POWER4_ONLY | |||
74 | The resulting binary will not work on POWER3 or RS64 processors | 71 | The resulting binary will not work on POWER3 or RS64 processors |
75 | when compiled with binutils 2.15 or later. | 72 | when compiled with binutils 2.15 or later. |
76 | 73 | ||
74 | config 6xx | ||
75 | def_bool y | ||
76 | depends on PPC32 && PPC_BOOK3S | ||
77 | |||
77 | config POWER3 | 78 | config POWER3 |
78 | bool | 79 | bool |
79 | depends on PPC64 && PPC_BOOK3S | 80 | depends on PPC64 && PPC_BOOK3S |
@@ -202,9 +203,8 @@ config SPE | |||
202 | If in doubt, say Y here. | 203 | If in doubt, say Y here. |
203 | 204 | ||
204 | config PPC_STD_MMU | 205 | config PPC_STD_MMU |
205 | bool | 206 | def_bool y |
206 | depends on 6xx || PPC64 | 207 | depends on PPC_BOOK3S |
207 | default y | ||
208 | 208 | ||
209 | config PPC_STD_MMU_32 | 209 | config PPC_STD_MMU_32 |
210 | def_bool y | 210 | def_bool y |