aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/Kconfig
diff options
context:
space:
mode:
authorBryan Wu <bryan.wu@analog.com>2007-05-06 17:50:22 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-07 15:12:58 -0400
commit1394f03221790a988afc3e4b3cb79f2e477246a9 (patch)
tree2c1963c9a4f2d84a5e021307fde240c5d567cf70 /arch/blackfin/Kconfig
parent73243284463a761e04d69d22c7516b2be7de096c (diff)
blackfin architecture
This adds support for the Analog Devices Blackfin processor architecture, and currently supports the BF533, BF532, BF531, BF537, BF536, BF534, and BF561 (Dual Core) devices, with a variety of development platforms including those avaliable from Analog Devices (BF533-EZKit, BF533-STAMP, BF537-STAMP, BF561-EZKIT), and Bluetechnix! Tinyboards. The Blackfin architecture was jointly developed by Intel and Analog Devices Inc. (ADI) as the Micro Signal Architecture (MSA) core and introduced it in December of 2000. Since then ADI has put this core into its Blackfin processor family of devices. The Blackfin core has the advantages of a clean, orthogonal,RISC-like microprocessor instruction set. It combines a dual-MAC (Multiply/Accumulate), state-of-the-art signal processing engine and single-instruction, multiple-data (SIMD) multimedia capabilities into a single instruction-set architecture. The Blackfin architecture, including the instruction set, is described by the ADSP-BF53x/BF56x Blackfin Processor Programming Reference http://blackfin.uclinux.org/gf/download/frsrelease/29/2549/Blackfin_PRM.pdf The Blackfin processor is already supported by major releases of gcc, and there are binary and source rpms/tarballs for many architectures at: http://blackfin.uclinux.org/gf/project/toolchain/frs There is complete documentation, including "getting started" guides available at: http://docs.blackfin.uclinux.org/ which provides links to the sources and patches you will need in order to set up a cross-compiling environment for bfin-linux-uclibc This patch, as well as the other patches (toolchain, distribution, uClibc) are actively supported by Analog Devices Inc, at: http://blackfin.uclinux.org/ We have tested this on LTP, and our test plan (including pass/fails) can be found at: http://docs.blackfin.uclinux.org/doku.php?id=testing_the_linux_kernel [m.kozlowski@tuxland.pl: balance parenthesis in blackfin header files] Signed-off-by: Bryan Wu <bryan.wu@analog.com> Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl> Signed-off-by: Aubrey Li <aubrey.li@analog.com> Signed-off-by: Jie Zhang <jie.zhang@analog.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/blackfin/Kconfig')
-rw-r--r--arch/blackfin/Kconfig989
1 files changed, 989 insertions, 0 deletions
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig
new file mode 100644
index 000000000000..1a4930509325
--- /dev/null
+++ b/arch/blackfin/Kconfig
@@ -0,0 +1,989 @@
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
28config BFIN
29 bool
30 default y
31
32config SEMAPHORE_SLEEPERS
33 bool
34 default y
35
36config GENERIC_FIND_NEXT_BIT
37 bool
38 default y
39
40config GENERIC_HWEIGHT
41 bool
42 default y
43
44config GENERIC_HARDIRQS
45 bool
46 default y
47
48config GENERIC_IRQ_PROBE
49 bool
50 default y
51
52config GENERIC_TIME
53 bool
54 default n
55
56config GENERIC_CALIBRATE_DELAY
57 bool
58 default y
59
60config FORCE_MAX_ZONEORDER
61 int
62 default "14"
63
64config GENERIC_CALIBRATE_DELAY
65 bool
66 default y
67
68config IRQCHIP_DEMUX_GPIO
69 bool
70 default y
71
72source "init/Kconfig"
73source "kernel/Kconfig.preempt"
74
75menu "Blackfin Processor Options"
76
77comment "Processor and Board Settings"
78
79choice
80 prompt "CPU"
81 default BF533
82
83config BF531
84 bool "BF531"
85 help
86 BF531 Processor Support.
87
88config BF532
89 bool "BF532"
90 help
91 BF532 Processor Support.
92
93config BF533
94 bool "BF533"
95 help
96 BF533 Processor Support.
97
98config BF534
99 bool "BF534"
100 help
101 BF534 Processor Support.
102
103config BF536
104 bool "BF536"
105 help
106 BF536 Processor Support.
107
108config BF537
109 bool "BF537"
110 help
111 BF537 Processor Support.
112
113config BF561
114 bool "BF561"
115 help
116 Not Supported Yet - Work in progress - BF561 Processor Support.
117
118endchoice
119
120choice
121 prompt "Silicon Rev"
122 default BF_REV_0_2 if BF537
123 default BF_REV_0_3 if BF533
124
125config BF_REV_0_2
126 bool "0.2"
127 depends on (BF537 || BF536 || BF534)
128
129config BF_REV_0_3
130 bool "0.3"
131 depends on (BF561 || BF537 || BF536 || BF534 || BF533 || BF532 || BF531)
132
133config BF_REV_0_4
134 bool "0.4"
135 depends on (BF561 || BF533 || BF532 || BF531)
136
137config BF_REV_0_5
138 bool "0.5"
139 depends on (BF561 || BF533 || BF532 || BF531)
140
141endchoice
142
143config BFIN_DUAL_CORE
144 bool
145 depends on (BF561)
146 default y
147
148config BFIN_SINGLE_CORE
149 bool
150 depends on !BFIN_DUAL_CORE
151 default y
152
153choice
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
161config BFIN533_EZKIT
162 bool "BF533-EZKIT"
163 depends on (BF533 || BF532 || BF531)
164 help
165 BF533-EZKIT-LITE board Support.
166
167config BFIN533_STAMP
168 bool "BF533-STAMP"
169 depends on (BF533 || BF532 || BF531)
170 help
171 BF533-STAMP board Support.
172
173config BFIN537_STAMP
174 bool "BF537-STAMP"
175 depends on (BF537 || BF536 || BF534)
176 help
177 BF537-STAMP board Support.
178
179config BFIN533_BLUETECHNIX_CM
180 bool "Bluetechnix CM-BF533"
181 depends on (BF533)
182 help
183 CM-BF533 support for EVAL- and DEV-Board.
184
185config BFIN537_BLUETECHNIX_CM
186 bool "Bluetechnix CM-BF537"
187 depends on (BF537)
188 help
189 CM-BF537 support for EVAL- and DEV-Board.
190
191config BFIN561_BLUETECHNIX_CM
192 bool "BF561-CM"
193 depends on (BF561)
194 help
195 CM-BF561 support for EVAL- and DEV-Board.
196
197config BFIN561_EZKIT
198 bool "BF561-EZKIT"
199 depends on (BF561)
200 help
201 BF561-EZKIT-LITE board Support.
202
203config PNAV10
204 bool "PNAV 1.0 board"
205 depends on (BF537)
206 help
207 PNAV 1.0 board Support.
208
209config 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
216endchoice
217
218config MEM_GENERIC_BOARD
219 bool
220 depends on GENERIC_BOARD
221 default y
222
223config MEM_MT48LC64M4A2FB_7E
224 bool
225 depends on (BFIN533_STAMP)
226 default y
227
228config MEM_MT48LC16M16A2TG_75
229 bool
230 depends on (BFIN533_EZKIT || BFIN561_EZKIT \
231 || BFIN533_BLUETECHNIX_CM || BFIN537_BLUETECHNIX_CM)
232 default y
233
234config MEM_MT48LC32M8A2_75
235 bool
236 depends on (BFIN537_STAMP || PNAV10)
237 default y
238
239config MEM_MT48LC8M32B2B5_7
240 bool
241 depends on (BFIN561_BLUETECHNIX_CM)
242 default y
243
244config BFIN_SHARED_FLASH_ENET
245 bool
246 depends on (BFIN533_STAMP)
247 default y
248
249source "arch/blackfin/mach-bf533/Kconfig"
250source "arch/blackfin/mach-bf561/Kconfig"
251source "arch/blackfin/mach-bf537/Kconfig"
252
253menu "Board customizations"
254
255config CMDLINE_BOOL
256 bool "Default bootloader kernel arguments"
257
258config 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
267comment "Board Setup"
268
269config 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
279config 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
287config 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
295config 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
305config 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
318comment "LED Status Indicators"
319 depends on (BFIN533_STAMP || BFIN533_BLUETECHNIX_CM)
320
321config 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
329config 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
337config 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
344config 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
357config BFIN_ALIVE_LED_PORT
358 hex
359 default 0xFFC00700 if (BFIN533_STAMP)
360
361# Peripheral Flag Direction Register
362config BFIN_ALIVE_LED_DPORT
363 hex
364 default 0xFFC00730 if (BFIN533_STAMP)
365
366config 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
372config BFIN_IDLE_LED_PORT
373 hex
374 default 0xFFC00700 if (BFIN533_STAMP)
375
376# Peripheral Flag Direction Register
377config BFIN_IDLE_LED_DPORT
378 hex
379 default 0xFFC00730 if (BFIN533_STAMP)
380
381config 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
387comment "Console UART Setup"
388
389choice
390 prompt "Baud Rate"
391 default BAUD_57600
392config BAUD_9600
393 bool "9600"
394config BAUD_19200
395 bool "19200"
396config BAUD_38400
397 bool "38400"
398config BAUD_57600
399 bool "57600"
400config BAUD_115200
401 bool "115200"
402endchoice
403
404choice
405 prompt "Parity"
406 default BAUD_NO_PARITY
407config BAUD_NO_PARITY
408 bool "No Parity"
409config BAUD_PARITY
410 bool "Parity"
411endchoice
412
413choice
414 prompt "Stop Bits"
415 default BAUD_1_STOPBIT
416config BAUD_1_STOPBIT
417 bool "1"
418config BAUD_2_STOPBIT
419 bool "2"
420endchoice
421
422endmenu
423
424
425menu "Blackfin Kernel Optimizations"
426
427comment "Timer Tick"
428
429source kernel/Kconfig.hz
430
431comment "Memory Optimizations"
432
433config 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
440config 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
447config 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
454config 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
461config 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
468config 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
475config 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
482config 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
489config 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
496config 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
503config 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
510config 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
517config 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
525config 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
533config 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
541endmenu
542
543
544choice
545 prompt "Kernel executes from"
546 help
547 Choose the memory type that the kernel will be running in.
548
549config RAMKERNEL
550 bool "RAM"
551 help
552 The kernel will be resident in RAM when running.
553
554config ROMKERNEL
555 bool "ROM"
556 help
557 The kernel will be resident in FLASH/ROM when running.
558
559endchoice
560
561source "mm/Kconfig"
562
563config LARGE_ALLOCS
564 bool "Allow allocating large blocks (> 1MB) of memory"
565 help
566 Allow the slab memory allocator to keep chains for very large
567 memory sizes - upto 32MB. You may need this if your system has
568 a lot of RAM, and you need to able to allocate very large
569 contiguous chunks. If unsure, say N.
570
571config BFIN_DMA_5XX
572 bool "Enable DMA Support"
573 depends on (BF533 || BF532 || BF531 || BF537 || BF536 || BF534 || BF561)
574 default y
575 help
576 DMA driver for BF5xx.
577
578choice
579 prompt "Uncached SDRAM region"
580 default DMA_UNCACHED_1M
581 depends BFIN_DMA_5XX
582config DMA_UNCACHED_2M
583 bool "Enable 2M DMA region"
584config DMA_UNCACHED_1M
585 bool "Enable 1M DMA region"
586config DMA_UNCACHED_NONE
587 bool "Disable DMA region"
588endchoice
589
590
591comment "Cache Support"
592config BLKFIN_CACHE
593 bool "Enable ICACHE"
594config BLKFIN_DCACHE
595 bool "Enable DCACHE"
596config BLKFIN_DCACHE_BANKA
597 bool "Enable only 16k BankA DCACHE - BankB is SRAM"
598 depends on BLKFIN_DCACHE && !BF531
599 default n
600config BLKFIN_CACHE_LOCK
601 bool "Enable Cache Locking"
602
603choice
604 prompt "Policy"
605 depends on BLKFIN_DCACHE
606 default BLKFIN_WB
607config BLKFIN_WB
608 bool "Write back"
609 help
610 Write Back Policy:
611 Cached data will be written back to SDRAM only when needed.
612 This can give a nice increase in performance, but beware of
613 broken drivers that do not properly invalidate/flush their
614 cache.
615
616 Write Through Policy:
617 Cached data will always be written back to SDRAM when the
618 cache is updated. This is a completely safe setting, but
619 performance is worse than Write Back.
620
621 If you are unsure of the options and you want to be safe,
622 then go with Write Through.
623
624config BLKFIN_WT
625 bool "Write through"
626 help
627 Write Back Policy:
628 Cached data will be written back to SDRAM only when needed.
629 This can give a nice increase in performance, but beware of
630 broken drivers that do not properly invalidate/flush their
631 cache.
632
633 Write Through Policy:
634 Cached data will always be written back to SDRAM when the
635 cache is updated. This is a completely safe setting, but
636 performance is worse than Write Back.
637
638 If you are unsure of the options and you want to be safe,
639 then go with Write Through.
640
641endchoice
642
643config L1_MAX_PIECE
644 int "Set the max L1 SRAM pieces"
645 default 16
646 help
647 Set the max memory pieces for the L1 SRAM allocation algorithm.
648 Min value is 16. Max value is 1024.
649
650menu "Clock Settings"
651
652
653config BFIN_KERNEL_CLOCK
654 bool "Re-program Clocks while Kernel boots?"
655 default n
656 help
657 This option decides if kernel clocks are re-programed from the
658 bootloader settings. If the clocks are not set, the SDRAM settings
659 are also not changed, and the Bootloader does 100% of the hardware
660 configuration.
661
662config VCO_MULT
663 int "VCO Multiplier"
664 depends on BFIN_KERNEL_CLOCK
665 default "22" if BFIN533_EZKIT
666 default "45" if BFIN533_STAMP
667 default "20" if BFIN537_STAMP
668 default "22" if BFIN533_BLUETECHNIX_CM
669 default "20" if BFIN537_BLUETECHNIX_CM
670 default "20" if BFIN561_BLUETECHNIX_CM
671 default "20" if BFIN561_EZKIT
672
673config CCLK_DIV
674 int "Core Clock Divider"
675 depends on BFIN_KERNEL_CLOCK
676 default 1 if BFIN533_EZKIT
677 default 1 if BFIN533_STAMP
678 default 1 if BFIN537_STAMP
679 default 1 if BFIN533_BLUETECHNIX_CM
680 default 1 if BFIN537_BLUETECHNIX_CM
681 default 1 if BFIN561_BLUETECHNIX_CM
682 default 1 if BFIN561_EZKIT
683
684config SCLK_DIV
685 int "System Clock Divider"
686 depends on BFIN_KERNEL_CLOCK
687 default 5 if BFIN533_EZKIT
688 default 5 if BFIN533_STAMP
689 default 4 if BFIN537_STAMP
690 default 5 if BFIN533_BLUETECHNIX_CM
691 default 4 if BFIN537_BLUETECHNIX_CM
692 default 4 if BFIN561_BLUETECHNIX_CM
693 default 5 if BFIN561_EZKIT
694
695config CLKIN_HALF
696 bool "Half ClockIn"
697 depends on BFIN_KERNEL_CLOCK
698 default n
699
700config PLL_BYPASS
701 bool "Bypass PLL"
702 depends on BFIN_KERNEL_CLOCK
703 default n
704
705endmenu
706
707comment "Asynchonous Memory Configuration"
708
709menu "EBIU_AMBCTL Global Control"
710config C_AMCKEN
711 bool "Enable CLKOUT"
712 default y
713
714config C_CDPRIO
715 bool "DMA has priority over core for ext. accesses"
716 default n
717
718config C_B0PEN
719 depends on BF561
720 bool "Bank 0 16 bit packing enable"
721 default y
722
723config C_B1PEN
724 depends on BF561
725 bool "Bank 1 16 bit packing enable"
726 default y
727
728config C_B2PEN
729 depends on BF561
730 bool "Bank 2 16 bit packing enable"
731 default y
732
733config C_B3PEN
734 depends on BF561
735 bool "Bank 3 16 bit packing enable"
736 default n
737
738choice
739 prompt"Enable Asynchonous Memory Banks"
740 default C_AMBEN_ALL
741
742config C_AMBEN
743 bool "Disable All Banks"
744
745config C_AMBEN_B0
746 bool "Enable Bank 0"
747
748config C_AMBEN_B0_B1
749 bool "Enable Bank 0 & 1"
750
751config C_AMBEN_B0_B1_B2
752 bool "Enable Bank 0 & 1 & 2"
753
754config C_AMBEN_ALL
755 bool "Enable All Banks"
756endchoice
757endmenu
758
759menu "EBIU_AMBCTL Control"
760config BANK_0
761 hex "Bank 0"
762 default 0x7BB0
763
764config BANK_1
765 hex "Bank 1"
766 default 0x7BB0
767
768config BANK_2
769 hex "Bank 2"
770 default 0x7BB0
771
772config BANK_3
773 hex "Bank 3"
774 default 0x99B3
775endmenu
776
777endmenu
778
779#############################################################################
780menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
781
782config PCI
783 bool "PCI support"
784 help
785 Support for PCI bus.
786
787source "drivers/pci/Kconfig"
788
789config HOTPLUG
790 bool "Support for hot-pluggable device"
791 help
792 Say Y here if you want to plug devices into your computer while
793 the system is running, and be able to use them quickly. In many
794 cases, the devices can likewise be unplugged at any time too.
795
796 One well known example of this is PCMCIA- or PC-cards, credit-card
797 size devices such as network cards, modems or hard drives which are
798 plugged into slots found on all modern laptop computers. Another
799 example, used on modern desktops as well as laptops, is USB.
800
801 Enable HOTPLUG and KMOD, and build a modular kernel. Get agent
802 software (at <http://linux-hotplug.sourceforge.net/>) and install it.
803 Then your kernel will automatically call out to a user mode "policy
804 agent" (/sbin/hotplug) to load modules and set up software needed
805 to use devices as you hotplug them.
806
807source "drivers/pcmcia/Kconfig"
808
809source "drivers/pci/hotplug/Kconfig"
810
811endmenu
812
813menu "Executable file formats"
814
815source "fs/Kconfig.binfmt"
816
817endmenu
818
819menu "Power management options"
820source "kernel/power/Kconfig"
821
822choice
823 prompt "Select PM Wakeup Event Source"
824 default PM_WAKEUP_GPIO_BY_SIC_IWR
825 depends on PM
826 help
827 If you have a GPIO already configured as input with the corresponding PORTx_MASK
828 bit set - "Specify Wakeup Event by SIC_IWR value"
829
830config PM_WAKEUP_GPIO_BY_SIC_IWR
831 bool "Specify Wakeup Event by SIC_IWR value"
832config PM_WAKEUP_BY_GPIO
833 bool "Cause Wakeup Event by GPIO"
834config PM_WAKEUP_GPIO_API
835 bool "Configure Wakeup Event by PM GPIO API"
836
837endchoice
838
839config PM_WAKEUP_SIC_IWR
840 hex "Wakeup Events (SIC_IWR)"
841 depends on PM_WAKEUP_GPIO_BY_SIC_IWR
842 default 0x80000000 if (BF537 || BF536 || BF534)
843 default 0x100000 if (BF533 || BF532 || BF531)
844
845config PM_WAKEUP_GPIO_NUMBER
846 int "Wakeup GPIO number"
847 range 0 47
848 depends on PM_WAKEUP_BY_GPIO
849 default 2 if BFIN537_STAMP
850
851choice
852 prompt "GPIO Polarity"
853 depends on PM_WAKEUP_BY_GPIO
854 default PM_WAKEUP_GPIO_POLAR_H
855config PM_WAKEUP_GPIO_POLAR_H
856 bool "Active High"
857config PM_WAKEUP_GPIO_POLAR_L
858 bool "Active Low"
859config PM_WAKEUP_GPIO_POLAR_EDGE_F
860 bool "Falling EDGE"
861config PM_WAKEUP_GPIO_POLAR_EDGE_R
862 bool "Rising EDGE"
863config PM_WAKEUP_GPIO_POLAR_EDGE_B
864 bool "Both EDGE"
865endchoice
866
867endmenu
868
869if (BF537 || BF533)
870
871menu "CPU Frequency scaling"
872
873source "drivers/cpufreq/Kconfig"
874
875config CPU_FREQ
876 bool
877 default n
878 help
879 If you want to enable this option, you should select the
880 DPMC driver from Character Devices.
881endmenu
882
883endif
884
885source "net/Kconfig"
886
887source "drivers/Kconfig"
888
889source "fs/Kconfig"
890
891source "arch/blackfin/oprofile/Kconfig"
892
893menu "Kernel hacking"
894
895source "lib/Kconfig.debug"
896
897config DEBUG_HWERR
898 bool "Hardware error interrupt debugging"
899 depends on DEBUG_KERNEL
900 help
901 When enabled, the hardware error interrupt is never disabled, and
902 will happen immediately when an error condition occurs. This comes
903 at a slight cost in code size, but is necessary if you are getting
904 hardware error interrupts and need to know where they are coming
905 from.
906
907config DEBUG_ICACHE_CHECK
908 bool "Check Instruction cache coherancy"
909 depends on DEBUG_KERNEL
910 depends on DEBUG_HWERR
911 help
912 Say Y here if you are getting wierd unexplained errors. This will
913 ensure that icache is what SDRAM says it should be, by doing a
914 byte wise comparision between SDRAM and instruction cache. This
915 also relocates the irq_panic() function to L1 memory, (which is
916 un-cached).
917
918config DEBUG_KERNEL_START
919 bool "Debug Kernel Startup"
920 depends on DEBUG_KERNEL
921 help
922 Say Y here to put in an mini-execption handler before the kernel
923 replaces the bootloader exception handler. This will stop kernels
924 from dieing at startup with no visible error messages.
925
926config DEBUG_SERIAL_EARLY_INIT
927 bool "Initialize serial driver early"
928 default n
929 depends on SERIAL_BFIN
930 help
931 Say Y here if you want to get kernel output early when kernel
932 crashes before the normal console initialization. If this option
933 is enable, console output will always go to the ttyBF0, no matter
934 what kernel boot paramters you set.
935
936config DEBUG_HUNT_FOR_ZERO
937 bool "Catch NULL pointer reads/writes"
938 default y
939 help
940 Say Y here to catch reads/writes to anywhere in the memory range
941 from 0x0000 - 0x0FFF (the first 4k) of memory. This is useful in
942 catching common programming errors such as NULL pointer dereferences.
943
944 Misbehaving applications will be killed (generate a SEGV) while the
945 kernel will trigger a panic.
946
947 Enabling this option will take up an extra entry in CPLB table.
948 Otherwise, there is no extra overhead.
949
950config DEBUG_BFIN_NO_KERN_HWTRACE
951 bool "Trace user apps (turn off hwtrace in kernel)"
952 default n
953 help
954 Some pieces of the kernel contain a lot of flow changes which can
955 quickly fill up the hardware trace buffer. When debugging crashes,
956 the hardware trace may indicate that the problem lies in kernel
957 space when in reality an application is buggy.
958
959 Say Y here to disable hardware tracing in some known "jumpy" pieces
960 of code so that the trace buffer will extend further back.
961
962config DUAL_CORE_TEST_MODULE
963 tristate "Dual Core Test Module"
964 depends on (BF561)
965 default n
966 help
967 Say Y here to build-in dual core test module for dual core test.
968
969config CPLB_INFO
970 bool "Display the CPLB information"
971 help
972 Display the CPLB information.
973
974config ACCESS_CHECK
975 bool "Check the user pointer address"
976 default y
977 help
978 Usually the pointer transfer from user space is checked to see if its
979 address is in the kernel space.
980
981 Say N here to disable that check to improve the performance.
982
983endmenu
984
985source "security/Kconfig"
986
987source "crypto/Kconfig"
988
989source "lib/Kconfig"