diff options
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 267 |
1 files changed, 4 insertions, 263 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 5eaeafd30bdf..cbfbd981cdcd 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -4,17 +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 | |||
14 | config PPC_PM_NEEDS_RTC_LIB | ||
15 | bool | ||
16 | select RTC_LIB | ||
17 | default y if PM | ||
18 | 8 | ||
19 | config PPC32 | 9 | config PPC32 |
20 | bool | 10 | bool |
@@ -132,123 +122,6 @@ config PPC64_SWSUSP | |||
132 | depends on PPC64 && (BROKEN || (PPC_PMAC64 && EXPERIMENTAL)) | 122 | depends on PPC64 && (BROKEN || (PPC_PMAC64 && EXPERIMENTAL)) |
133 | default y | 123 | default y |
134 | 124 | ||
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 | 125 | config PPC_DCR_NATIVE |
253 | bool | 126 | bool |
254 | default n | 127 | default n |
@@ -267,134 +140,6 @@ config PPC_OF_PLATFORM_PCI | |||
267 | depends on PPC64 # not supported on 32 bits yet | 140 | depends on PPC64 # not supported on 32 bits yet |
268 | default n | 141 | default n |
269 | 142 | ||
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" | 143 | source "init/Kconfig" |
399 | 144 | ||
400 | source "arch/powerpc/platforms/Kconfig" | 145 | source "arch/powerpc/platforms/Kconfig" |
@@ -674,10 +419,6 @@ config SBUS | |||
674 | config FSL_SOC | 419 | config FSL_SOC |
675 | bool | 420 | bool |
676 | 421 | ||
677 | config FSL_PCIE | ||
678 | bool | ||
679 | depends on PPC_86xx | ||
680 | |||
681 | # Yes MCA RS/6000s exist but Linux-PPC does not currently support any | 422 | # Yes MCA RS/6000s exist but Linux-PPC does not currently support any |
682 | config MCA | 423 | config MCA |
683 | bool | 424 | bool |
@@ -685,10 +426,10 @@ config MCA | |||
685 | config PCI | 426 | config PCI |
686 | bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \ | 427 | bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \ |
687 | || PPC_MPC52xx || (EMBEDDED && (PPC_PSERIES || PPC_ISERIES)) \ | 428 | || PPC_MPC52xx || (EMBEDDED && (PPC_PSERIES || PPC_ISERIES)) \ |
688 | || MPC7448HPC2 || PPC_PS3 || PPC_HOLLY | 429 | || PPC_PS3 |
689 | default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx \ | 430 | default y if !40x && !CPM2 && !8xx && !PPC_83xx \ |
690 | && !PPC_85xx && !PPC_86xx | 431 | && !PPC_85xx && !PPC_86xx |
691 | default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS | 432 | default PCI_PERMEDIA if !4xx && !CPM2 && !8xx |
692 | default PCI_QSPAN if !4xx && !CPM2 && 8xx | 433 | default PCI_QSPAN if !4xx && !CPM2 && 8xx |
693 | select ARCH_SUPPORTS_MSI | 434 | select ARCH_SUPPORTS_MSI |
694 | help | 435 | help |