Commit | Line | Data |
---|---|---|
1394f032 BW |
1 | # |
2 | # For a description of the syntax of this configuration file, | |
3 | # see Documentation/kbuild/kconfig-language.txt. | |
4 | # | |
5 | ||
6 | mainmenu "uClinux/Blackfin (w/o MMU) Kernel Configuration" | |
7 | ||
8 | config MMU | |
9 | bool | |
10 | default n | |
11 | ||
12 | config FPU | |
13 | bool | |
14 | default n | |
15 | ||
16 | config RWSEM_GENERIC_SPINLOCK | |
17 | bool | |
18 | default y | |
19 | ||
20 | config RWSEM_XCHGADD_ALGORITHM | |
21 | bool | |
22 | default n | |
23 | ||
24 | config BLACKFIN | |
25 | bool | |
26 | default y | |
27 | ||
28 | config BFIN | |
29 | bool | |
30 | default y | |
31 | ||
32 | config SEMAPHORE_SLEEPERS | |
33 | bool | |
34 | default y | |
35 | ||
36 | config GENERIC_FIND_NEXT_BIT | |
37 | bool | |
38 | default y | |
39 | ||
40 | config GENERIC_HWEIGHT | |
41 | bool | |
42 | default y | |
43 | ||
44 | config GENERIC_HARDIRQS | |
45 | bool | |
46 | default y | |
47 | ||
48 | config GENERIC_IRQ_PROBE | |
49 | bool | |
50 | default y | |
51 | ||
52 | config GENERIC_TIME | |
53 | bool | |
54 | default n | |
55 | ||
56 | config GENERIC_CALIBRATE_DELAY | |
57 | bool | |
58 | default y | |
59 | ||
60 | config FORCE_MAX_ZONEORDER | |
61 | int | |
62 | default "14" | |
63 | ||
64 | config GENERIC_CALIBRATE_DELAY | |
65 | bool | |
66 | default y | |
67 | ||
68 | config IRQCHIP_DEMUX_GPIO | |
69 | bool | |
70 | default y | |
71 | ||
72 | source "init/Kconfig" | |
73 | source "kernel/Kconfig.preempt" | |
74 | ||
75 | menu "Blackfin Processor Options" | |
76 | ||
77 | comment "Processor and Board Settings" | |
78 | ||
79 | choice | |
80 | prompt "CPU" | |
81 | default BF533 | |
82 | ||
83 | config BF531 | |
84 | bool "BF531" | |
85 | help | |
86 | BF531 Processor Support. | |
87 | ||
88 | config BF532 | |
89 | bool "BF532" | |
90 | help | |
91 | BF532 Processor Support. | |
92 | ||
93 | config BF533 | |
94 | bool "BF533" | |
95 | help | |
96 | BF533 Processor Support. | |
97 | ||
98 | config BF534 | |
99 | bool "BF534" | |
100 | help | |
101 | BF534 Processor Support. | |
102 | ||
103 | config BF536 | |
104 | bool "BF536" | |
105 | help | |
106 | BF536 Processor Support. | |
107 | ||
108 | config BF537 | |
109 | bool "BF537" | |
110 | help | |
111 | BF537 Processor Support. | |
112 | ||
113 | config BF561 | |
114 | bool "BF561" | |
115 | help | |
116 | Not Supported Yet - Work in progress - BF561 Processor Support. | |
117 | ||
118 | endchoice | |
119 | ||
120 | choice | |
121 | prompt "Silicon Rev" | |
122 | default BF_REV_0_2 if BF537 | |
123 | default BF_REV_0_3 if BF533 | |
124 | ||
125 | config BF_REV_0_2 | |
126 | bool "0.2" | |
127 | depends on (BF537 || BF536 || BF534) | |
128 | ||
129 | config BF_REV_0_3 | |
130 | bool "0.3" | |
131 | depends on (BF561 || BF537 || BF536 || BF534 || BF533 || BF532 || BF531) | |
132 | ||
133 | config BF_REV_0_4 | |
134 | bool "0.4" | |
135 | depends on (BF561 || BF533 || BF532 || BF531) | |
136 | ||
137 | config BF_REV_0_5 | |
138 | bool "0.5" | |
139 | depends on (BF561 || BF533 || BF532 || BF531) | |
140 | ||
141 | endchoice | |
142 | ||
143 | config BFIN_DUAL_CORE | |
144 | bool | |
145 | depends on (BF561) | |
146 | default y | |
147 | ||
148 | config BFIN_SINGLE_CORE | |
149 | bool | |
150 | depends on !BFIN_DUAL_CORE | |
151 | default y | |
152 | ||
153 | choice | |
154 | prompt "System type" | |
155 | default BFIN533_STAMP | |
156 | help | |
157 | Do NOT change the board here. Please use the top level | |
158 | configuration to ensure that all the other settings are | |
159 | correct. | |
160 | ||
161 | config BFIN533_EZKIT | |
162 | bool "BF533-EZKIT" | |
163 | depends on (BF533 || BF532 || BF531) | |
164 | help | |
165 | BF533-EZKIT-LITE board Support. | |
166 | ||
167 | config BFIN533_STAMP | |
168 | bool "BF533-STAMP" | |
169 | depends on (BF533 || BF532 || BF531) | |
170 | help | |
171 | BF533-STAMP board Support. | |
172 | ||
173 | config BFIN537_STAMP | |
174 | bool "BF537-STAMP" | |
175 | depends on (BF537 || BF536 || BF534) | |
176 | help | |
177 | BF537-STAMP board Support. | |
178 | ||
179 | config BFIN533_BLUETECHNIX_CM | |
180 | bool "Bluetechnix CM-BF533" | |
181 | depends on (BF533) | |
182 | help | |
183 | CM-BF533 support for EVAL- and DEV-Board. | |
184 | ||
185 | config BFIN537_BLUETECHNIX_CM | |
186 | bool "Bluetechnix CM-BF537" | |
187 | depends on (BF537) | |
188 | help | |
189 | CM-BF537 support for EVAL- and DEV-Board. | |
190 | ||
191 | config BFIN561_BLUETECHNIX_CM | |
192 | bool "BF561-CM" | |
193 | depends on (BF561) | |
194 | help | |
195 | CM-BF561 support for EVAL- and DEV-Board. | |
196 | ||
197 | config BFIN561_EZKIT | |
198 | bool "BF561-EZKIT" | |
199 | depends on (BF561) | |
200 | help | |
201 | BF561-EZKIT-LITE board Support. | |
202 | ||
203 | config PNAV10 | |
204 | bool "PNAV 1.0 board" | |
205 | depends on (BF537) | |
206 | help | |
207 | PNAV 1.0 board Support. | |
208 | ||
209 | config GENERIC_BOARD | |
210 | bool "Custom" | |
211 | depends on (BF537 || BF536 \ | |
212 | || BF534 || BF561 || BF535 || BF533 || BF532 || BF531) | |
213 | help | |
214 | GENERIC or Custom board Support. | |
215 | ||
216 | endchoice | |
217 | ||
218 | config MEM_GENERIC_BOARD | |
219 | bool | |
220 | depends on GENERIC_BOARD | |
221 | default y | |
222 | ||
223 | config MEM_MT48LC64M4A2FB_7E | |
224 | bool | |
225 | depends on (BFIN533_STAMP) | |
226 | default y | |
227 | ||
228 | config MEM_MT48LC16M16A2TG_75 | |
229 | bool | |
230 | depends on (BFIN533_EZKIT || BFIN561_EZKIT \ | |
231 | || BFIN533_BLUETECHNIX_CM || BFIN537_BLUETECHNIX_CM) | |
232 | default y | |
233 | ||
234 | config MEM_MT48LC32M8A2_75 | |
235 | bool | |
236 | depends on (BFIN537_STAMP || PNAV10) | |
237 | default y | |
238 | ||
239 | config MEM_MT48LC8M32B2B5_7 | |
240 | bool | |
241 | depends on (BFIN561_BLUETECHNIX_CM) | |
242 | default y | |
243 | ||
244 | config BFIN_SHARED_FLASH_ENET | |
245 | bool | |
246 | depends on (BFIN533_STAMP) | |
247 | default y | |
248 | ||
249 | source "arch/blackfin/mach-bf533/Kconfig" | |
250 | source "arch/blackfin/mach-bf561/Kconfig" | |
251 | source "arch/blackfin/mach-bf537/Kconfig" | |
252 | ||
253 | menu "Board customizations" | |
254 | ||
255 | config CMDLINE_BOOL | |
256 | bool "Default bootloader kernel arguments" | |
257 | ||
258 | config CMDLINE | |
259 | string "Initial kernel command string" | |
260 | depends on CMDLINE_BOOL | |
261 | default "console=ttyBF0,57600" | |
262 | help | |
263 | If you don't have a boot loader capable of passing a command line string | |
264 | to the kernel, you may specify one here. As a minimum, you should specify | |
265 | the memory size and the root device (e.g., mem=8M, root=/dev/nfs). | |
266 | ||
267 | comment "Board Setup" | |
268 | ||
269 | config CLKIN_HZ | |
270 | int "Crystal Frequency in Hz" | |
271 | default "11059200" if BFIN533_STAMP | |
272 | default "27000000" if BFIN533_EZKIT | |
273 | default "25000000" if BFIN537_STAMP | |
274 | default "30000000" if BFIN561_EZKIT | |
275 | default "24576000" if PNAV10 | |
276 | help | |
277 | The frequency of CLKIN crystal oscillator on the board in Hz. | |
278 | ||
279 | config MEM_SIZE | |
280 | int "SDRAM Memory Size in MBytes" | |
281 | default 32 if BFIN533_EZKIT | |
282 | default 64 if BFIN537_STAMP | |
283 | default 64 if BFIN561_EZKIT | |
284 | default 128 if BFIN533_STAMP | |
285 | default 64 if PNAV10 | |
286 | ||
287 | config MEM_ADD_WIDTH | |
288 | int "SDRAM Memory Address Width" | |
289 | default 9 if BFIN533_EZKIT | |
290 | default 9 if BFIN561_EZKIT | |
291 | default 10 if BFIN537_STAMP | |
292 | default 11 if BFIN533_STAMP | |
293 | default 10 if PNAV10 | |
294 | ||
295 | config ENET_FLASH_PIN | |
296 | int "PF port/pin used for flash and ethernet sharing" | |
297 | depends on (BFIN533_STAMP) | |
298 | default 0 | |
299 | help | |
300 | PF port/pin used for flash and ethernet sharing to allow other PF | |
301 | pins to be used on other platforms without having to touch common | |
302 | code. | |
303 | For example: PF0 --> 0,PF1 --> 1,PF2 --> 2, etc. | |
304 | ||
305 | config BOOT_LOAD | |
306 | hex "Kernel load address for booting" | |
307 | default "0x1000" | |
308 | help | |
309 | This option allows you to set the load address of the kernel. | |
310 | This can be useful if you are on a board which has a small amount | |
311 | of memory or you wish to reserve some memory at the beginning of | |
312 | the address space. | |
313 | ||
314 | Note that you generally want to keep this value at or above 4k | |
315 | (0x1000) as this will allow the kernel to capture NULL pointer | |
316 | references. | |
317 | ||
318 | comment "LED Status Indicators" | |
319 | depends on (BFIN533_STAMP || BFIN533_BLUETECHNIX_CM) | |
320 | ||
321 | config BFIN_ALIVE_LED | |
322 | bool "Enable Board Alive" | |
323 | depends on (BFIN533_STAMP || BFIN533_BLUETECHNIX_CM) | |
324 | default n | |
325 | help | |
326 | Blink the LEDs you select when the kernel is running. Helps detect | |
327 | a hung kernel. | |
328 | ||
329 | config BFIN_ALIVE_LED_NUM | |
330 | int "LED" | |
331 | depends on BFIN_ALIVE_LED | |
332 | range 1 3 if BFIN533_STAMP | |
333 | default "3" if BFIN533_STAMP | |
334 | help | |
335 | Select the LED (marked on the board) for you to blink. | |
336 | ||
337 | config BFIN_IDLE_LED | |
338 | bool "Enable System Load/Idle LED" | |
339 | depends on (BFIN533_STAMP || BFIN533_BLUETECHNIX_CM) | |
340 | default n | |
341 | help | |
342 | Blinks the LED you select when to determine kernel load. | |
343 | ||
344 | config BFIN_IDLE_LED_NUM | |
345 | int "LED" | |
346 | depends on BFIN_IDLE_LED | |
347 | range 1 3 if BFIN533_STAMP | |
348 | default "2" if BFIN533_STAMP | |
349 | help | |
350 | Select the LED (marked on the board) for you to blink. | |
351 | ||
352 | # | |
353 | # Sorry - but you need to put the hex address here - | |
354 | # | |
355 | ||
356 | # Flag Data register | |
357 | config BFIN_ALIVE_LED_PORT | |
358 | hex | |
359 | default 0xFFC00700 if (BFIN533_STAMP) | |
360 | ||
361 | # Peripheral Flag Direction Register | |
362 | config BFIN_ALIVE_LED_DPORT | |
363 | hex | |
364 | default 0xFFC00730 if (BFIN533_STAMP) | |
365 | ||
366 | config BFIN_ALIVE_LED_PIN | |
367 | hex | |
368 | default 0x04 if (BFIN533_STAMP && BFIN_ALIVE_LED_NUM = 1) | |
369 | default 0x08 if (BFIN533_STAMP && BFIN_ALIVE_LED_NUM = 2) | |
370 | default 0x10 if (BFIN533_STAMP && BFIN_ALIVE_LED_NUM = 3) | |
371 | ||
372 | config BFIN_IDLE_LED_PORT | |
373 | hex | |
374 | default 0xFFC00700 if (BFIN533_STAMP) | |
375 | ||
376 | # Peripheral Flag Direction Register | |
377 | config BFIN_IDLE_LED_DPORT | |
378 | hex | |
379 | default 0xFFC00730 if (BFIN533_STAMP) | |
380 | ||
381 | config BFIN_IDLE_LED_PIN | |
382 | hex | |
383 | default 0x04 if (BFIN533_STAMP && BFIN_IDLE_LED_NUM = 1) | |
384 | default 0x08 if (BFIN533_STAMP && BFIN_IDLE_LED_NUM = 2) | |
385 | default 0x10 if (BFIN533_STAMP && BFIN_IDLE_LED_NUM = 3) | |
386 | ||
387 | comment "Console UART Setup" | |
388 | ||
389 | choice | |
390 | prompt "Baud Rate" | |
391 | default BAUD_57600 | |
392 | config BAUD_9600 | |
393 | bool "9600" | |
394 | config BAUD_19200 | |
395 | bool "19200" | |
396 | config BAUD_38400 | |
397 | bool "38400" | |
398 | config BAUD_57600 | |
399 | bool "57600" | |
400 | config BAUD_115200 | |
401 | bool "115200" | |
402 | endchoice | |
403 | ||
404 | choice | |
405 | prompt "Parity" | |
406 | default BAUD_NO_PARITY | |
407 | config BAUD_NO_PARITY | |
408 | bool "No Parity" | |
409 | config BAUD_PARITY | |
410 | bool "Parity" | |
411 | endchoice | |
412 | ||
413 | choice | |
414 | prompt "Stop Bits" | |
415 | default BAUD_1_STOPBIT | |
416 | config BAUD_1_STOPBIT | |
417 | bool "1" | |
418 | config BAUD_2_STOPBIT | |
419 | bool "2" | |
420 | endchoice | |
421 | ||
422 | endmenu | |
423 | ||
424 | ||
425 | menu "Blackfin Kernel Optimizations" | |
426 | ||
427 | comment "Timer Tick" | |
428 | ||
429 | source kernel/Kconfig.hz | |
430 | ||
431 | comment "Memory Optimizations" | |
432 | ||
433 | config I_ENTRY_L1 | |
434 | bool "Locate interrupt entry code in L1 Memory" | |
435 | default y | |
436 | help | |
437 | If enabled interrupt entry code (STORE/RESTORE CONTEXT) is linked | |
438 | into L1 instruction memory.(less latency) | |
439 | ||
440 | config EXCPT_IRQ_SYSC_L1 | |
441 | bool "Locate entire ASM lowlevel excepetion / interrupt - Syscall and CPLB handler code in L1 Memory" | |
442 | default y | |
443 | help | |
444 | If enabled entire ASM lowlevel exception and interrupt entry code (STORE/RESTORE CONTEXT) is linked | |
445 | into L1 instruction memory.(less latency) | |
446 | ||
447 | config DO_IRQ_L1 | |
448 | bool "Locate frequently called do_irq dispatcher function in L1 Memory" | |
449 | default y | |
450 | help | |
451 | If enabled frequently called do_irq dispatcher function is linked | |
452 | into L1 instruction memory.(less latency) | |
453 | ||
454 | config CORE_TIMER_IRQ_L1 | |
455 | bool "Locate frequently called timer_interrupt() function in L1 Memory" | |
456 | default y | |
457 | help | |
458 | If enabled frequently called timer_interrupt() function is linked | |
459 | into L1 instruction memory.(less latency) | |
460 | ||
461 | config IDLE_L1 | |
462 | bool "Locate frequently idle function in L1 Memory" | |
463 | default y | |
464 | help | |
465 | If enabled frequently called idle function is linked | |
466 | into L1 instruction memory.(less latency) | |
467 | ||
468 | config SCHEDULE_L1 | |
469 | bool "Locate kernel schedule function in L1 Memory" | |
470 | default y | |
471 | help | |
472 | If enabled frequently called kernel schedule is linked | |
473 | into L1 instruction memory.(less latency) | |
474 | ||
475 | config ARITHMETIC_OPS_L1 | |
476 | bool "Locate kernel owned arithmetic functions in L1 Memory" | |
477 | default y | |
478 | help | |
479 | If enabled arithmetic functions are linked | |
480 | into L1 instruction memory.(less latency) | |
481 | ||
482 | config ACCESS_OK_L1 | |
483 | bool "Locate access_ok function in L1 Memory" | |
484 | default y | |
485 | help | |
486 | If enabled access_ok function is linked | |
487 | into L1 instruction memory.(less latency) | |
488 | ||
489 | config MEMSET_L1 | |
490 | bool "Locate memset function in L1 Memory" | |
491 | default y | |
492 | help | |
493 | If enabled memset function is linked | |
494 | into L1 instruction memory.(less latency) | |
495 | ||
496 | config MEMCPY_L1 | |
497 | bool "Locate memcpy function in L1 Memory" | |
498 | default y | |
499 | help | |
500 | If enabled memcpy function is linked | |
501 | into L1 instruction memory.(less latency) | |
502 | ||
503 | config SYS_BFIN_SPINLOCK_L1 | |
504 | bool "Locate sys_bfin_spinlock function in L1 Memory" | |
505 | default y | |
506 | help | |
507 | If enabled sys_bfin_spinlock function is linked | |
508 | into L1 instruction memory.(less latency) | |
509 | ||
510 | config IP_CHECKSUM_L1 | |
511 | bool "Locate IP Checksum function in L1 Memory" | |
512 | default n | |
513 | help | |
514 | If enabled IP Checksum function is linked | |
515 | into L1 instruction memory.(less latency) | |
516 | ||
517 | config CACHELINE_ALIGNED_L1 | |
518 | bool "Locate cacheline_aligned data to L1 Data Memory" | |
519 | default y | |
520 | depends on !BF531 | |
521 | help | |
522 | If enabled cacheline_anligned data is linked | |
523 | into L1 data memory.(less latency) | |
524 | ||
525 | config SYSCALL_TAB_L1 | |
526 | bool "Locate Syscall Table L1 Data Memory" | |
527 | default n | |
528 | depends on !BF531 | |
529 | help | |
530 | If enabled the Syscall LUT is linked | |
531 | into L1 data memory.(less latency) | |
532 | ||
533 | config CPLB_SWITCH_TAB_L1 | |
534 | bool "Locate CPLB Switch Tables L1 Data Memory" | |
535 | default n | |
536 | depends on !BF531 | |
537 | help | |
538 | If enabled the CPLB Switch Tables are linked | |
539 | into L1 data memory.(less latency) | |
540 | ||
541 | endmenu | |
542 | ||
543 | ||
544 | choice | |
545 | prompt "Kernel executes from" | |
546 | help | |
547 | Choose the memory type that the kernel will be running in. | |
548 | ||
549 | config RAMKERNEL | |
550 | bool "RAM" | |
551 | help | |
552 | The kernel will be resident in RAM when running. | |
553 | ||
554 | config ROMKERNEL | |
555 | bool "ROM" | |
556 | help | |
557 | The kernel will be resident in FLASH/ROM when running. | |
558 | ||
559 | endchoice | |
560 | ||
561 | source "mm/Kconfig" | |
562 | ||
1394f032 BW |
563 | config BFIN_DMA_5XX |
564 | bool "Enable DMA Support" | |
565 | depends on (BF533 || BF532 || BF531 || BF537 || BF536 || BF534 || BF561) | |
566 | default y | |
567 | help | |
568 | DMA driver for BF5xx. | |
569 | ||
570 | choice | |
571 | prompt "Uncached SDRAM region" | |
572 | default DMA_UNCACHED_1M | |
573 | depends BFIN_DMA_5XX | |
574 | config DMA_UNCACHED_2M | |
575 | bool "Enable 2M DMA region" | |
576 | config DMA_UNCACHED_1M | |
577 | bool "Enable 1M DMA region" | |
578 | config DMA_UNCACHED_NONE | |
579 | bool "Disable DMA region" | |
580 | endchoice | |
581 | ||
582 | ||
583 | comment "Cache Support" | |
584 | config BLKFIN_CACHE | |
585 | bool "Enable ICACHE" | |
586 | config BLKFIN_DCACHE | |
587 | bool "Enable DCACHE" | |
588 | config BLKFIN_DCACHE_BANKA | |
589 | bool "Enable only 16k BankA DCACHE - BankB is SRAM" | |
590 | depends on BLKFIN_DCACHE && !BF531 | |
591 | default n | |
592 | config BLKFIN_CACHE_LOCK | |
593 | bool "Enable Cache Locking" | |
594 | ||
595 | choice | |
596 | prompt "Policy" | |
597 | depends on BLKFIN_DCACHE | |
598 | default BLKFIN_WB | |
599 | config BLKFIN_WB | |
600 | bool "Write back" | |
601 | help | |
602 | Write Back Policy: | |
603 | Cached data will be written back to SDRAM only when needed. | |
604 | This can give a nice increase in performance, but beware of | |
605 | broken drivers that do not properly invalidate/flush their | |
606 | cache. | |
607 | ||
608 | Write Through Policy: | |
609 | Cached data will always be written back to SDRAM when the | |
610 | cache is updated. This is a completely safe setting, but | |
611 | performance is worse than Write Back. | |
612 | ||
613 | If you are unsure of the options and you want to be safe, | |
614 | then go with Write Through. | |
615 | ||
616 | config BLKFIN_WT | |
617 | bool "Write through" | |
618 | help | |
619 | Write Back Policy: | |
620 | Cached data will be written back to SDRAM only when needed. | |
621 | This can give a nice increase in performance, but beware of | |
622 | broken drivers that do not properly invalidate/flush their | |
623 | cache. | |
624 | ||
625 | Write Through Policy: | |
626 | Cached data will always be written back to SDRAM when the | |
627 | cache is updated. This is a completely safe setting, but | |
628 | performance is worse than Write Back. | |
629 | ||
630 | If you are unsure of the options and you want to be safe, | |
631 | then go with Write Through. | |
632 | ||
633 | endchoice | |
634 | ||
635 | config L1_MAX_PIECE | |
636 | int "Set the max L1 SRAM pieces" | |
637 | default 16 | |
638 | help | |
639 | Set the max memory pieces for the L1 SRAM allocation algorithm. | |
640 | Min value is 16. Max value is 1024. | |
641 | ||
642 | menu "Clock Settings" | |
643 | ||
644 | ||
645 | config BFIN_KERNEL_CLOCK | |
646 | bool "Re-program Clocks while Kernel boots?" | |
647 | default n | |
648 | help | |
649 | This option decides if kernel clocks are re-programed from the | |
650 | bootloader settings. If the clocks are not set, the SDRAM settings | |
651 | are also not changed, and the Bootloader does 100% of the hardware | |
652 | configuration. | |
653 | ||
654 | config VCO_MULT | |
655 | int "VCO Multiplier" | |
656 | depends on BFIN_KERNEL_CLOCK | |
657 | default "22" if BFIN533_EZKIT | |
658 | default "45" if BFIN533_STAMP | |
659 | default "20" if BFIN537_STAMP | |
660 | default "22" if BFIN533_BLUETECHNIX_CM | |
661 | default "20" if BFIN537_BLUETECHNIX_CM | |
662 | default "20" if BFIN561_BLUETECHNIX_CM | |
663 | default "20" if BFIN561_EZKIT | |
664 | ||
665 | config CCLK_DIV | |
666 | int "Core Clock Divider" | |
667 | depends on BFIN_KERNEL_CLOCK | |
668 | default 1 if BFIN533_EZKIT | |
669 | default 1 if BFIN533_STAMP | |
670 | default 1 if BFIN537_STAMP | |
671 | default 1 if BFIN533_BLUETECHNIX_CM | |
672 | default 1 if BFIN537_BLUETECHNIX_CM | |
673 | default 1 if BFIN561_BLUETECHNIX_CM | |
674 | default 1 if BFIN561_EZKIT | |
675 | ||
676 | config SCLK_DIV | |
677 | int "System Clock Divider" | |
678 | depends on BFIN_KERNEL_CLOCK | |
679 | default 5 if BFIN533_EZKIT | |
680 | default 5 if BFIN533_STAMP | |
681 | default 4 if BFIN537_STAMP | |
682 | default 5 if BFIN533_BLUETECHNIX_CM | |
683 | default 4 if BFIN537_BLUETECHNIX_CM | |
684 | default 4 if BFIN561_BLUETECHNIX_CM | |
685 | default 5 if BFIN561_EZKIT | |
686 | ||
687 | config CLKIN_HALF | |
688 | bool "Half ClockIn" | |
689 | depends on BFIN_KERNEL_CLOCK | |
690 | default n | |
691 | ||
692 | config PLL_BYPASS | |
693 | bool "Bypass PLL" | |
694 | depends on BFIN_KERNEL_CLOCK | |
695 | default n | |
696 | ||
697 | endmenu | |
698 | ||
699 | comment "Asynchonous Memory Configuration" | |
700 | ||
701 | menu "EBIU_AMBCTL Global Control" | |
702 | config C_AMCKEN | |
703 | bool "Enable CLKOUT" | |
704 | default y | |
705 | ||
706 | config C_CDPRIO | |
707 | bool "DMA has priority over core for ext. accesses" | |
708 | default n | |
709 | ||
710 | config C_B0PEN | |
711 | depends on BF561 | |
712 | bool "Bank 0 16 bit packing enable" | |
713 | default y | |
714 | ||
715 | config C_B1PEN | |
716 | depends on BF561 | |
717 | bool "Bank 1 16 bit packing enable" | |
718 | default y | |
719 | ||
720 | config C_B2PEN | |
721 | depends on BF561 | |
722 | bool "Bank 2 16 bit packing enable" | |
723 | default y | |
724 | ||
725 | config C_B3PEN | |
726 | depends on BF561 | |
727 | bool "Bank 3 16 bit packing enable" | |
728 | default n | |
729 | ||
730 | choice | |
731 | prompt"Enable Asynchonous Memory Banks" | |
732 | default C_AMBEN_ALL | |
733 | ||
734 | config C_AMBEN | |
735 | bool "Disable All Banks" | |
736 | ||
737 | config C_AMBEN_B0 | |
738 | bool "Enable Bank 0" | |
739 | ||
740 | config C_AMBEN_B0_B1 | |
741 | bool "Enable Bank 0 & 1" | |
742 | ||
743 | config C_AMBEN_B0_B1_B2 | |
744 | bool "Enable Bank 0 & 1 & 2" | |
745 | ||
746 | config C_AMBEN_ALL | |
747 | bool "Enable All Banks" | |
748 | endchoice | |
749 | endmenu | |
750 | ||
751 | menu "EBIU_AMBCTL Control" | |
752 | config BANK_0 | |
753 | hex "Bank 0" | |
754 | default 0x7BB0 | |
755 | ||
756 | config BANK_1 | |
757 | hex "Bank 1" | |
758 | default 0x7BB0 | |
759 | ||
760 | config BANK_2 | |
761 | hex "Bank 2" | |
762 | default 0x7BB0 | |
763 | ||
764 | config BANK_3 | |
765 | hex "Bank 3" | |
766 | default 0x99B3 | |
767 | endmenu | |
768 | ||
769 | endmenu | |
770 | ||
771 | ############################################################################# | |
772 | menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)" | |
773 | ||
774 | config PCI | |
775 | bool "PCI support" | |
776 | help | |
777 | Support for PCI bus. | |
778 | ||
779 | source "drivers/pci/Kconfig" | |
780 | ||
781 | config HOTPLUG | |
782 | bool "Support for hot-pluggable device" | |
783 | help | |
784 | Say Y here if you want to plug devices into your computer while | |
785 | the system is running, and be able to use them quickly. In many | |
786 | cases, the devices can likewise be unplugged at any time too. | |
787 | ||
788 | One well known example of this is PCMCIA- or PC-cards, credit-card | |
789 | size devices such as network cards, modems or hard drives which are | |
790 | plugged into slots found on all modern laptop computers. Another | |
791 | example, used on modern desktops as well as laptops, is USB. | |
792 | ||
793 | Enable HOTPLUG and KMOD, and build a modular kernel. Get agent | |
794 | software (at <http://linux-hotplug.sourceforge.net/>) and install it. | |
795 | Then your kernel will automatically call out to a user mode "policy | |
796 | agent" (/sbin/hotplug) to load modules and set up software needed | |
797 | to use devices as you hotplug them. | |
798 | ||
799 | source "drivers/pcmcia/Kconfig" | |
800 | ||
801 | source "drivers/pci/hotplug/Kconfig" | |
802 | ||
803 | endmenu | |
804 | ||
805 | menu "Executable file formats" | |
806 | ||
807 | source "fs/Kconfig.binfmt" | |
808 | ||
809 | endmenu | |
810 | ||
811 | menu "Power management options" | |
812 | source "kernel/power/Kconfig" | |
813 | ||
814 | choice | |
815 | prompt "Select PM Wakeup Event Source" | |
816 | default PM_WAKEUP_GPIO_BY_SIC_IWR | |
817 | depends on PM | |
818 | help | |
819 | If you have a GPIO already configured as input with the corresponding PORTx_MASK | |
820 | bit set - "Specify Wakeup Event by SIC_IWR value" | |
821 | ||
822 | config PM_WAKEUP_GPIO_BY_SIC_IWR | |
823 | bool "Specify Wakeup Event by SIC_IWR value" | |
824 | config PM_WAKEUP_BY_GPIO | |
825 | bool "Cause Wakeup Event by GPIO" | |
826 | config PM_WAKEUP_GPIO_API | |
827 | bool "Configure Wakeup Event by PM GPIO API" | |
828 | ||
829 | endchoice | |
830 | ||
831 | config PM_WAKEUP_SIC_IWR | |
832 | hex "Wakeup Events (SIC_IWR)" | |
833 | depends on PM_WAKEUP_GPIO_BY_SIC_IWR | |
834 | default 0x80000000 if (BF537 || BF536 || BF534) | |
835 | default 0x100000 if (BF533 || BF532 || BF531) | |
836 | ||
837 | config PM_WAKEUP_GPIO_NUMBER | |
838 | int "Wakeup GPIO number" | |
839 | range 0 47 | |
840 | depends on PM_WAKEUP_BY_GPIO | |
841 | default 2 if BFIN537_STAMP | |
842 | ||
843 | choice | |
844 | prompt "GPIO Polarity" | |
845 | depends on PM_WAKEUP_BY_GPIO | |
846 | default PM_WAKEUP_GPIO_POLAR_H | |
847 | config PM_WAKEUP_GPIO_POLAR_H | |
848 | bool "Active High" | |
849 | config PM_WAKEUP_GPIO_POLAR_L | |
850 | bool "Active Low" | |
851 | config PM_WAKEUP_GPIO_POLAR_EDGE_F | |
852 | bool "Falling EDGE" | |
853 | config PM_WAKEUP_GPIO_POLAR_EDGE_R | |
854 | bool "Rising EDGE" | |
855 | config PM_WAKEUP_GPIO_POLAR_EDGE_B | |
856 | bool "Both EDGE" | |
857 | endchoice | |
858 | ||
859 | endmenu | |
860 | ||
861 | if (BF537 || BF533) | |
862 | ||
863 | menu "CPU Frequency scaling" | |
864 | ||
865 | source "drivers/cpufreq/Kconfig" | |
866 | ||
867 | config CPU_FREQ | |
868 | bool | |
869 | default n | |
870 | help | |
871 | If you want to enable this option, you should select the | |
872 | DPMC driver from Character Devices. | |
873 | endmenu | |
874 | ||
875 | endif | |
876 | ||
877 | source "net/Kconfig" | |
878 | ||
879 | source "drivers/Kconfig" | |
880 | ||
881 | source "fs/Kconfig" | |
882 | ||
883 | source "arch/blackfin/oprofile/Kconfig" | |
884 | ||
885 | menu "Kernel hacking" | |
886 | ||
887 | source "lib/Kconfig.debug" | |
888 | ||
889 | config DEBUG_HWERR | |
890 | bool "Hardware error interrupt debugging" | |
891 | depends on DEBUG_KERNEL | |
892 | help | |
893 | When enabled, the hardware error interrupt is never disabled, and | |
894 | will happen immediately when an error condition occurs. This comes | |
895 | at a slight cost in code size, but is necessary if you are getting | |
896 | hardware error interrupts and need to know where they are coming | |
897 | from. | |
898 | ||
899 | config DEBUG_ICACHE_CHECK | |
900 | bool "Check Instruction cache coherancy" | |
901 | depends on DEBUG_KERNEL | |
902 | depends on DEBUG_HWERR | |
903 | help | |
904 | Say Y here if you are getting wierd unexplained errors. This will | |
905 | ensure that icache is what SDRAM says it should be, by doing a | |
906 | byte wise comparision between SDRAM and instruction cache. This | |
907 | also relocates the irq_panic() function to L1 memory, (which is | |
908 | un-cached). | |
909 | ||
910 | config DEBUG_KERNEL_START | |
911 | bool "Debug Kernel Startup" | |
912 | depends on DEBUG_KERNEL | |
913 | help | |
914 | Say Y here to put in an mini-execption handler before the kernel | |
915 | replaces the bootloader exception handler. This will stop kernels | |
916 | from dieing at startup with no visible error messages. | |
917 | ||
918 | config DEBUG_SERIAL_EARLY_INIT | |
919 | bool "Initialize serial driver early" | |
920 | default n | |
921 | depends on SERIAL_BFIN | |
922 | help | |
923 | Say Y here if you want to get kernel output early when kernel | |
924 | crashes before the normal console initialization. If this option | |
925 | is enable, console output will always go to the ttyBF0, no matter | |
926 | what kernel boot paramters you set. | |
927 | ||
928 | config DEBUG_HUNT_FOR_ZERO | |
929 | bool "Catch NULL pointer reads/writes" | |
930 | default y | |
931 | help | |
932 | Say Y here to catch reads/writes to anywhere in the memory range | |
933 | from 0x0000 - 0x0FFF (the first 4k) of memory. This is useful in | |
934 | catching common programming errors such as NULL pointer dereferences. | |
935 | ||
936 | Misbehaving applications will be killed (generate a SEGV) while the | |
937 | kernel will trigger a panic. | |
938 | ||
939 | Enabling this option will take up an extra entry in CPLB table. | |
940 | Otherwise, there is no extra overhead. | |
941 | ||
942 | config DEBUG_BFIN_NO_KERN_HWTRACE | |
943 | bool "Trace user apps (turn off hwtrace in kernel)" | |
944 | default n | |
945 | help | |
946 | Some pieces of the kernel contain a lot of flow changes which can | |
947 | quickly fill up the hardware trace buffer. When debugging crashes, | |
948 | the hardware trace may indicate that the problem lies in kernel | |
949 | space when in reality an application is buggy. | |
950 | ||
951 | Say Y here to disable hardware tracing in some known "jumpy" pieces | |
952 | of code so that the trace buffer will extend further back. | |
953 | ||
954 | config DUAL_CORE_TEST_MODULE | |
955 | tristate "Dual Core Test Module" | |
956 | depends on (BF561) | |
957 | default n | |
958 | help | |
959 | Say Y here to build-in dual core test module for dual core test. | |
960 | ||
961 | config CPLB_INFO | |
962 | bool "Display the CPLB information" | |
963 | help | |
964 | Display the CPLB information. | |
965 | ||
966 | config ACCESS_CHECK | |
967 | bool "Check the user pointer address" | |
968 | default y | |
969 | help | |
970 | Usually the pointer transfer from user space is checked to see if its | |
971 | address is in the kernel space. | |
972 | ||
973 | Say N here to disable that check to improve the performance. | |
974 | ||
975 | endmenu | |
976 | ||
977 | source "security/Kconfig" | |
978 | ||
979 | source "crypto/Kconfig" | |
980 | ||
981 | source "lib/Kconfig" |