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