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