diff options
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r-- | arch/sh/Kconfig | 441 |
1 files changed, 228 insertions, 213 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 038179ecf6a..d8ed6676ae8 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -55,8 +55,21 @@ config GENERIC_TIME | |||
55 | config GENERIC_CLOCKEVENTS | 55 | config GENERIC_CLOCKEVENTS |
56 | def_bool n | 56 | def_bool n |
57 | 57 | ||
58 | config SYS_SUPPORTS_PM | ||
59 | bool | ||
60 | |||
58 | config SYS_SUPPORTS_APM_EMULATION | 61 | config SYS_SUPPORTS_APM_EMULATION |
59 | bool | 62 | bool |
63 | select SYS_SUPPORTS_PM | ||
64 | |||
65 | config SYS_SUPPORTS_SMP | ||
66 | bool | ||
67 | |||
68 | config SYS_SUPPORTS_NUMA | ||
69 | bool | ||
70 | |||
71 | config SYS_SUPPORTS_PCI | ||
72 | bool | ||
60 | 73 | ||
61 | config ARCH_MAY_HAVE_PC_FDC | 74 | config ARCH_MAY_HAVE_PC_FDC |
62 | bool | 75 | bool |
@@ -81,24 +94,146 @@ source "init/Kconfig" | |||
81 | 94 | ||
82 | menu "System type" | 95 | menu "System type" |
83 | 96 | ||
84 | config SOLUTION_ENGINE | 97 | source "arch/sh/mm/Kconfig" |
85 | bool | 98 | |
99 | menu "Processor features" | ||
86 | 100 | ||
87 | choice | 101 | choice |
88 | prompt "SuperH system type" | 102 | prompt "Endianess selection" |
89 | default SH_UNKNOWN | 103 | default CPU_LITTLE_ENDIAN |
104 | help | ||
105 | Some SuperH machines can be configured for either little or big | ||
106 | endian byte order. These modes require different kernels. | ||
107 | |||
108 | config CPU_LITTLE_ENDIAN | ||
109 | bool "Little Endian" | ||
110 | |||
111 | config CPU_BIG_ENDIAN | ||
112 | bool "Big Endian" | ||
113 | |||
114 | endchoice | ||
115 | |||
116 | config SH_FPU | ||
117 | bool "FPU support" | ||
118 | depends on CPU_SH4 | ||
119 | default y | ||
120 | help | ||
121 | Selecting this option will enable support for SH processors that | ||
122 | have FPU units (ie, SH77xx). | ||
123 | |||
124 | This option must be set in order to enable the FPU. | ||
125 | |||
126 | config SH_FPU_EMU | ||
127 | bool "FPU emulation support" | ||
128 | depends on !SH_FPU && EXPERIMENTAL | ||
129 | default n | ||
130 | help | ||
131 | Selecting this option will enable support for software FPU emulation. | ||
132 | Most SH-3 users will want to say Y here, whereas most SH-4 users will | ||
133 | want to say N. | ||
134 | |||
135 | config SH_DSP | ||
136 | bool "DSP support" | ||
137 | default y if SH4AL_DSP || !CPU_SH4 | ||
138 | default n | ||
139 | help | ||
140 | Selecting this option will enable support for SH processors that | ||
141 | have DSP units (ie, SH2-DSP, SH3-DSP, and SH4AL-DSP). | ||
142 | |||
143 | This option must be set in order to enable the DSP. | ||
144 | |||
145 | config SH_ADC | ||
146 | bool "ADC support" | ||
147 | depends on CPU_SH3 | ||
148 | default y | ||
149 | help | ||
150 | Selecting this option will allow the Linux kernel to use SH3 on-chip | ||
151 | ADC module. | ||
152 | |||
153 | If unsure, say N. | ||
154 | |||
155 | config SH_STORE_QUEUES | ||
156 | bool "Support for Store Queues" | ||
157 | depends on CPU_SH4 | ||
158 | help | ||
159 | Selecting this option will enable an in-kernel API for manipulating | ||
160 | the store queues integrated in the SH-4 processors. | ||
161 | |||
162 | config SPECULATIVE_EXECUTION | ||
163 | bool "Speculative subroutine return" | ||
164 | depends on CPU_SUBTYPE_SH7780 && EXPERIMENTAL | ||
165 | help | ||
166 | This enables support for a speculative instruction fetch for | ||
167 | subroutine return. There are various pitfalls associated with | ||
168 | this, as outlined in the SH7780 hardware manual. | ||
169 | |||
170 | If unsure, say N. | ||
171 | |||
172 | config CPU_HAS_INTEVT | ||
173 | bool | ||
174 | |||
175 | config CPU_HAS_PINT_IRQ | ||
176 | bool | ||
177 | |||
178 | config CPU_HAS_MASKREG_IRQ | ||
179 | bool | ||
180 | |||
181 | config CPU_HAS_INTC2_IRQ | ||
182 | bool | ||
183 | |||
184 | config CPU_HAS_IPR_IRQ | ||
185 | bool | ||
186 | |||
187 | config CPU_HAS_SR_RB | ||
188 | bool "CPU has SR.RB" | ||
189 | depends on CPU_SH3 || CPU_SH4 | ||
190 | default y | ||
191 | help | ||
192 | This will enable the use of SR.RB register bank usage. Processors | ||
193 | that are lacking this bit must have another method in place for | ||
194 | accomplishing what is taken care of by the banked registers. | ||
195 | |||
196 | See <file:Documentation/sh/register-banks.txt> for further | ||
197 | information on SR.RB and register banking in the kernel in general. | ||
198 | |||
199 | config CPU_HAS_PTEA | ||
200 | bool | ||
201 | |||
202 | endmenu | ||
203 | |||
204 | menu "Board support" | ||
205 | |||
206 | config SOLUTION_ENGINE | ||
207 | bool | ||
90 | 208 | ||
91 | config SH_SOLUTION_ENGINE | 209 | config SH_SOLUTION_ENGINE |
92 | bool "SolutionEngine" | 210 | bool "SolutionEngine" |
93 | select SOLUTION_ENGINE | 211 | select SOLUTION_ENGINE |
212 | depends on CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7750 | ||
94 | help | 213 | help |
95 | Select SolutionEngine if configuring for a Hitachi SH7709 | 214 | Select SolutionEngine if configuring for a Hitachi SH7709 |
96 | or SH7750 evaluation board. | 215 | or SH7750 evaluation board. |
97 | 216 | ||
217 | config SH_7206_SOLUTION_ENGINE | ||
218 | bool "SolutionEngine7206" | ||
219 | select SOLUTION_ENGINE | ||
220 | depends on CPU_SUBTYPE_SH7206 | ||
221 | help | ||
222 | Select 7206 SolutionEngine if configuring for a Hitachi SH7206 | ||
223 | evaluation board. | ||
224 | |||
225 | config SH_7619_SOLUTION_ENGINE | ||
226 | bool "SolutionEngine7619" | ||
227 | select SOLUTION_ENGINE | ||
228 | depends on CPU_SUBTYPE_SH7619 | ||
229 | help | ||
230 | Select 7619 SolutionEngine if configuring for a Hitachi SH7619 | ||
231 | evaluation board. | ||
232 | |||
98 | config SH_7722_SOLUTION_ENGINE | 233 | config SH_7722_SOLUTION_ENGINE |
99 | bool "SolutionEngine7722" | 234 | bool "SolutionEngine7722" |
100 | select SOLUTION_ENGINE | 235 | select SOLUTION_ENGINE |
101 | select CPU_SUBTYPE_SH7722 | 236 | depends on CPU_SUBTYPE_SH7722 |
102 | help | 237 | help |
103 | Select 7722 SolutionEngine if configuring for a Hitachi SH772 | 238 | Select 7722 SolutionEngine if configuring for a Hitachi SH772 |
104 | evaluation board. | 239 | evaluation board. |
@@ -106,7 +241,7 @@ config SH_7722_SOLUTION_ENGINE | |||
106 | config SH_7751_SOLUTION_ENGINE | 241 | config SH_7751_SOLUTION_ENGINE |
107 | bool "SolutionEngine7751" | 242 | bool "SolutionEngine7751" |
108 | select SOLUTION_ENGINE | 243 | select SOLUTION_ENGINE |
109 | select CPU_SUBTYPE_SH7751 | 244 | depends on CPU_SUBTYPE_SH7751 |
110 | help | 245 | help |
111 | Select 7751 SolutionEngine if configuring for a Hitachi SH7751 | 246 | Select 7751 SolutionEngine if configuring for a Hitachi SH7751 |
112 | evaluation board. | 247 | evaluation board. |
@@ -114,7 +249,8 @@ config SH_7751_SOLUTION_ENGINE | |||
114 | config SH_7780_SOLUTION_ENGINE | 249 | config SH_7780_SOLUTION_ENGINE |
115 | bool "SolutionEngine7780" | 250 | bool "SolutionEngine7780" |
116 | select SOLUTION_ENGINE | 251 | select SOLUTION_ENGINE |
117 | select CPU_SUBTYPE_SH7780 | 252 | select SYS_SUPPORTS_PCI |
253 | depends on CPU_SUBTYPE_SH7780 | ||
118 | help | 254 | help |
119 | Select 7780 SolutionEngine if configuring for a Renesas SH7780 | 255 | Select 7780 SolutionEngine if configuring for a Renesas SH7780 |
120 | evaluation board. | 256 | evaluation board. |
@@ -122,7 +258,7 @@ config SH_7780_SOLUTION_ENGINE | |||
122 | config SH_7300_SOLUTION_ENGINE | 258 | config SH_7300_SOLUTION_ENGINE |
123 | bool "SolutionEngine7300" | 259 | bool "SolutionEngine7300" |
124 | select SOLUTION_ENGINE | 260 | select SOLUTION_ENGINE |
125 | select CPU_SUBTYPE_SH7300 | 261 | depends on CPU_SUBTYPE_SH7300 |
126 | help | 262 | help |
127 | Select 7300 SolutionEngine if configuring for a Hitachi | 263 | Select 7300 SolutionEngine if configuring for a Hitachi |
128 | SH7300(SH-Mobile V) evaluation board. | 264 | SH7300(SH-Mobile V) evaluation board. |
@@ -130,22 +266,22 @@ config SH_7300_SOLUTION_ENGINE | |||
130 | config SH_7343_SOLUTION_ENGINE | 266 | config SH_7343_SOLUTION_ENGINE |
131 | bool "SolutionEngine7343" | 267 | bool "SolutionEngine7343" |
132 | select SOLUTION_ENGINE | 268 | select SOLUTION_ENGINE |
133 | select CPU_SUBTYPE_SH7343 | 269 | depends on CPU_SUBTYPE_SH7343 |
134 | help | 270 | help |
135 | Select 7343 SolutionEngine if configuring for a Hitachi | 271 | Select 7343 SolutionEngine if configuring for a Hitachi |
136 | SH7343 (SH-Mobile 3AS) evaluation board. | 272 | SH7343 (SH-Mobile 3AS) evaluation board. |
137 | 273 | ||
138 | config SH_73180_SOLUTION_ENGINE | 274 | config SH_73180_SOLUTION_ENGINE |
139 | bool "SolutionEngine73180" | 275 | bool "SolutionEngine73180" |
140 | select SOLUTION_ENGINE | 276 | select SOLUTION_ENGINE |
141 | select CPU_SUBTYPE_SH73180 | 277 | depends on CPU_SUBTYPE_SH73180 |
142 | help | 278 | help |
143 | Select 73180 SolutionEngine if configuring for a Hitachi | 279 | Select 73180 SolutionEngine if configuring for a Hitachi |
144 | SH73180(SH-Mobile 3) evaluation board. | 280 | SH73180(SH-Mobile 3) evaluation board. |
145 | 281 | ||
146 | config SH_7751_SYSTEMH | 282 | config SH_7751_SYSTEMH |
147 | bool "SystemH7751R" | 283 | bool "SystemH7751R" |
148 | select CPU_SUBTYPE_SH7751R | 284 | depends on CPU_SUBTYPE_SH7751R |
149 | help | 285 | help |
150 | Select SystemH if you are configuring for a Renesas SystemH | 286 | Select SystemH if you are configuring for a Renesas SystemH |
151 | 7751R evaluation board. | 287 | 7751R evaluation board. |
@@ -153,20 +289,17 @@ config SH_7751_SYSTEMH | |||
153 | config SH_HP6XX | 289 | config SH_HP6XX |
154 | bool "HP6XX" | 290 | bool "HP6XX" |
155 | select SYS_SUPPORTS_APM_EMULATION | 291 | select SYS_SUPPORTS_APM_EMULATION |
292 | select HD6446X_SERIES | ||
293 | depends on CPU_SUBTYPE_SH7709 | ||
156 | help | 294 | help |
157 | Select HP6XX if configuring for a HP jornada HP6xx. | 295 | Select HP6XX if configuring for a HP jornada HP6xx. |
158 | More information (hardware only) at | 296 | More information (hardware only) at |
159 | <http://www.hp.com/jornada/>. | 297 | <http://www.hp.com/jornada/>. |
160 | 298 | ||
161 | config SH_SATURN | ||
162 | bool "Saturn" | ||
163 | select CPU_SUBTYPE_SH7604 | ||
164 | help | ||
165 | Select Saturn if configuring for a SEGA Saturn. | ||
166 | |||
167 | config SH_DREAMCAST | 299 | config SH_DREAMCAST |
168 | bool "Dreamcast" | 300 | bool "Dreamcast" |
169 | select CPU_SUBTYPE_SH7091 | 301 | select SYS_SUPPORTS_PCI |
302 | depends on CPU_SUBTYPE_SH7091 | ||
170 | help | 303 | help |
171 | Select Dreamcast if configuring for a SEGA Dreamcast. | 304 | Select Dreamcast if configuring for a SEGA Dreamcast. |
172 | More information at | 305 | More information at |
@@ -175,6 +308,7 @@ config SH_DREAMCAST | |||
175 | 308 | ||
176 | config SH_MPC1211 | 309 | config SH_MPC1211 |
177 | bool "Interface MPC1211" | 310 | bool "Interface MPC1211" |
311 | depends on CPU_SUBTYPE_SH7751 && BROKEN | ||
178 | help | 312 | help |
179 | CTP/PCI-SH02 is a CPU module computer that is produced | 313 | CTP/PCI-SH02 is a CPU module computer that is produced |
180 | by Interface Corporation. | 314 | by Interface Corporation. |
@@ -182,6 +316,8 @@ config SH_MPC1211 | |||
182 | 316 | ||
183 | config SH_SH03 | 317 | config SH_SH03 |
184 | bool "Interface CTP/PCI-SH03" | 318 | bool "Interface CTP/PCI-SH03" |
319 | depends on CPU_SUBTYPE_SH7751 && BROKEN | ||
320 | select SYS_SUPPORTS_PCI | ||
185 | help | 321 | help |
186 | CTP/PCI-SH03 is a CPU module computer that is produced | 322 | CTP/PCI-SH03 is a CPU module computer that is produced |
187 | by Interface Corporation. | 323 | by Interface Corporation. |
@@ -189,7 +325,8 @@ config SH_SH03 | |||
189 | 325 | ||
190 | config SH_SECUREEDGE5410 | 326 | config SH_SECUREEDGE5410 |
191 | bool "SecureEdge5410" | 327 | bool "SecureEdge5410" |
192 | select CPU_SUBTYPE_SH7751R | 328 | depends on CPU_SUBTYPE_SH7751R |
329 | select SYS_SUPPORTS_PCI | ||
193 | help | 330 | help |
194 | Select SecureEdge5410 if configuring for a SnapGear SH board. | 331 | Select SecureEdge5410 if configuring for a SnapGear SH board. |
195 | This includes both the OEM SecureEdge products as well as the | 332 | This includes both the OEM SecureEdge products as well as the |
@@ -197,246 +334,76 @@ config SH_SECUREEDGE5410 | |||
197 | 334 | ||
198 | config SH_HS7751RVOIP | 335 | config SH_HS7751RVOIP |
199 | bool "HS7751RVOIP" | 336 | bool "HS7751RVOIP" |
200 | select CPU_SUBTYPE_SH7751R | 337 | depends on CPU_SUBTYPE_SH7751R |
201 | help | 338 | help |
202 | Select HS7751RVOIP if configuring for a Renesas Technology | 339 | Select HS7751RVOIP if configuring for a Renesas Technology |
203 | Sales VoIP board. | 340 | Sales VoIP board. |
204 | 341 | ||
205 | config SH_7710VOIPGW | 342 | config SH_7710VOIPGW |
206 | bool "SH7710-VOIP-GW" | 343 | bool "SH7710-VOIP-GW" |
207 | select CPU_SUBTYPE_SH7710 | 344 | depends on CPU_SUBTYPE_SH7710 |
208 | help | 345 | help |
209 | Select this option to build a kernel for the SH7710 based | 346 | Select this option to build a kernel for the SH7710 based |
210 | VOIP GW. | 347 | VOIP GW. |
211 | 348 | ||
212 | config SH_RTS7751R2D | 349 | config SH_RTS7751R2D |
213 | bool "RTS7751R2D" | 350 | bool "RTS7751R2D" |
214 | select CPU_SUBTYPE_SH7751R | 351 | depends on CPU_SUBTYPE_SH7751R |
352 | select SYS_SUPPORTS_PCI | ||
215 | help | 353 | help |
216 | Select RTS7751R2D if configuring for a Renesas Technology | 354 | Select RTS7751R2D if configuring for a Renesas Technology |
217 | Sales SH-Graphics board. | 355 | Sales SH-Graphics board. |
218 | 356 | ||
219 | config SH_HIGHLANDER | 357 | config SH_HIGHLANDER |
220 | bool "Highlander" | 358 | bool "Highlander" |
359 | depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 | ||
360 | select SYS_SUPPORTS_PCI | ||
221 | 361 | ||
222 | config SH_EDOSK7705 | 362 | config SH_EDOSK7705 |
223 | bool "EDOSK7705" | 363 | bool "EDOSK7705" |
224 | select CPU_SUBTYPE_SH7705 | 364 | depends on CPU_SUBTYPE_SH7705 |
225 | 365 | ||
226 | config SH_SH4202_MICRODEV | 366 | config SH_SH4202_MICRODEV |
227 | bool "SH4-202 MicroDev" | 367 | bool "SH4-202 MicroDev" |
228 | select CPU_SUBTYPE_SH4_202 | 368 | depends on CPU_SUBTYPE_SH4_202 |
229 | help | 369 | help |
230 | Select SH4-202 MicroDev if configuring for a SuperH MicroDev board | 370 | Select SH4-202 MicroDev if configuring for a SuperH MicroDev board |
231 | with an SH4-202 CPU. | 371 | with an SH4-202 CPU. |
232 | 372 | ||
233 | config SH_LANDISK | 373 | config SH_LANDISK |
234 | bool "LANDISK" | 374 | bool "LANDISK" |
235 | select CPU_SUBTYPE_SH7751R | 375 | depends on CPU_SUBTYPE_SH7751R |
376 | select SYS_SUPPORTS_PCI | ||
236 | help | 377 | help |
237 | I-O DATA DEVICE, INC. "LANDISK Series" support. | 378 | I-O DATA DEVICE, INC. "LANDISK Series" support. |
238 | 379 | ||
239 | config SH_TITAN | 380 | config SH_TITAN |
240 | bool "TITAN" | 381 | bool "TITAN" |
241 | select CPU_SUBTYPE_SH7751R | 382 | depends on CPU_SUBTYPE_SH7751R |
383 | select SYS_SUPPORTS_PCI | ||
242 | help | 384 | help |
243 | Select Titan if you are configuring for a Nimble Microsystems | 385 | Select Titan if you are configuring for a Nimble Microsystems |
244 | NetEngine NP51R. | 386 | NetEngine NP51R. |
245 | 387 | ||
246 | config SH_SHMIN | 388 | config SH_SHMIN |
247 | bool "SHMIN" | 389 | bool "SHMIN" |
248 | select CPU_SUBTYPE_SH7706 | 390 | depends on CPU_SUBTYPE_SH7706 |
249 | help | 391 | help |
250 | Select SHMIN if configuring for the SHMIN board. | 392 | Select SHMIN if configuring for the SHMIN board. |
251 | 393 | ||
252 | config SH_7206_SOLUTION_ENGINE | ||
253 | bool "SolutionEngine7206" | ||
254 | select CPU_SUBTYPE_SH7206 | ||
255 | help | ||
256 | Select 7206 SolutionEngine if configuring for a Hitachi SH7206 | ||
257 | evaluation board. | ||
258 | |||
259 | config SH_7619_SOLUTION_ENGINE | ||
260 | bool "SolutionEngine7619" | ||
261 | select CPU_SUBTYPE_SH7619 | ||
262 | help | ||
263 | Select 7619 SolutionEngine if configuring for a Hitachi SH7619 | ||
264 | evaluation board. | ||
265 | |||
266 | config SH_LBOX_RE2 | 394 | config SH_LBOX_RE2 |
267 | bool "L-BOX RE2" | 395 | bool "L-BOX RE2" |
268 | select CPU_SUBTYPE_SH7751R | 396 | depends on CPU_SUBTYPE_SH7751R |
397 | select SYS_SUPPORTS_PCI | ||
269 | help | 398 | help |
270 | Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2. | 399 | Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2. |
271 | 400 | ||
272 | config SH_UNKNOWN | 401 | endmenu |
273 | bool "BareCPU" | ||
274 | help | ||
275 | "Bare CPU" aka "unknown" means an SH-based system which is not one | ||
276 | of the specific ones mentioned above, which means you need to enter | ||
277 | all sorts of stuff like CONFIG_MEMORY_START because the config | ||
278 | system doesn't already know what it is. You get a machine vector | ||
279 | without any platform-specific code in it, so things like the RTC may | ||
280 | not work. | ||
281 | |||
282 | This option is for the early stages of porting to a new machine. | ||
283 | |||
284 | endchoice | ||
285 | 402 | ||
286 | source "arch/sh/boards/renesas/hs7751rvoip/Kconfig" | 403 | source "arch/sh/boards/renesas/hs7751rvoip/Kconfig" |
287 | source "arch/sh/boards/renesas/rts7751r2d/Kconfig" | 404 | source "arch/sh/boards/renesas/rts7751r2d/Kconfig" |
288 | source "arch/sh/boards/renesas/r7780rp/Kconfig" | 405 | source "arch/sh/boards/renesas/r7780rp/Kconfig" |
289 | 406 | ||
290 | source "arch/sh/mm/Kconfig" | ||
291 | |||
292 | config CF_ENABLER | ||
293 | bool "Compact Flash Enabler support" | ||
294 | depends on SH_SOLUTION_ENGINE || SH_UNKNOWN || SH_SH03 | ||
295 | ---help--- | ||
296 | Compact Flash is a small, removable mass storage device introduced | ||
297 | in 1994 originally as a PCMCIA device. If you say `Y' here, you | ||
298 | compile in support for Compact Flash devices directly connected to | ||
299 | a SuperH processor. A Compact Flash FAQ is available at | ||
300 | <http://www.compactflash.org/faqs/faq.htm>. | ||
301 | |||
302 | If your board has "Directly Connected" CompactFlash at area 5 or 6, | ||
303 | you may want to enable this option. Then, you can use CF as | ||
304 | primary IDE drive (only tested for SanDisk). | ||
305 | |||
306 | If in doubt, select 'N'. | ||
307 | |||
308 | choice | ||
309 | prompt "Compact Flash Connection Area" | ||
310 | depends on CF_ENABLER | ||
311 | default CF_AREA6 | ||
312 | |||
313 | config CF_AREA5 | ||
314 | bool "Area5" | ||
315 | help | ||
316 | If your board has "Directly Connected" CompactFlash, You should | ||
317 | select the area where your CF is connected to. | ||
318 | |||
319 | - "Area5" if CompactFlash is connected to Area 5 (0x14000000) | ||
320 | - "Area6" if it is connected to Area 6 (0x18000000) | ||
321 | |||
322 | "Area6" will work for most boards. | ||
323 | |||
324 | config CF_AREA6 | ||
325 | bool "Area6" | ||
326 | |||
327 | endchoice | ||
328 | |||
329 | config CF_BASE_ADDR | ||
330 | hex | ||
331 | depends on CF_ENABLER | ||
332 | default "0xb8000000" if CF_AREA6 | ||
333 | default "0xb4000000" if CF_AREA5 | ||
334 | |||
335 | menu "Processor features" | ||
336 | |||
337 | choice | ||
338 | prompt "Endianess selection" | ||
339 | default CPU_LITTLE_ENDIAN | ||
340 | help | ||
341 | Some SuperH machines can be configured for either little or big | ||
342 | endian byte order. These modes require different kernels. | ||
343 | |||
344 | config CPU_LITTLE_ENDIAN | ||
345 | bool "Little Endian" | ||
346 | |||
347 | config CPU_BIG_ENDIAN | ||
348 | bool "Big Endian" | ||
349 | |||
350 | endchoice | ||
351 | |||
352 | config SH_FPU | ||
353 | bool "FPU support" | ||
354 | depends on !CPU_SH3 | ||
355 | default y | ||
356 | help | ||
357 | Selecting this option will enable support for SH processors that | ||
358 | have FPU units (ie, SH77xx). | ||
359 | |||
360 | This option must be set in order to enable the FPU. | ||
361 | |||
362 | config SH_FPU_EMU | ||
363 | bool "FPU emulation support" | ||
364 | depends on !SH_FPU && EXPERIMENTAL | ||
365 | default n | ||
366 | help | ||
367 | Selecting this option will enable support for software FPU emulation. | ||
368 | Most SH-3 users will want to say Y here, whereas most SH-4 users will | ||
369 | want to say N. | ||
370 | |||
371 | config SH_DSP | ||
372 | bool "DSP support" | ||
373 | default y if SH4AL_DSP || !CPU_SH4 | ||
374 | default n | ||
375 | help | ||
376 | Selecting this option will enable support for SH processors that | ||
377 | have DSP units (ie, SH2-DSP, SH3-DSP, and SH4AL-DSP). | ||
378 | |||
379 | This option must be set in order to enable the DSP. | ||
380 | |||
381 | config SH_ADC | ||
382 | bool "ADC support" | ||
383 | depends on CPU_SH3 | ||
384 | default y | ||
385 | help | ||
386 | Selecting this option will allow the Linux kernel to use SH3 on-chip | ||
387 | ADC module. | ||
388 | |||
389 | If unsure, say N. | ||
390 | |||
391 | config SH_STORE_QUEUES | ||
392 | bool "Support for Store Queues" | ||
393 | depends on CPU_SH4 | ||
394 | help | ||
395 | Selecting this option will enable an in-kernel API for manipulating | ||
396 | the store queues integrated in the SH-4 processors. | ||
397 | |||
398 | config SPECULATIVE_EXECUTION | ||
399 | bool "Speculative subroutine return" | ||
400 | depends on CPU_SUBTYPE_SH7780 && EXPERIMENTAL | ||
401 | help | ||
402 | This enables support for a speculative instruction fetch for | ||
403 | subroutine return. There are various pitfalls associated with | ||
404 | this, as outlined in the SH7780 hardware manual. | ||
405 | |||
406 | If unsure, say N. | ||
407 | |||
408 | config CPU_HAS_INTEVT | ||
409 | bool | ||
410 | |||
411 | config CPU_HAS_PINT_IRQ | ||
412 | bool | ||
413 | |||
414 | config CPU_HAS_MASKREG_IRQ | ||
415 | bool | ||
416 | |||
417 | config CPU_HAS_INTC2_IRQ | ||
418 | bool | ||
419 | |||
420 | config CPU_HAS_IPR_IRQ | ||
421 | bool | ||
422 | |||
423 | config CPU_HAS_SR_RB | ||
424 | bool "CPU has SR.RB" | ||
425 | depends on CPU_SH3 || CPU_SH4 | ||
426 | default y | ||
427 | help | ||
428 | This will enable the use of SR.RB register bank usage. Processors | ||
429 | that are lacking this bit must have another method in place for | ||
430 | accomplishing what is taken care of by the banked registers. | ||
431 | |||
432 | See <file:Documentation/sh/register-banks.txt> for further | ||
433 | information on SR.RB and register banking in the kernel in general. | ||
434 | |||
435 | config CPU_HAS_PTEA | ||
436 | bool | ||
437 | |||
438 | endmenu | ||
439 | |||
440 | menu "Timer and clock configuration" | 407 | menu "Timer and clock configuration" |
441 | 408 | ||
442 | config SH_TMU | 409 | config SH_TMU |
@@ -473,13 +440,13 @@ config SH_PCLK_FREQ | |||
473 | int "Peripheral clock frequency (in Hz)" | 440 | int "Peripheral clock frequency (in Hz)" |
474 | default "27000000" if CPU_SUBTYPE_SH73180 || CPU_SUBTYPE_SH7343 | 441 | default "27000000" if CPU_SUBTYPE_SH73180 || CPU_SUBTYPE_SH7343 |
475 | default "31250000" if CPU_SUBTYPE_SH7619 | 442 | default "31250000" if CPU_SUBTYPE_SH7619 |
443 | default "32000000" if CPU_SUBTYPE_SH7722 | ||
476 | default "33333333" if CPU_SUBTYPE_SH7300 || CPU_SUBTYPE_SH7770 || \ | 444 | default "33333333" if CPU_SUBTYPE_SH7300 || CPU_SUBTYPE_SH7770 || \ |
477 | CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \ | 445 | CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \ |
478 | CPU_SUBTYPE_SH7206 | 446 | CPU_SUBTYPE_SH7206 |
479 | default "50000000" if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7780 || \ | 447 | default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R |
480 | CPU_SUBTYPE_SH7785 | ||
481 | default "60000000" if CPU_SUBTYPE_SH7751 | ||
482 | default "66000000" if CPU_SUBTYPE_SH4_202 | 448 | default "66000000" if CPU_SUBTYPE_SH4_202 |
449 | default "50000000" | ||
483 | help | 450 | help |
484 | This option is used to specify the peripheral clock frequency. | 451 | This option is used to specify the peripheral clock frequency. |
485 | This is necessary for determining the reference clock value on | 452 | This is necessary for determining the reference clock value on |
@@ -487,8 +454,10 @@ config SH_PCLK_FREQ | |||
487 | 454 | ||
488 | config SH_CLK_MD | 455 | config SH_CLK_MD |
489 | int "CPU Mode Pin Setting" | 456 | int "CPU Mode Pin Setting" |
490 | default 0 | ||
491 | depends on CPU_SUBTYPE_SH7619 || CPU_SUBTYPE_SH7206 | 457 | depends on CPU_SUBTYPE_SH7619 || CPU_SUBTYPE_SH7206 |
458 | default 6 if CPU_SUBTYPE_SH7206 | ||
459 | default 5 if CPU_SUBTYPE_SH7619 | ||
460 | default 0 | ||
492 | help | 461 | help |
493 | MD2 - MD0 pin setting. | 462 | MD2 - MD0 pin setting. |
494 | 463 | ||
@@ -560,6 +529,7 @@ config CRASH_DUMP | |||
560 | 529 | ||
561 | config SMP | 530 | config SMP |
562 | bool "Symmetric multi-processing support" | 531 | bool "Symmetric multi-processing support" |
532 | depends on SYS_SUPPORTS_SMP | ||
563 | ---help--- | 533 | ---help--- |
564 | This enables support for systems with more than one CPU. If you have | 534 | This enables support for systems with more than one CPU. If you have |
565 | a system with only one CPU, like most personal computers, say N. If | 535 | a system with only one CPU, like most personal computers, say N. If |
@@ -584,6 +554,7 @@ config NR_CPUS | |||
584 | int "Maximum number of CPUs (2-32)" | 554 | int "Maximum number of CPUs (2-32)" |
585 | range 2 32 | 555 | range 2 32 |
586 | depends on SMP | 556 | depends on SMP |
557 | default "4" if CPU_SHX3 | ||
587 | default "2" | 558 | default "2" |
588 | help | 559 | help |
589 | This allows you to specify the maximum number of CPUs which this | 560 | This allows you to specify the maximum number of CPUs which this |
@@ -623,6 +594,7 @@ config BOOT_LINK_OFFSET | |||
623 | 594 | ||
624 | config UBC_WAKEUP | 595 | config UBC_WAKEUP |
625 | bool "Wakeup UBC on startup" | 596 | bool "Wakeup UBC on startup" |
597 | depends on CPU_SH4 | ||
626 | help | 598 | help |
627 | Selecting this option will wakeup the User Break Controller (UBC) on | 599 | Selecting this option will wakeup the User Break Controller (UBC) on |
628 | startup. Although the UBC is left in an awake state when the processor | 600 | startup. Although the UBC is left in an awake state when the processor |
@@ -651,8 +623,8 @@ menu "Bus options" | |||
651 | # we're not using PCMCIA, so we make it dependent on | 623 | # we're not using PCMCIA, so we make it dependent on |
652 | # PCMCIA outright. -- PFM. | 624 | # PCMCIA outright. -- PFM. |
653 | config ISA | 625 | config ISA |
654 | bool | 626 | def_bool y |
655 | default y if PCMCIA | 627 | depends on PCMCIA && HD6446X_SERIES |
656 | help | 628 | help |
657 | Find out whether you have ISA slots on your motherboard. ISA is the | 629 | Find out whether you have ISA slots on your motherboard. ISA is the |
658 | name of a bus system, i.e. the way the CPU talks to the other stuff | 630 | name of a bus system, i.e. the way the CPU talks to the other stuff |
@@ -690,6 +662,49 @@ config SUPERHYWAY | |||
690 | tristate "SuperHyway Bus support" | 662 | tristate "SuperHyway Bus support" |
691 | depends on CPU_SUBTYPE_SH4_202 | 663 | depends on CPU_SUBTYPE_SH4_202 |
692 | 664 | ||
665 | config CF_ENABLER | ||
666 | bool "Compact Flash Enabler support" | ||
667 | depends on SOLUTION_ENGINE || SH_SH03 | ||
668 | ---help--- | ||
669 | Compact Flash is a small, removable mass storage device introduced | ||
670 | in 1994 originally as a PCMCIA device. If you say `Y' here, you | ||
671 | compile in support for Compact Flash devices directly connected to | ||
672 | a SuperH processor. A Compact Flash FAQ is available at | ||
673 | <http://www.compactflash.org/faqs/faq.htm>. | ||
674 | |||
675 | If your board has "Directly Connected" CompactFlash at area 5 or 6, | ||
676 | you may want to enable this option. Then, you can use CF as | ||
677 | primary IDE drive (only tested for SanDisk). | ||
678 | |||
679 | If in doubt, select 'N'. | ||
680 | |||
681 | choice | ||
682 | prompt "Compact Flash Connection Area" | ||
683 | depends on CF_ENABLER | ||
684 | default CF_AREA6 | ||
685 | |||
686 | config CF_AREA5 | ||
687 | bool "Area5" | ||
688 | help | ||
689 | If your board has "Directly Connected" CompactFlash, You should | ||
690 | select the area where your CF is connected to. | ||
691 | |||
692 | - "Area5" if CompactFlash is connected to Area 5 (0x14000000) | ||
693 | - "Area6" if it is connected to Area 6 (0x18000000) | ||
694 | |||
695 | "Area6" will work for most boards. | ||
696 | |||
697 | config CF_AREA6 | ||
698 | bool "Area6" | ||
699 | |||
700 | endchoice | ||
701 | |||
702 | config CF_BASE_ADDR | ||
703 | hex | ||
704 | depends on CF_ENABLER | ||
705 | default "0xb8000000" if CF_AREA6 | ||
706 | default "0xb4000000" if CF_AREA5 | ||
707 | |||
693 | source "arch/sh/drivers/pci/Kconfig" | 708 | source "arch/sh/drivers/pci/Kconfig" |
694 | 709 | ||
695 | source "drivers/pci/Kconfig" | 710 | source "drivers/pci/Kconfig" |
@@ -707,7 +722,7 @@ source "fs/Kconfig.binfmt" | |||
707 | endmenu | 722 | endmenu |
708 | 723 | ||
709 | menu "Power management options (EXPERIMENTAL)" | 724 | menu "Power management options (EXPERIMENTAL)" |
710 | depends on EXPERIMENTAL | 725 | depends on EXPERIMENTAL && SYS_SUPPORTS_PM |
711 | 726 | ||
712 | source kernel/power/Kconfig | 727 | source kernel/power/Kconfig |
713 | 728 | ||