]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/powerpc/platforms/Kconfig.cputype
ps3rom: Use ps3_system_bus_[gs]et_drvdata() instead of direct access
[net-next-2.6.git] / arch / powerpc / platforms / Kconfig.cputype
CommitLineData
a0ae9c7c
AB
1config PPC64
2 bool "64-bit kernel"
3 default n
d662ed26 4 select HAVE_PERF_COUNTERS
a0ae9c7c
AB
5 help
6 This option selects whether a 32-bit or a 64-bit kernel
7 will be built.
8
9menu "Processor support"
10choice
11 prompt "Processor Type"
12 depends on PPC32
a0ae9c7c 13 help
b9fd305d
AB
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
e177edcd 17 embedded 512x/52xx/82xx/83xx/86xx counterparts.
b9fd305d
AB
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
5b7c3c91 24config PPC_BOOK3S
e177edcd 25 bool "512x/52xx/6xx/7xx/74xx/82xx/83xx/86xx"
a0ae9c7c
AB
26 select PPC_FPU
27
a0ae9c7c
AB
28config PPC_85xx
29 bool "Freescale 85xx"
30 select E500
31 select FSL_SOC
3a83156b 32 select MPC85xx
a0ae9c7c 33
a0ae9c7c
AB
34config PPC_8xx
35 bool "Freescale 8xx"
36 select FSL_SOC
37 select 8xx
1088a209 38 select PPC_LIB_RHEAP
a0ae9c7c
AB
39
40config 40x
41 bool "AMCC 40x"
42 select PPC_DCR_NATIVE
9dae8afd 43 select PPC_UDBG_16550
93173ce2 44 select 4xx_SOC
b500563b 45 select PPC_PCI_CHOICE
a0ae9c7c
AB
46
47config 44x
48 bool "AMCC 44x"
49 select PPC_DCR_NATIVE
1d5499b5 50 select PPC_UDBG_16550
93173ce2 51 select 4xx_SOC
b500563b 52 select PPC_PCI_CHOICE
4ee7084e 53 select PHYS_64BIT
a0ae9c7c
AB
54
55config E200
56 bool "Freescale e200"
57
58endchoice
59
28794d34 60config PPC_BOOK3S
5b7c3c91
BH
61 default y
62 depends on PPC64
63 select PPC_FPU
64
28794d34 65
a0ae9c7c
AB
66config POWER4_ONLY
67 bool "Optimize for POWER4"
28794d34 68 depends on PPC64 && PPC_BOOK3S
a0ae9c7c
AB
69 default n
70 ---help---
71 Cause the compiler to optimize for POWER4/POWER5/PPC970 processors.
72 The resulting binary will not work on POWER3 or RS64 processors
73 when compiled with binutils 2.15 or later.
74
5b7c3c91
BH
75config 6xx
76 def_bool y
77 depends on PPC32 && PPC_BOOK3S
78
a0ae9c7c
AB
79config POWER3
80 bool
28794d34 81 depends on PPC64 && PPC_BOOK3S
a0ae9c7c
AB
82 default y if !POWER4_ONLY
83
84config POWER4
28794d34 85 depends on PPC64 && PPC_BOOK3S
a0ae9c7c
AB
86 def_bool y
87
3164cccd
AB
88config TUNE_CELL
89 bool "Optimize for Cell Broadband Engine"
28794d34 90 depends on PPC64 && PPC_BOOK3S
3164cccd
AB
91 help
92 Cause the compiler to optimize for the PPE of the Cell Broadband
93 Engine. This will make the code run considerably faster on Cell
94 but somewhat slower on other machines. This option only changes
95 the scheduling of instructions, not the selection of instructions
96 itself, so the resulting kernel will keep running on all other
97 machines. When building a kernel that is supposed to run only
98 on Cell, you should also select the POWER4_ONLY option.
99
a0ae9c7c
AB
100# this is temp to handle compat with arch=ppc
101config 8xx
102 bool
103
a0ae9c7c 104config E500
39aef685 105 select FSL_EMB_PERFMON
a0ae9c7c
AB
106 bool
107
3dfa8773
KG
108config PPC_E500MC
109 bool "e500mc Support"
110 select PPC_FPU
111 depends on E500
112
a0ae9c7c
AB
113config PPC_FPU
114 bool
115 default y if PPC64
116
117config 4xx
118 bool
119 depends on 40x || 44x
120 default y
121
122config BOOKE
123 bool
124 depends on E200 || E500 || 44x
125 default y
126
127config FSL_BOOKE
128 bool
129 depends on E200 || E500
130 default y
131
39aef685 132config FSL_EMB_PERFMON
ad562c71
AF
133 bool "Freescale Embedded Perfmon"
134 depends on E500 || PPC_83xx
135 help
136 This is the Performance Monitor support found on the e500 core
137 and some e300 cores (c3 and c4). Select this only if your
138 core supports the Embedded Performance Monitor APU
39aef685 139
a0ae9c7c
AB
140config PTE_64BIT
141 bool
4ee7084e
BB
142 depends on 44x || E500 || PPC_86xx
143 default y if PHYS_64BIT
a0ae9c7c
AB
144
145config PHYS_64BIT
4ee7084e
BB
146 bool 'Large physical address support' if E500 || PPC_86xx
147 depends on (44x || E500 || PPC_86xx) && !PPC_83xx && !PPC_82xx
a0ae9c7c
AB
148 ---help---
149 This option enables kernel support for larger than 32-bit physical
4ee7084e
BB
150 addresses. This feature may not be available on all cores.
151
152 If you have more than 3.5GB of RAM or so, you also need to enable
153 SWIOTLB under Kernel Options for this to work. The actual number
154 is platform-dependent.
a0ae9c7c
AB
155
156 If in doubt, say N here.
157
158config ALTIVEC
159 bool "AltiVec Support"
28794d34 160 depends on 6xx || POWER4
a0ae9c7c
AB
161 ---help---
162 This option enables kernel support for the Altivec extensions to the
163 PowerPC processor. The kernel currently supports saving and restoring
164 altivec registers, and turning on the 'altivec enable' bit so user
165 processes can execute altivec instructions.
166
167 This option is only usefully if you have a processor that supports
168 altivec (G4, otherwise known as 74xx series), but does not have
169 any affect on a non-altivec cpu (it does, however add code to the
170 kernel).
171
172 If in doubt, say Y here.
173
96d5b52c
MN
174config VSX
175 bool "VSX Support"
176 depends on POWER4 && ALTIVEC && PPC_FPU
177 ---help---
178
179 This option enables kernel support for the Vector Scaler extensions
180 to the PowerPC processor. The kernel currently supports saving and
181 restoring VSX registers, and turning on the 'VSX enable' bit so user
182 processes can execute VSX instructions.
183
184 This option is only useful if you have a processor that supports
185 VSX (P7 and above), but does not have any affect on a non-VSX
186 CPUs (it does, however add code to the kernel).
187
188 If in doubt, say Y here.
189
a0ae9c7c
AB
190config SPE
191 bool "SPE Support"
3dfa8773 192 depends on E200 || (E500 && !PPC_E500MC)
a0ae9c7c
AB
193 default y
194 ---help---
195 This option enables kernel support for the Signal Processing
196 Extensions (SPE) to the PowerPC processor. The kernel currently
197 supports saving and restoring SPE registers, and turning on the
198 'spe enable' bit so user processes can execute SPE instructions.
199
200 This option is only useful if you have a processor that supports
201 SPE (e500, otherwise known as 85xx series), but does not have any
202 effect on a non-spe cpu (it does, however add code to the kernel).
203
204 If in doubt, say Y here.
205
206config PPC_STD_MMU
5b7c3c91
BH
207 def_bool y
208 depends on PPC_BOOK3S
a0ae9c7c
AB
209
210config PPC_STD_MMU_32
211 def_bool y
212 depends on PPC_STD_MMU && PPC32
213
5e696617
BH
214config PPC_STD_MMU_64
215 def_bool y
216 depends on PPC_STD_MMU && PPC64
217
218config PPC_MMU_NOHASH
219 def_bool y
220 depends on !PPC_STD_MMU
221
70fe3af8
KG
222config PPC_BOOK3E_MMU
223 def_bool y
224 depends on FSL_BOOKE
225
a0ae9c7c
AB
226config PPC_MM_SLICES
227 bool
ca9153a3 228 default y if HUGETLB_PAGE || (PPC_STD_MMU_64 && PPC_64K_PAGES)
a0ae9c7c
AB
229 default n
230
231config VIRT_CPU_ACCOUNTING
232 bool "Deterministic task and CPU time accounting"
233 depends on PPC64
234 default y
235 help
236 Select this option to enable more accurate task and CPU time
237 accounting. This is done by reading a CPU counter on each
238 kernel entry and exit and on transitions within the kernel
239 between system, softirq and hardirq state, so there is a
240 small performance impact. This also enables accounting of
241 stolen time on logically-partitioned systems running on
242 IBM POWER5-based machines.
243
244 If in doubt, say Y here.
245
246config SMP
00c4b95c 247 depends on PPC_STD_MMU || FSL_BOOKE
a0ae9c7c
AB
248 bool "Symmetric multi-processing support"
249 ---help---
250 This enables support for systems with more than one CPU. If you have
251 a system with only one CPU, say N. If you have a system with more
252 than one CPU, say Y. Note that the kernel does not currently
253 support SMP machines with 603/603e/603ev or PPC750 ("G3") processors
254 since they have inadequate hardware support for multiprocessor
255 operation.
256
257 If you say N here, the kernel will run on single and multiprocessor
258 machines, but will use only one CPU of a multiprocessor machine. If
259 you say Y here, the kernel will run on single-processor machines.
260 On a single-processor machine, the kernel will run faster if you say
261 N here.
262
263 If you don't know what to do here, say N.
264
265config NR_CPUS
2d8ae638
MN
266 int "Maximum number of CPUs (2-8192)"
267 range 2 8192
a0ae9c7c
AB
268 depends on SMP
269 default "32" if PPC64
270 default "4"
271
272config NOT_COHERENT_CACHE
273 bool
e177edcd 274 depends on 4xx || 8xx || E200 || PPC_MPC512x
a0ae9c7c
AB
275 default y
276
f8eb77d6 277config CHECK_CACHE_COHERENCY
a0ae9c7c
AB
278 bool
279
280endmenu