]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - arch/powerpc/platforms/Kconfig.cputype
[POWERPC] 4xx Kconfig cleanup
[linux-2.6-omap-h63xx.git] / arch / powerpc / platforms / Kconfig.cputype
1 config PPC64
2         bool "64-bit kernel"
3         default n
4         help
5           This option selects whether a 32-bit or a 64-bit kernel
6           will be built.
7
8 menu "Processor support"
9 choice
10         prompt "Processor Type"
11         depends on PPC32
12         default 6xx
13         help
14           There are five families of 32 bit PowerPC chips supported.
15           The most common ones are the desktop and server CPUs (601, 603,
16           604, 740, 750, 74xx) CPUs from Freescale and IBM, with their
17           embedded 52xx/82xx/83xx/86xx counterparts.
18           The other embeeded parts, namely 4xx, 8xx, e200 (55xx) and e500
19           (85xx) each form a family of their own that is not compatible
20           with the others.
21
22           If unsure, select 52xx/6xx/7xx/74xx/82xx/83xx/86xx.
23
24 config 6xx
25         bool "52xx/6xx/7xx/74xx/82xx/83xx/86xx"
26         select PPC_FPU
27
28 config PPC_85xx
29         bool "Freescale 85xx"
30         select E500
31         select FSL_SOC
32         select 85xx
33         select WANT_DEVICE_TREE
34
35 config PPC_8xx
36         bool "Freescale 8xx"
37         select FSL_SOC
38         select 8xx
39
40 config 40x
41         bool "AMCC 40x"
42         select PPC_DCR_NATIVE
43         select WANT_DEVICE_TREE
44
45 config 44x
46         bool "AMCC 44x"
47         select PPC_DCR_NATIVE
48         select WANT_DEVICE_TREE
49
50 config E200
51         bool "Freescale e200"
52
53 endchoice
54
55 config POWER4_ONLY
56         bool "Optimize for POWER4"
57         depends on PPC64
58         default n
59         ---help---
60           Cause the compiler to optimize for POWER4/POWER5/PPC970 processors.
61           The resulting binary will not work on POWER3 or RS64 processors
62           when compiled with binutils 2.15 or later.
63
64 config POWER3
65         bool
66         depends on PPC64
67         default y if !POWER4_ONLY
68
69 config POWER4
70         depends on PPC64
71         def_bool y
72
73 config 6xx
74         bool
75
76 # this is temp to handle compat with arch=ppc
77 config 8xx
78         bool
79
80 # this is temp to handle compat with arch=ppc
81 config 83xx
82         bool
83
84 # this is temp to handle compat with arch=ppc
85 config 85xx
86         bool
87
88 config E500
89         bool
90
91 config PPC_FPU
92         bool
93         default y if PPC64
94
95 config 4xx
96         bool
97         depends on 40x || 44x
98         default y
99
100 config BOOKE
101         bool
102         depends on E200 || E500 || 44x
103         default y
104
105 config FSL_BOOKE
106         bool
107         depends on E200 || E500
108         default y
109
110 config PTE_64BIT
111         bool
112         depends on 44x || E500
113         default y if 44x
114         default y if E500 && PHYS_64BIT
115
116 config PHYS_64BIT
117         bool 'Large physical address support' if E500
118         depends on 44x || E500
119         select RESOURCES_64BIT
120         default y if 44x
121         ---help---
122           This option enables kernel support for larger than 32-bit physical
123           addresses.  This features is not be available on all e500 cores.
124
125           If in doubt, say N here.
126
127 config ALTIVEC
128         bool "AltiVec Support"
129         depends on CLASSIC32 || POWER4
130         ---help---
131           This option enables kernel support for the Altivec extensions to the
132           PowerPC processor. The kernel currently supports saving and restoring
133           altivec registers, and turning on the 'altivec enable' bit so user
134           processes can execute altivec instructions.
135
136           This option is only usefully if you have a processor that supports
137           altivec (G4, otherwise known as 74xx series), but does not have
138           any affect on a non-altivec cpu (it does, however add code to the
139           kernel).
140
141           If in doubt, say Y here.
142
143 config SPE
144         bool "SPE Support"
145         depends on E200 || E500
146         default y
147         ---help---
148           This option enables kernel support for the Signal Processing
149           Extensions (SPE) to the PowerPC processor. The kernel currently
150           supports saving and restoring SPE registers, and turning on the
151           'spe enable' bit so user processes can execute SPE instructions.
152
153           This option is only useful if you have a processor that supports
154           SPE (e500, otherwise known as 85xx series), but does not have any
155           effect on a non-spe cpu (it does, however add code to the kernel).
156
157           If in doubt, say Y here.
158
159 config PPC_STD_MMU
160         bool
161         depends on 6xx || POWER3 || POWER4 || PPC64
162         default y
163
164 config PPC_STD_MMU_32
165         def_bool y
166         depends on PPC_STD_MMU && PPC32
167
168 config PPC_MM_SLICES
169         bool
170         default y if HUGETLB_PAGE
171         default n
172
173 config VIRT_CPU_ACCOUNTING
174         bool "Deterministic task and CPU time accounting"
175         depends on PPC64
176         default y
177         help
178           Select this option to enable more accurate task and CPU time
179           accounting.  This is done by reading a CPU counter on each
180           kernel entry and exit and on transitions within the kernel
181           between system, softirq and hardirq state, so there is a
182           small performance impact.  This also enables accounting of
183           stolen time on logically-partitioned systems running on
184           IBM POWER5-based machines.
185
186           If in doubt, say Y here.
187
188 config SMP
189         depends on PPC_STD_MMU
190         bool "Symmetric multi-processing support"
191         ---help---
192           This enables support for systems with more than one CPU. If you have
193           a system with only one CPU, say N. If you have a system with more
194           than one CPU, say Y.  Note that the kernel does not currently
195           support SMP machines with 603/603e/603ev or PPC750 ("G3") processors
196           since they have inadequate hardware support for multiprocessor
197           operation.
198
199           If you say N here, the kernel will run on single and multiprocessor
200           machines, but will use only one CPU of a multiprocessor machine. If
201           you say Y here, the kernel will run on single-processor machines.
202           On a single-processor machine, the kernel will run faster if you say
203           N here.
204
205           If you don't know what to do here, say N.
206
207 config NR_CPUS
208         int "Maximum number of CPUs (2-128)"
209         range 2 128
210         depends on SMP
211         default "32" if PPC64
212         default "4"
213
214 config NOT_COHERENT_CACHE
215         bool
216         depends on 4xx || 8xx || E200
217         default y
218
219 config CHECK_CACHE_COHERENCY
220         bool
221
222 endmenu