Fix misc Kconfig typos
[deliverable/linux.git] / arch / cris / arch-v10 / Kconfig
1 # ETRAX 100LX v1 has a MMU "feature" requiring a low mapping
2 config CRIS_LOW_MAP
3 bool
4 depends on ETRAX_ARCH_V10 && ETRAX100LX
5 default y
6
7 config ETRAX_DRAM_VIRTUAL_BASE
8 hex
9 depends on ETRAX_ARCH_V10
10 default "c0000000" if !ETRAX100LX
11 default "60000000" if ETRAX100LX
12
13 choice
14 prompt "Product LED port"
15 depends on ETRAX_ARCH_V10
16 default ETRAX_PA_LEDS
17
18 config ETRAX_PA_LEDS
19 bool "Port-PA-LEDs"
20 help
21 The ETRAX network driver is responsible for flashing LED's when
22 packets arrive and are sent. It uses macros defined in
23 <file:include/asm-cris/io.h>, and those macros are defined after what
24 YOU choose in this option. The actual bits used are configured
25 separately. Select this if the LEDs are on port PA. Some products
26 put the leds on PB or a memory-mapped latch (CSP0) instead.
27
28 config ETRAX_PB_LEDS
29 bool "Port-PB-LEDs"
30 help
31 The ETRAX network driver is responsible for flashing LED's when
32 packets arrive and are sent. It uses macros defined in
33 <file:include/asm-cris/io.h>, and those macros are defined after what
34 YOU choose in this option. The actual bits used are configured
35 separately. Select this if the LEDs are on port PB. Some products
36 put the leds on PA or a memory-mapped latch (CSP0) instead.
37
38 config ETRAX_CSP0_LEDS
39 bool "Port-CSP0-LEDs"
40 help
41 The ETRAX network driver is responsible for flashing LED's when
42 packets arrive and are sent. It uses macros defined in
43 <file:include/asm-cris/io.h>, and those macros are defined after what
44 YOU choose in this option. The actual bits used are configured
45 separately. Select this if the LEDs are on a memory-mapped latch
46 using chip select CSP0, this is mapped at 0x90000000.
47 Some products put the leds on PA or PB instead.
48
49 config ETRAX_NO_LEDS
50 bool "None"
51 help
52 Select this option if you don't have any LED at all.
53
54 endchoice
55
56 config ETRAX_LED1G
57 int "First green LED bit"
58 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
59 default "2"
60 help
61 Bit to use for the first green LED.
62 Most Axis products use bit 2 here.
63
64 config ETRAX_LED1R
65 int "First red LED bit"
66 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
67 default "3"
68 help
69 Bit to use for the first red LED.
70 Most Axis products use bit 3 here.
71 For products with only one controllable LED,
72 set this to same as CONFIG_ETRAX_LED1G (normally 2).
73
74 config ETRAX_LED2G
75 int "Second green LED bit"
76 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
77 default "4"
78 help
79 Bit to use for the second green LED. The "Active" LED.
80 Most Axis products use bit 4 here.
81 For products with only one controllable LED,
82 set this to same as CONFIG_ETRAX_LED1G (normally 2).
83
84 config ETRAX_LED2R
85 int "Second red LED bit"
86 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
87 default "5"
88 help
89 Bit to use for the second red LED.
90 Most Axis products use bit 5 here.
91 For products with only one controllable LED,
92 set this to same as CONFIG_ETRAX_LED1G (normally 2).
93
94 config ETRAX_LED3G
95 int "Third green LED bit"
96 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
97 default "2"
98 help
99 Bit to use for the third green LED. The "Drive" LED.
100 For products with only one or two controllable LEDs,
101 set this to same as CONFIG_ETRAX_LED1G (normally 2).
102
103 config ETRAX_LED3R
104 int "Third red LED bit"
105 depends on ETRAX_ARCH_V10 && !ETRAX_NO_LEDS
106 default "2"
107 help
108 Bit to use for the third red LED.
109 For products with only one or two controllable LEDs,
110 set this to same as CONFIG_ETRAX_LED1G (normally 2).
111
112 config ETRAX_LED4R
113 int "Fourth red LED bit"
114 depends on ETRAX_CSP0_LEDS
115 default "2"
116 help
117 Bit to use for the fourth red LED.
118 For products with only one or two controllable LEDs,
119 set this to same as CONFIG_ETRAX_LED1G (normally 2).
120
121 config ETRAX_LED4G
122 int "Fourth green LED bit"
123 depends on ETRAX_CSP0_LEDS
124 default "2"
125 help
126 Bit to use for the fourth green LED.
127 For products with only one or two controllable LEDs,
128 set this to same as CONFIG_ETRAX_LED1G (normally 2).
129
130 config ETRAX_LED5R
131 int "Fifth red LED bit"
132 depends on ETRAX_CSP0_LEDS
133 default "2"
134 help
135 Bit to use for the fifth red LED.
136 For products with only one or two controllable LEDs,
137 set this to same as CONFIG_ETRAX_LED1G (normally 2).
138
139 config ETRAX_LED5G
140 int "Fifth green LED bit"
141 depends on ETRAX_CSP0_LEDS
142 default "2"
143 help
144 Bit to use for the fifth green LED.
145 For products with only one or two controllable LEDs,
146 set this to same as CONFIG_ETRAX_LED1G (normally 2).
147
148 config ETRAX_LED6R
149 int "Sixth red LED bit"
150 depends on ETRAX_CSP0_LEDS
151 default "2"
152 help
153 Bit to use for the sixth red LED.
154 For products with only one or two controllable LEDs,
155 set this to same as CONFIG_ETRAX_LED1G (normally 2).
156
157 config ETRAX_LED6G
158 int "Sixth green LED bit"
159 depends on ETRAX_CSP0_LEDS
160 default "2"
161 help
162 Bit to use for the sixth green LED. The "Drive" LED.
163 For products with only one or two controllable LEDs,
164 set this to same as CONFIG_ETRAX_LED1G (normally 2).
165
166 config ETRAX_LED7R
167 int "Seventh red LED bit"
168 depends on ETRAX_CSP0_LEDS
169 default "2"
170 help
171 Bit to use for the seventh red LED.
172 For products with only one or two controllable LEDs,
173 set this to same as CONFIG_ETRAX_LED1G (normally 2).
174
175 config ETRAX_LED7G
176 int "Seventh green LED bit"
177 depends on ETRAX_CSP0_LEDS
178 default "2"
179 help
180 Bit to use for the seventh green LED.
181 For products with only one or two controllable LEDs,
182 set this to same as CONFIG_ETRAX_LED1G (normally 2).
183
184 config ETRAX_LED8Y
185 int "Eigth yellow LED bit"
186 depends on ETRAX_CSP0_LEDS
187 default "2"
188 help
189 Bit to use for the eighth yellow LED. The "Drive" LED.
190 For products with only one or two controllable LEDs,
191 set this to same as CONFIG_ETRAX_LED1G (normally 2).
192
193 config ETRAX_LED9Y
194 int "Ninth yellow LED bit"
195 depends on ETRAX_CSP0_LEDS
196 default "2"
197 help
198 Bit to use for the ninth yellow LED.
199 For products with only one or two controllable LEDs,
200 set this to same as CONFIG_ETRAX_LED1G (normally 2).
201
202 config ETRAX_LED10Y
203 int "Tenth yellow LED bit"
204 depends on ETRAX_CSP0_LEDS
205 default "2"
206 help
207 Bit to use for the tenth yellow LED.
208 For products with only one or two controllable LEDs,
209 set this to same as CONFIG_ETRAX_LED1G (normally 2).
210
211 config ETRAX_LED11Y
212 int "Eleventh yellow LED bit"
213 depends on ETRAX_CSP0_LEDS
214 default "2"
215 help
216 Bit to use for the eleventh yellow LED.
217 For products with only one or two controllable LEDs,
218 set this to same as CONFIG_ETRAX_LED1G (normally 2).
219
220 config ETRAX_LED12R
221 int "Twelfth red LED bit"
222 depends on ETRAX_CSP0_LEDS
223 default "2"
224 help
225 Bit to use for the twelfth red LED.
226 For products with only one or two controllable LEDs,
227 set this to same as CONFIG_ETRAX_LED1G (normally 2).
228
229 choice
230 prompt "Product debug-port"
231 depends on ETRAX_ARCH_V10
232 default ETRAX_DEBUG_PORT0
233
234 config ETRAX_DEBUG_PORT0
235 bool "Serial-0"
236 help
237 Choose a serial port for the ETRAX debug console. Default to
238 port 0.
239
240 config ETRAX_DEBUG_PORT1
241 bool "Serial-1"
242 help
243 Use serial port 1 for the console.
244
245 config ETRAX_DEBUG_PORT2
246 bool "Serial-2"
247 help
248 Use serial port 2 for the console.
249
250 config ETRAX_DEBUG_PORT3
251 bool "Serial-3"
252 help
253 Use serial port 3 for the console.
254
255 config ETRAX_DEBUG_PORT_NULL
256 bool "disabled"
257 help
258 Disable serial-port debugging.
259
260 endchoice
261
262 choice
263 prompt "Kernel GDB port"
264 depends on ETRAX_KGDB
265 default ETRAX_KGDB_PORT0
266 help
267 Choose a serial port for kernel debugging. NOTE: This port should
268 not be enabled under Drivers for built-in interfaces (as it has its
269 own initialization code) and should not be the same as the debug port.
270
271 config ETRAX_KGDB_PORT0
272 bool "Serial-0"
273 help
274 Use serial port 0 for kernel debugging.
275
276 config ETRAX_KGDB_PORT1
277 bool "Serial-1"
278 help
279 Use serial port 1 for kernel debugging.
280
281 config ETRAX_KGDB_PORT2
282 bool "Serial-2"
283 help
284 Use serial port 2 for kernel debugging.
285
286 config ETRAX_KGDB_PORT3
287 bool "Serial-3"
288 help
289 Use serial port 3 for kernel debugging.
290
291 endchoice
292
293 choice
294 prompt "Product rescue-port"
295 depends on ETRAX_ARCH_V10
296 default ETRAX_RESCUE_SER0
297
298 config ETRAX_RESCUE_SER0
299 bool "Serial-0"
300 help
301 Select one of the four serial ports as a rescue port. The default
302 is port 0.
303
304 config ETRAX_RESCUE_SER1
305 bool "Serial-1"
306 help
307 Use serial port 1 as the rescue port.
308
309 config ETRAX_RESCUE_SER2
310 bool "Serial-2"
311 help
312 Use serial port 2 as the rescue port.
313
314 config ETRAX_RESCUE_SER3
315 bool "Serial-3"
316 help
317 Use serial port 3 as the rescue port.
318
319 endchoice
320
321 config ETRAX_DEF_R_WAITSTATES
322 hex "R_WAITSTATES"
323 depends on ETRAX_ARCH_V10
324 default "95a6"
325 help
326 Waitstates for SRAM, Flash and peripherals (not DRAM). 95f8 is a
327 good choice for most Axis products...
328
329 config ETRAX_DEF_R_BUS_CONFIG
330 hex "R_BUS_CONFIG"
331 depends on ETRAX_ARCH_V10
332 default "104"
333 help
334 Assorted bits controlling write mode, DMA burst length etc. 104 is
335 a good choice for most Axis products...
336
337 config ETRAX_SDRAM
338 bool "SDRAM support"
339 depends on ETRAX_ARCH_V10
340 help
341 Enable this if you use SDRAM chips and configure
342 R_SDRAM_CONFIG and R_SDRAM_TIMING as well.
343
344 config ETRAX_DEF_R_DRAM_CONFIG
345 hex "R_DRAM_CONFIG"
346 depends on ETRAX_ARCH_V10 && !ETRAX_SDRAM
347 default "1a200040"
348 help
349 The R_DRAM_CONFIG register specifies everything on how the DRAM
350 chips in the system are connected to the ETRAX CPU. This is
351 different depending on the manufacturer, chip type and number of
352 chips. So this value often needs to be different for each Axis
353 product.
354
355 config ETRAX_DEF_R_DRAM_TIMING
356 hex "R_DRAM_TIMING"
357 depends on ETRAX_ARCH_V10 && !ETRAX_SDRAM
358 default "5611"
359 help
360 Different DRAM chips have different speeds. Current Axis products
361 use 50ns DRAM chips which can use the timing: 5611.
362
363 config ETRAX_DEF_R_SDRAM_CONFIG
364 hex "R_SDRAM_CONFIG"
365 depends on ETRAX_ARCH_V10 && ETRAX_SDRAM
366 default "d2fa7878"
367 help
368 The R_SDRAM_CONFIG register specifies everything on how the SDRAM
369 chips in the system are connected to the ETRAX CPU. This is
370 different depending on the manufacturer, chip type and number of
371 chips. So this value often needs to be different for each Axis
372 product.
373
374 config ETRAX_DEF_R_SDRAM_TIMING
375 hex "R_SDRAM_TIMING"
376 depends on ETRAX_ARCH_V10 && ETRAX_SDRAM
377 default "80004801"
378 help
379 Different SDRAM chips have different timing.
380
381 config ETRAX_DEF_R_PORT_PA_DIR
382 hex "R_PORT_PA_DIR"
383 depends on ETRAX_ARCH_V10
384 default "1c"
385 help
386 Configures the direction of general port A bits. 1 is out, 0 is in.
387 This is often totally different depending on the product used.
388 There are some guidelines though - if you know that only LED's are
389 connected to port PA, then they are usually connected to bits 2-4
390 and you can therefore use 1c. On other boards which don't have the
391 LED's at the general ports, these bits are used for all kinds of
392 stuff. If you don't know what to use, it is always safe to put all
393 as inputs, although floating inputs isn't good.
394
395 config ETRAX_DEF_R_PORT_PA_DATA
396 hex "R_PORT_PA_DATA"
397 depends on ETRAX_ARCH_V10
398 default "00"
399 help
400 Configures the initial data for the general port A bits. Most
401 products should use 00 here.
402
403 config ETRAX_DEF_R_PORT_PB_CONFIG
404 hex "R_PORT_PB_CONFIG"
405 depends on ETRAX_ARCH_V10
406 default "00"
407 help
408 Configures the type of the general port B bits. 1 is chip select,
409 0 is port. Most products should use 00 here.
410
411 config ETRAX_DEF_R_PORT_PB_DIR
412 hex "R_PORT_PB_DIR"
413 depends on ETRAX_ARCH_V10
414 default "00"
415 help
416 Configures the direction of general port B bits. 1 is out, 0 is in.
417 This is often totally different depending on the product used. Bits
418 0 and 1 on port PB are usually used for I2C communication, but the
419 kernel I2C driver sets the appropriate directions itself so you
420 don't need to take that into consideration when setting this option.
421 If you don't know what to use, it is always safe to put all as
422 inputs.
423
424 config ETRAX_DEF_R_PORT_PB_DATA
425 hex "R_PORT_PB_DATA"
426 depends on ETRAX_ARCH_V10
427 default "ff"
428 help
429 Configures the initial data for the general port A bits. Most
430 products should use FF here.
431
432 config ETRAX_SOFT_SHUTDOWN
433 bool "Software Shutdown Support"
434 depends on ETRAX_ARCH_V10
435 help
436 Enable this if ETRAX is used with a power-supply that can be turned
437 off and on with PS_ON signal. Gives the possibility to detect
438 powerbutton and then do a power off after unmounting disks.
439
440 config ETRAX_SHUTDOWN_BIT
441 int "Shutdown bit on port CSP0"
442 depends on ETRAX_SOFT_SHUTDOWN
443 default "12"
444 help
445 Configure what pin on CSPO-port that is used for controlling power
446 supply.
447
448 config ETRAX_POWERBUTTON_BIT
449 int "Power button bit on port G"
450 depends on ETRAX_SOFT_SHUTDOWN
451 default "25"
452 help
453 Configure where power button is connected.
This page took 0.039602 seconds and 5 git commands to generate.