diff options
author | Arnd Bergmann <arnd@arndb.de> | 2007-06-12 12:30:17 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-06-14 08:30:14 -0400 |
commit | a0ae9c7c05b969cbaffb0371f8698c54465b4c96 (patch) | |
tree | 19e3ceb1a39d73028fe0906ccbe1692616afcd50 /arch/powerpc/Kconfig | |
parent | effe24bdd41ef790b30c9ac02ede3703937c6ba0 (diff) |
[POWERPC] Split out CPU specific options into a new Kconfig file
A lot of the options in arch/powerpc/Kconfig deal with the CPU menu,
and my next patches add more to them. Moving them to a new
arch/powerpc/platforms/Kconfig.cputype file makes it easier to
follow.
There are no functional changes in here.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 252 |
1 files changed, 1 insertions, 251 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 5eaeafd30bdf..12830a77d163 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -4,12 +4,7 @@ | |||
4 | 4 | ||
5 | mainmenu "Linux/PowerPC Kernel Configuration" | 5 | mainmenu "Linux/PowerPC Kernel Configuration" |
6 | 6 | ||
7 | config PPC64 | 7 | source "arch/powerpc/platforms/Kconfig.cputype" |
8 | bool "64-bit kernel" | ||
9 | default n | ||
10 | help | ||
11 | This option selects whether a 32-bit or a 64-bit kernel | ||
12 | will be built. | ||
13 | 8 | ||
14 | config PPC_PM_NEEDS_RTC_LIB | 9 | config PPC_PM_NEEDS_RTC_LIB |
15 | bool | 10 | bool |
@@ -132,123 +127,6 @@ config PPC64_SWSUSP | |||
132 | depends on PPC64 && (BROKEN || (PPC_PMAC64 && EXPERIMENTAL)) | 127 | depends on PPC64 && (BROKEN || (PPC_PMAC64 && EXPERIMENTAL)) |
133 | default y | 128 | default y |
134 | 129 | ||
135 | menu "Processor support" | ||
136 | choice | ||
137 | prompt "Processor Type" | ||
138 | depends on PPC32 | ||
139 | default 6xx | ||
140 | |||
141 | config CLASSIC32 | ||
142 | bool "52xx/6xx/7xx/74xx" | ||
143 | select PPC_FPU | ||
144 | select 6xx | ||
145 | help | ||
146 | There are four families of PowerPC chips supported. The more common | ||
147 | types (601, 603, 604, 740, 750, 7400), the Motorola embedded | ||
148 | versions (821, 823, 850, 855, 860, 52xx, 82xx, 83xx), the AMCC | ||
149 | embedded versions (403 and 405) and the high end 64 bit Power | ||
150 | processors (POWER 3, POWER4, and IBM PPC970 also known as G5). | ||
151 | |||
152 | This option is the catch-all for 6xx types, including some of the | ||
153 | embedded versions. Unless there is see an option for the specific | ||
154 | chip family you are using, you want this option. | ||
155 | |||
156 | You do not want this if you are building a kernel for a 64 bit | ||
157 | IBM RS/6000 or an Apple G5, choose 6xx. | ||
158 | |||
159 | If unsure, select this option | ||
160 | |||
161 | Note that the kernel runs in 32-bit mode even on 64-bit chips. | ||
162 | |||
163 | config PPC_82xx | ||
164 | bool "Freescale 82xx" | ||
165 | select 6xx | ||
166 | select PPC_FPU | ||
167 | |||
168 | config PPC_83xx | ||
169 | bool "Freescale 83xx" | ||
170 | select 6xx | ||
171 | select FSL_SOC | ||
172 | select 83xx | ||
173 | select PPC_FPU | ||
174 | select WANT_DEVICE_TREE | ||
175 | |||
176 | config PPC_85xx | ||
177 | bool "Freescale 85xx" | ||
178 | select E500 | ||
179 | select FSL_SOC | ||
180 | select 85xx | ||
181 | select WANT_DEVICE_TREE | ||
182 | |||
183 | config PPC_86xx | ||
184 | bool "Freescale 86xx" | ||
185 | select 6xx | ||
186 | select FSL_SOC | ||
187 | select FSL_PCIE | ||
188 | select PPC_FPU | ||
189 | select ALTIVEC | ||
190 | help | ||
191 | The Freescale E600 SoCs have 74xx cores. | ||
192 | |||
193 | config PPC_8xx | ||
194 | bool "Freescale 8xx" | ||
195 | select FSL_SOC | ||
196 | select 8xx | ||
197 | |||
198 | config 40x | ||
199 | bool "AMCC 40x" | ||
200 | select PPC_DCR_NATIVE | ||
201 | |||
202 | config 44x | ||
203 | bool "AMCC 44x" | ||
204 | select PPC_DCR_NATIVE | ||
205 | select WANT_DEVICE_TREE | ||
206 | |||
207 | config E200 | ||
208 | bool "Freescale e200" | ||
209 | |||
210 | endchoice | ||
211 | |||
212 | config POWER4_ONLY | ||
213 | bool "Optimize for POWER4" | ||
214 | depends on PPC64 | ||
215 | default n | ||
216 | ---help--- | ||
217 | Cause the compiler to optimize for POWER4/POWER5/PPC970 processors. | ||
218 | The resulting binary will not work on POWER3 or RS64 processors | ||
219 | when compiled with binutils 2.15 or later. | ||
220 | |||
221 | config POWER3 | ||
222 | bool | ||
223 | depends on PPC64 | ||
224 | default y if !POWER4_ONLY | ||
225 | |||
226 | config POWER4 | ||
227 | depends on PPC64 | ||
228 | def_bool y | ||
229 | |||
230 | config 6xx | ||
231 | bool | ||
232 | |||
233 | # this is temp to handle compat with arch=ppc | ||
234 | config 8xx | ||
235 | bool | ||
236 | |||
237 | # this is temp to handle compat with arch=ppc | ||
238 | config 83xx | ||
239 | bool | ||
240 | |||
241 | # this is temp to handle compat with arch=ppc | ||
242 | config 85xx | ||
243 | bool | ||
244 | |||
245 | config E500 | ||
246 | bool | ||
247 | |||
248 | config PPC_FPU | ||
249 | bool | ||
250 | default y if PPC64 | ||
251 | |||
252 | config PPC_DCR_NATIVE | 130 | config PPC_DCR_NATIVE |
253 | bool | 131 | bool |
254 | default n | 132 | default n |
@@ -267,134 +145,6 @@ config PPC_OF_PLATFORM_PCI | |||
267 | depends on PPC64 # not supported on 32 bits yet | 145 | depends on PPC64 # not supported on 32 bits yet |
268 | default n | 146 | default n |
269 | 147 | ||
270 | config 4xx | ||
271 | bool | ||
272 | depends on 40x || 44x | ||
273 | default y | ||
274 | |||
275 | config BOOKE | ||
276 | bool | ||
277 | depends on E200 || E500 || 44x | ||
278 | default y | ||
279 | |||
280 | config FSL_BOOKE | ||
281 | bool | ||
282 | depends on E200 || E500 | ||
283 | default y | ||
284 | |||
285 | config PTE_64BIT | ||
286 | bool | ||
287 | depends on 44x || E500 | ||
288 | default y if 44x | ||
289 | default y if E500 && PHYS_64BIT | ||
290 | |||
291 | config PHYS_64BIT | ||
292 | bool 'Large physical address support' if E500 | ||
293 | depends on 44x || E500 | ||
294 | select RESOURCES_64BIT | ||
295 | default y if 44x | ||
296 | ---help--- | ||
297 | This option enables kernel support for larger than 32-bit physical | ||
298 | addresses. This features is not be available on all e500 cores. | ||
299 | |||
300 | If in doubt, say N here. | ||
301 | |||
302 | config ALTIVEC | ||
303 | bool "AltiVec Support" | ||
304 | depends on CLASSIC32 || POWER4 | ||
305 | ---help--- | ||
306 | This option enables kernel support for the Altivec extensions to the | ||
307 | PowerPC processor. The kernel currently supports saving and restoring | ||
308 | altivec registers, and turning on the 'altivec enable' bit so user | ||
309 | processes can execute altivec instructions. | ||
310 | |||
311 | This option is only usefully if you have a processor that supports | ||
312 | altivec (G4, otherwise known as 74xx series), but does not have | ||
313 | any affect on a non-altivec cpu (it does, however add code to the | ||
314 | kernel). | ||
315 | |||
316 | If in doubt, say Y here. | ||
317 | |||
318 | config SPE | ||
319 | bool "SPE Support" | ||
320 | depends on E200 || E500 | ||
321 | default y | ||
322 | ---help--- | ||
323 | This option enables kernel support for the Signal Processing | ||
324 | Extensions (SPE) to the PowerPC processor. The kernel currently | ||
325 | supports saving and restoring SPE registers, and turning on the | ||
326 | 'spe enable' bit so user processes can execute SPE instructions. | ||
327 | |||
328 | This option is only useful if you have a processor that supports | ||
329 | SPE (e500, otherwise known as 85xx series), but does not have any | ||
330 | effect on a non-spe cpu (it does, however add code to the kernel). | ||
331 | |||
332 | If in doubt, say Y here. | ||
333 | |||
334 | config PPC_STD_MMU | ||
335 | bool | ||
336 | depends on 6xx || POWER3 || POWER4 || PPC64 | ||
337 | default y | ||
338 | |||
339 | config PPC_STD_MMU_32 | ||
340 | def_bool y | ||
341 | depends on PPC_STD_MMU && PPC32 | ||
342 | |||
343 | config PPC_MM_SLICES | ||
344 | bool | ||
345 | default y if HUGETLB_PAGE | ||
346 | default n | ||
347 | |||
348 | config VIRT_CPU_ACCOUNTING | ||
349 | bool "Deterministic task and CPU time accounting" | ||
350 | depends on PPC64 | ||
351 | default y | ||
352 | help | ||
353 | Select this option to enable more accurate task and CPU time | ||
354 | accounting. This is done by reading a CPU counter on each | ||
355 | kernel entry and exit and on transitions within the kernel | ||
356 | between system, softirq and hardirq state, so there is a | ||
357 | small performance impact. This also enables accounting of | ||
358 | stolen time on logically-partitioned systems running on | ||
359 | IBM POWER5-based machines. | ||
360 | |||
361 | If in doubt, say Y here. | ||
362 | |||
363 | config SMP | ||
364 | depends on PPC_STD_MMU | ||
365 | bool "Symmetric multi-processing support" | ||
366 | ---help--- | ||
367 | This enables support for systems with more than one CPU. If you have | ||
368 | a system with only one CPU, say N. If you have a system with more | ||
369 | than one CPU, say Y. Note that the kernel does not currently | ||
370 | support SMP machines with 603/603e/603ev or PPC750 ("G3") processors | ||
371 | since they have inadequate hardware support for multiprocessor | ||
372 | operation. | ||
373 | |||
374 | If you say N here, the kernel will run on single and multiprocessor | ||
375 | machines, but will use only one CPU of a multiprocessor machine. If | ||
376 | you say Y here, the kernel will run on single-processor machines. | ||
377 | On a single-processor machine, the kernel will run faster if you say | ||
378 | N here. | ||
379 | |||
380 | If you don't know what to do here, say N. | ||
381 | |||
382 | config NR_CPUS | ||
383 | int "Maximum number of CPUs (2-128)" | ||
384 | range 2 128 | ||
385 | depends on SMP | ||
386 | default "32" if PPC64 | ||
387 | default "4" | ||
388 | |||
389 | config NOT_COHERENT_CACHE | ||
390 | bool | ||
391 | depends on 4xx || 8xx || E200 | ||
392 | default y | ||
393 | |||
394 | config CONFIG_CHECK_CACHE_COHERENCY | ||
395 | bool | ||
396 | endmenu | ||
397 | |||
398 | source "init/Kconfig" | 148 | source "init/Kconfig" |
399 | 149 | ||
400 | source "arch/powerpc/platforms/Kconfig" | 150 | source "arch/powerpc/platforms/Kconfig" |