Blackfin arch: add BF547 to list of accepted procs
[linux-2.6/x86.git] / arch / blackfin / Kconfig
blob7b03f9241d660e0b4bdd875c42b6f908603108f7
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
6 mainmenu "Blackfin Kernel Configuration"
8 config MMU
9         bool
10         default n
12 config FPU
13         bool
14         default n
16 config RWSEM_GENERIC_SPINLOCK
17         bool
18         default y
20 config RWSEM_XCHGADD_ALGORITHM
21         bool
22         default n
24 config BLACKFIN
25         bool
26         default y
28 config ZONE_DMA
29         bool
30         default y
32 config SEMAPHORE_SLEEPERS
33         bool
34         default y
36 config GENERIC_FIND_NEXT_BIT
37         bool
38         default y
40 config GENERIC_HWEIGHT
41         bool
42         default y
44 config GENERIC_HARDIRQS
45         bool
46         default y
48 config GENERIC_IRQ_PROBE
49         bool
50         default y
52 config GENERIC_TIME
53         bool
54         default n
56 config GENERIC_GPIO
57         bool
58         default y
60 config FORCE_MAX_ZONEORDER
61         int
62         default "14"
64 config GENERIC_CALIBRATE_DELAY
65         bool
66         default y
68 config IRQCHIP_DEMUX_GPIO
69         bool
70         depends on (BF52x || BF53x || BF561 || BF54x)
71         default y
73 source "init/Kconfig"
74 source "kernel/Kconfig.preempt"
76 menu "Blackfin Processor Options"
78 comment "Processor and Board Settings"
80 choice
81         prompt "CPU"
82         default BF533
84 config BF522
85         bool "BF522"
86         help
87           BF522 Processor Support.
89 config BF525
90         bool "BF525"
91         help
92           BF525 Processor Support.
94 config BF527
95         bool "BF527"
96         help
97           BF527 Processor Support.
99 config BF531
100         bool "BF531"
101         help
102           BF531 Processor Support.
104 config BF532
105         bool "BF532"
106         help
107           BF532 Processor Support.
109 config BF533
110         bool "BF533"
111         help
112           BF533 Processor Support.
114 config BF534
115         bool "BF534"
116         help
117           BF534 Processor Support.
119 config BF536
120         bool "BF536"
121         help
122           BF536 Processor Support.
124 config BF537
125         bool "BF537"
126         help
127           BF537 Processor Support.
129 config BF542
130         bool "BF542"
131         help
132           BF542 Processor Support.
134 config BF544
135         bool "BF544"
136         help
137           BF544 Processor Support.
139 config BF547
140         bool "BF547"
141         help
142           BF547 Processor Support.
144 config BF548
145         bool "BF548"
146         help
147           BF548 Processor Support.
149 config BF549
150         bool "BF549"
151         help
152           BF549 Processor Support.
154 config BF561
155         bool "BF561"
156         help
157           Not Supported Yet - Work in progress - BF561 Processor Support.
159 endchoice
161 choice
162         prompt "Silicon Rev"
163         default BF_REV_0_1 if BF527
164         default BF_REV_0_2 if BF537
165         default BF_REV_0_3 if BF533
166         default BF_REV_0_0 if BF549
168 config BF_REV_0_0
169         bool "0.0"
170         depends on (BF52x || BF54x)
172 config BF_REV_0_1
173         bool "0.1"
174         depends on (BF52x || BF54x)
176 config BF_REV_0_2
177         bool "0.2"
178         depends on (BF537 || BF536 || BF534)
180 config BF_REV_0_3
181         bool "0.3"
182         depends on (BF561 || BF537 || BF536 || BF534 || BF533 || BF532 || BF531)
184 config BF_REV_0_4
185         bool "0.4"
186         depends on (BF561 || BF533 || BF532 || BF531)
188 config BF_REV_0_5
189         bool "0.5"
190         depends on (BF561 || BF533 || BF532 || BF531)
192 config BF_REV_ANY
193         bool "any"
195 config BF_REV_NONE
196         bool "none"
198 endchoice
200 config BF52x
201         bool
202         depends on (BF522 || BF525 || BF527)
203         default y
205 config BF53x
206         bool
207         depends on (BF531 || BF532 || BF533 || BF534 || BF536 || BF537)
208         default y
210 config BF54x
211         bool
212         depends on (BF542 || BF544 || BF547 || BF548 || BF549)
213         default y
215 config BFIN_DUAL_CORE
216         bool
217         depends on (BF561)
218         default y
220 config BFIN_SINGLE_CORE
221         bool
222         depends on !BFIN_DUAL_CORE
223         default y
225 config MEM_GENERIC_BOARD
226         bool
227         depends on GENERIC_BOARD
228         default y
230 config MEM_MT48LC64M4A2FB_7E
231         bool
232         depends on (BFIN533_STAMP)
233         default y
235 config MEM_MT48LC16M16A2TG_75
236         bool
237         depends on (BFIN533_EZKIT || BFIN561_EZKIT \
238                 || BFIN533_BLUETECHNIX_CM || BFIN537_BLUETECHNIX_CM \
239                 || H8606_HVSISTEMAS)
240         default y
242 config MEM_MT48LC32M8A2_75
243         bool
244         depends on (BFIN537_STAMP || PNAV10)
245         default y
247 config MEM_MT48LC8M32B2B5_7
248         bool
249         depends on (BFIN561_BLUETECHNIX_CM)
250         default y
252 config MEM_MT48LC32M16A2TG_75
253         bool
254         depends on (BFIN527_EZKIT)
255         default y
257 config BFIN_SHARED_FLASH_ENET
258         bool
259         depends on (BFIN533_STAMP)
260         default y
262 source "arch/blackfin/mach-bf527/Kconfig"
263 source "arch/blackfin/mach-bf533/Kconfig"
264 source "arch/blackfin/mach-bf561/Kconfig"
265 source "arch/blackfin/mach-bf537/Kconfig"
266 source "arch/blackfin/mach-bf548/Kconfig"
268 menu "Board customizations"
270 config CMDLINE_BOOL
271         bool "Default bootloader kernel arguments"
273 config CMDLINE
274         string "Initial kernel command string"
275         depends on CMDLINE_BOOL
276         default "console=ttyBF0,57600"
277         help
278           If you don't have a boot loader capable of passing a command line string
279           to the kernel, you may specify one here. As a minimum, you should specify
280           the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
282 comment "Clock/PLL Setup"
284 config CLKIN_HZ
285         int "Crystal Frequency in Hz"
286         default "11059200" if BFIN533_STAMP
287         default "27000000" if BFIN533_EZKIT
288         default "25000000" if (BFIN537_STAMP || BFIN527_EZKIT || H8606_HVSISTEMAS)
289         default "30000000" if BFIN561_EZKIT
290         default "24576000" if PNAV10
291         help
292           The frequency of CLKIN crystal oscillator on the board in Hz.
294 config BFIN_KERNEL_CLOCK
295         bool "Re-program Clocks while Kernel boots?"
296         default n
297         help
298           This option decides if kernel clocks are re-programed from the
299           bootloader settings. If the clocks are not set, the SDRAM settings
300           are also not changed, and the Bootloader does 100% of the hardware
301           configuration.
303 config PLL_BYPASS
304         bool "Bypass PLL"
305         depends on BFIN_KERNEL_CLOCK
306         default n
308 config CLKIN_HALF
309         bool "Half Clock In"
310         depends on BFIN_KERNEL_CLOCK && (! PLL_BYPASS)
311         default n
312         help
313           If this is set the clock will be divided by 2, before it goes to the PLL.
315 config VCO_MULT
316         int "VCO Multiplier"
317         depends on BFIN_KERNEL_CLOCK && (! PLL_BYPASS)
318         range 1 64
319         default "22" if BFIN533_EZKIT
320         default "45" if BFIN533_STAMP
321         default "20" if (BFIN537_STAMP || BFIN527_EZKIT)
322         default "22" if BFIN533_BLUETECHNIX_CM
323         default "20" if BFIN537_BLUETECHNIX_CM
324         default "20" if BFIN561_BLUETECHNIX_CM
325         default "20" if BFIN561_EZKIT
326         default "16" if H8606_HVSISTEMAS
327         help
328           This controls the frequency of the on-chip PLL. This can be between 1 and 64.
329           PLL Frequency = (Crystal Frequency) * (this setting)
331 choice
332         prompt "Core Clock Divider"
333         depends on BFIN_KERNEL_CLOCK
334         default CCLK_DIV_1
335         help
336           This sets the frequency of the core. It can be 1, 2, 4 or 8
337           Core Frequency = (PLL frequency) / (this setting)
339 config CCLK_DIV_1
340         bool "1"
342 config CCLK_DIV_2
343         bool "2"
345 config CCLK_DIV_4
346         bool "4"
348 config CCLK_DIV_8
349         bool "8"
350 endchoice
352 config SCLK_DIV
353         int "System Clock Divider"
354         depends on BFIN_KERNEL_CLOCK
355         range 1 15
356         default 5 if BFIN533_EZKIT
357         default 5 if BFIN533_STAMP
358         default 4 if (BFIN537_STAMP || BFIN527_EZKIT)
359         default 5 if BFIN533_BLUETECHNIX_CM
360         default 4 if BFIN537_BLUETECHNIX_CM
361         default 4 if BFIN561_BLUETECHNIX_CM
362         default 5 if BFIN561_EZKIT
363         default 3 if H8606_HVSISTEMAS
364         help
365           This sets the frequency of the system clock (including SDRAM or DDR).
366           This can be between 1 and 15
367           System Clock = (PLL frequency) / (this setting)
370 # Max & Min Speeds for various Chips
372 config MAX_VCO_HZ
373         int
374         default 600000000 if BF522
375         default 600000000 if BF525
376         default 600000000 if BF527
377         default 400000000 if BF531
378         default 400000000 if BF532
379         default 750000000 if BF533
380         default 500000000 if BF534
381         default 400000000 if BF536
382         default 600000000 if BF537
383         default 533000000 if BF538
384         default 533000000 if BF539
385         default 600000000 if BF542
386         default 533000000 if BF544
387         default 533000000 if BF549
388         default 600000000 if BF561
390 config MIN_VCO_HZ
391         int
392         default 50000000
394 config MAX_SCLK_HZ
395         int
396         default 133000000
398 config MIN_SCLK_HZ
399         int
400         default 27000000
402 comment "Kernel Timer/Scheduler"
404 source kernel/Kconfig.hz
406 comment "Memory Setup"
408 config MEM_SIZE
409         int "SDRAM Memory Size in MBytes"
410         default  32 if BFIN533_EZKIT
411         default  64 if BFIN527_EZKIT
412         default  64 if BFIN537_STAMP
413         default  64 if BFIN561_EZKIT
414         default 128 if BFIN533_STAMP
415         default  64 if PNAV10
416         default  32 if H8606_HVSISTEMAS
418 config MEM_ADD_WIDTH
419         int "SDRAM Memory Address Width"
420         default  9 if BFIN533_EZKIT
421         default  9 if BFIN561_EZKIT
422         default  9 if H8606_HVSISTEMAS
423         default 10 if BFIN527_EZKIT
424         default 10 if BFIN537_STAMP
425         default 11 if BFIN533_STAMP
426         default 10 if PNAV10
428 config ENET_FLASH_PIN
429         int "PF port/pin used for flash and ethernet sharing"
430         depends on (BFIN533_STAMP)
431         default  0
432         help
433           PF port/pin used for flash and ethernet sharing to allow other PF
434           pins to be used on other platforms without having to touch common
435           code.
436           For example: PF0 --> 0,PF1 --> 1,PF2 --> 2, etc.
438 config BOOT_LOAD
439         hex "Kernel load address for booting"
440         default "0x1000"
441         range 0x1000 0x20000000
442         help
443           This option allows you to set the load address of the kernel.
444           This can be useful if you are on a board which has a small amount
445           of memory or you wish to reserve some memory at the beginning of
446           the address space.
448           Note that you need to keep this value above 4k (0x1000) as this
449           memory region is used to capture NULL pointer references as well
450           as some core kernel functions.
452 comment "LED Status Indicators"
453         depends on (BFIN533_STAMP || BFIN533_BLUETECHNIX_CM)
455 config BFIN_ALIVE_LED
456         bool "Enable Board Alive"
457         depends on (BFIN533_STAMP || BFIN533_BLUETECHNIX_CM)
458         default n
459         help
460           Blink the LEDs you select when the kernel is running.  Helps detect
461           a hung kernel.
463 config BFIN_ALIVE_LED_NUM
464         int "LED"
465         depends on BFIN_ALIVE_LED
466         range 1 3 if BFIN533_STAMP
467         default "3" if BFIN533_STAMP
468         help
469           Select the LED (marked on the board) for you to blink.
471 config BFIN_IDLE_LED
472         bool "Enable System Load/Idle LED"
473         depends on (BFIN533_STAMP || BFIN533_BLUETECHNIX_CM)
474         default n
475         help
476           Blinks the LED you select when to determine kernel load.
478 config BFIN_IDLE_LED_NUM
479         int "LED"
480         depends on BFIN_IDLE_LED
481         range 1 3 if BFIN533_STAMP
482         default "2" if BFIN533_STAMP
483         help
484           Select the LED (marked on the board) for you to blink.
486 choice
487         prompt "Blackfin Exception Scratch Register"
488         default BFIN_SCRATCH_REG_RETN
489         help
490           Select the resource to reserve for the Exception handler:
491             - RETN: Non-Maskable Interrupt (NMI)
492             - RETE: Exception Return (JTAG/ICE)
493             - CYCLES: Performance counter
495           If you are unsure, please select "RETN".
497 config BFIN_SCRATCH_REG_RETN
498         bool "RETN"
499         help
500           Use the RETN register in the Blackfin exception handler
501           as a stack scratch register.  This means you cannot
502           safely use NMI on the Blackfin while running Linux, but
503           you can debug the system with a JTAG ICE and use the
504           CYCLES performance registers.
506           If you are unsure, please select "RETN".
508 config BFIN_SCRATCH_REG_RETE
509         bool "RETE"
510         help
511           Use the RETE register in the Blackfin exception handler
512           as a stack scratch register.  This means you cannot
513           safely use a JTAG ICE while debugging a Blackfin board,
514           but you can safely use the CYCLES performance registers
515           and the NMI.
517           If you are unsure, please select "RETN".
519 config BFIN_SCRATCH_REG_CYCLES
520         bool "CYCLES"
521         help
522           Use the CYCLES register in the Blackfin exception handler
523           as a stack scratch register.  This means you cannot
524           safely use the CYCLES performance registers on a Blackfin
525           board at anytime, but you can debug the system with a JTAG
526           ICE and use the NMI.
528           If you are unsure, please select "RETN".
530 endchoice
533 # Sorry - but you need to put the hex address here -
536 # Flag Data register
537 config BFIN_ALIVE_LED_PORT
538         hex
539         default 0xFFC00700 if (BFIN533_STAMP)
541 # Peripheral Flag Direction Register
542 config BFIN_ALIVE_LED_DPORT
543         hex
544         default 0xFFC00730 if (BFIN533_STAMP)
546 config BFIN_ALIVE_LED_PIN
547         hex
548         default 0x04 if (BFIN533_STAMP && BFIN_ALIVE_LED_NUM = 1)
549         default 0x08 if (BFIN533_STAMP && BFIN_ALIVE_LED_NUM = 2)
550         default 0x10 if (BFIN533_STAMP && BFIN_ALIVE_LED_NUM = 3)
552 config BFIN_IDLE_LED_PORT
553         hex
554         default 0xFFC00700 if (BFIN533_STAMP)
556 # Peripheral Flag Direction Register
557 config BFIN_IDLE_LED_DPORT
558         hex
559         default 0xFFC00730 if (BFIN533_STAMP)
561 config BFIN_IDLE_LED_PIN
562         hex
563         default 0x04 if (BFIN533_STAMP && BFIN_IDLE_LED_NUM = 1)
564         default 0x08 if (BFIN533_STAMP && BFIN_IDLE_LED_NUM = 2)
565         default 0x10 if (BFIN533_STAMP && BFIN_IDLE_LED_NUM = 3)
567 endmenu
570 menu "Blackfin Kernel Optimizations"
572 comment "Memory Optimizations"
574 config I_ENTRY_L1
575         bool "Locate interrupt entry code in L1 Memory"
576         default y
577         help
578           If enabled, interrupt entry code (STORE/RESTORE CONTEXT) is linked
579           into L1 instruction memory. (less latency)
581 config EXCPT_IRQ_SYSC_L1
582         bool "Locate entire ASM lowlevel exception / interrupt - Syscall and CPLB handler code in L1 Memory"
583         default y
584         help
585           If enabled, the entire ASM lowlevel exception and interrupt entry code
586           (STORE/RESTORE CONTEXT) is linked into L1 instruction memory. 
587           (less latency)
589 config DO_IRQ_L1
590         bool "Locate frequently called do_irq dispatcher function in L1 Memory"
591         default y
592         help
593           If enabled, the frequently called do_irq dispatcher function is linked
594           into L1 instruction memory. (less latency)
596 config CORE_TIMER_IRQ_L1
597         bool "Locate frequently called timer_interrupt() function in L1 Memory"
598         default y
599         help
600           If enabled, the frequently called timer_interrupt() function is linked
601           into L1 instruction memory. (less latency)
603 config IDLE_L1
604         bool "Locate frequently idle function in L1 Memory"
605         default y
606         help
607           If enabled, the frequently called idle function is linked
608           into L1 instruction memory. (less latency)
610 config SCHEDULE_L1
611         bool "Locate kernel schedule function in L1 Memory"
612         default y
613         help
614           If enabled, the frequently called kernel schedule is linked
615           into L1 instruction memory. (less latency)
617 config ARITHMETIC_OPS_L1
618         bool "Locate kernel owned arithmetic functions in L1 Memory"
619         default y
620         help
621           If enabled, arithmetic functions are linked
622           into L1 instruction memory. (less latency)
624 config ACCESS_OK_L1
625         bool "Locate access_ok function in L1 Memory"
626         default y
627         help
628           If enabled, the access_ok function is linked
629           into L1 instruction memory. (less latency)
631 config MEMSET_L1
632         bool "Locate memset function in L1 Memory"
633         default y
634         help
635           If enabled, the memset function is linked
636           into L1 instruction memory. (less latency)
638 config MEMCPY_L1
639         bool "Locate memcpy function in L1 Memory"
640         default y
641         help
642           If enabled, the memcpy function is linked
643           into L1 instruction memory. (less latency)
645 config SYS_BFIN_SPINLOCK_L1
646         bool "Locate sys_bfin_spinlock function in L1 Memory"
647         default y
648         help
649           If enabled, sys_bfin_spinlock function is linked
650           into L1 instruction memory. (less latency)
652 config IP_CHECKSUM_L1
653         bool "Locate IP Checksum function in L1 Memory"
654         default n
655         help
656           If enabled, the IP Checksum function is linked
657           into L1 instruction memory. (less latency)
659 config CACHELINE_ALIGNED_L1
660         bool "Locate cacheline_aligned data to L1 Data Memory"
661         default y if !BF54x
662         default n if BF54x
663         depends on !BF531
664         help
665           If enabled, cacheline_anligned data is linked
666           into L1 data memory. (less latency)
668 config SYSCALL_TAB_L1
669         bool "Locate Syscall Table L1 Data Memory"
670         default n
671         depends on !BF531
672         help
673           If enabled, the Syscall LUT is linked
674           into L1 data memory. (less latency)
676 config CPLB_SWITCH_TAB_L1
677         bool "Locate CPLB Switch Tables L1 Data Memory"
678         default n
679         depends on !BF531
680         help
681           If enabled, the CPLB Switch Tables are linked
682           into L1 data memory. (less latency)
684 endmenu
687 choice
688         prompt "Kernel executes from"
689         help
690           Choose the memory type that the kernel will be running in.
692 config RAMKERNEL
693         bool "RAM"
694         help
695           The kernel will be resident in RAM when running.
697 config ROMKERNEL
698         bool "ROM"
699         help
700           The kernel will be resident in FLASH/ROM when running.
702 endchoice
704 source "mm/Kconfig"
706 config LARGE_ALLOCS
707         bool "Allow allocating large blocks (> 1MB) of memory"
708         help
709           Allow the slab memory allocator to keep chains for very large
710           memory sizes - upto 32MB. You may need this if your system has
711           a lot of RAM, and you need to able to allocate very large
712           contiguous chunks. If unsure, say N.
714 config BFIN_GPTIMERS
715         tristate "Enable Blackfin General Purpose Timers API"
716         default n
717         help
718           Enable support for the General Purpose Timers API.  If you
719           are unsure, say N.
721           To compile this driver as a module, choose M here: the module
722           will be called gptimers.ko.
724 config BFIN_DMA_5XX
725         bool "Enable DMA Support"
726         depends on (BF52x || BF53x || BF561 || BF54x)
727         default y
728         help
729           DMA driver for BF5xx.
731 choice
732         prompt "Uncached SDRAM region"
733         default DMA_UNCACHED_1M
734         depends on BFIN_DMA_5XX
735 config DMA_UNCACHED_2M
736         bool "Enable 2M DMA region"
737 config DMA_UNCACHED_1M
738         bool "Enable 1M DMA region"
739 config DMA_UNCACHED_NONE
740         bool "Disable DMA region"
741 endchoice
744 comment "Cache Support"
745 config BFIN_ICACHE
746         bool "Enable ICACHE"
747 config BFIN_DCACHE
748         bool "Enable DCACHE"
749 config BFIN_DCACHE_BANKA
750         bool "Enable only 16k BankA DCACHE - BankB is SRAM"
751         depends on BFIN_DCACHE && !BF531
752         default n
753 config BFIN_ICACHE_LOCK
754         bool "Enable Instruction Cache Locking"
756 choice
757         prompt "Policy"
758         depends on BFIN_DCACHE
759         default BFIN_WB
760 config BFIN_WB
761         bool "Write back"
762         help
763           Write Back Policy:
764             Cached data will be written back to SDRAM only when needed.
765             This can give a nice increase in performance, but beware of
766             broken drivers that do not properly invalidate/flush their
767             cache.
769           Write Through Policy:
770             Cached data will always be written back to SDRAM when the
771             cache is updated.  This is a completely safe setting, but
772             performance is worse than Write Back.
774           If you are unsure of the options and you want to be safe,
775           then go with Write Through.
777 config BFIN_WT
778         bool "Write through"
779         help
780           Write Back Policy:
781             Cached data will be written back to SDRAM only when needed.
782             This can give a nice increase in performance, but beware of
783             broken drivers that do not properly invalidate/flush their
784             cache.
786           Write Through Policy:
787             Cached data will always be written back to SDRAM when the
788             cache is updated.  This is a completely safe setting, but
789             performance is worse than Write Back.
791           If you are unsure of the options and you want to be safe,
792           then go with Write Through.
794 endchoice
796 config L1_MAX_PIECE
797         int "Set the max L1 SRAM pieces"
798         default 16
799         help
800           Set the max memory pieces for the L1 SRAM allocation algorithm.
801           Min value is 16. Max value is 1024.
803 comment "Asynchonous Memory Configuration"
805 menu "EBIU_AMGCTL Global Control"
806 config C_AMCKEN
807         bool "Enable CLKOUT"
808         default y
810 config C_CDPRIO
811         bool "DMA has priority over core for ext. accesses"
812         depends on !BF54x
813         default n
815 config C_B0PEN
816         depends on BF561
817         bool "Bank 0 16 bit packing enable"
818         default y
820 config C_B1PEN
821         depends on BF561
822         bool "Bank 1 16 bit packing enable"
823         default y
825 config C_B2PEN
826         depends on BF561
827         bool "Bank 2 16 bit packing enable"
828         default y
830 config C_B3PEN
831         depends on BF561
832         bool "Bank 3 16 bit packing enable"
833         default n
835 choice
836         prompt"Enable Asynchonous Memory Banks"
837         default C_AMBEN_ALL
839 config C_AMBEN
840         bool "Disable All Banks"
842 config C_AMBEN_B0
843         bool "Enable Bank 0"
845 config C_AMBEN_B0_B1
846         bool "Enable Bank 0 & 1"
848 config C_AMBEN_B0_B1_B2
849         bool "Enable Bank 0 & 1 & 2"
851 config C_AMBEN_ALL
852         bool "Enable All Banks"
853 endchoice
854 endmenu
856 menu "EBIU_AMBCTL Control"
857 config BANK_0
858         hex "Bank 0"
859         default 0x7BB0
861 config BANK_1
862         hex "Bank 1"
863         default 0x7BB0
865 config BANK_2
866         hex "Bank 2"
867         default 0x7BB0
869 config BANK_3
870         hex "Bank 3"
871         default 0x99B3
872 endmenu
874 endmenu
876 #############################################################################
877 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
879 config PCI
880         bool "PCI support"
881         help
882           Support for PCI bus.
884 source "drivers/pci/Kconfig"
886 config HOTPLUG
887         bool "Support for hot-pluggable device"
888           help
889           Say Y here if you want to plug devices into your computer while
890           the system is running, and be able to use them quickly.  In many
891           cases, the devices can likewise be unplugged at any time too.
893           One well known example of this is PCMCIA- or PC-cards, credit-card
894           size devices such as network cards, modems or hard drives which are
895           plugged into slots found on all modern laptop computers.  Another
896           example, used on modern desktops as well as laptops, is USB.
898           Enable HOTPLUG and KMOD, and build a modular kernel.  Get agent
899           software (at <http://linux-hotplug.sourceforge.net/>) and install it.
900           Then your kernel will automatically call out to a user mode "policy
901           agent" (/sbin/hotplug) to load modules and set up software needed
902           to use devices as you hotplug them.
904 source "drivers/pcmcia/Kconfig"
906 source "drivers/pci/hotplug/Kconfig"
908 endmenu
910 menu "Executable file formats"
912 source "fs/Kconfig.binfmt"
914 endmenu
916 menu "Power management options"
917 source "kernel/power/Kconfig"
919 choice
920         prompt "Select PM Wakeup Event Source"
921         default PM_WAKEUP_GPIO_BY_SIC_IWR
922         depends on PM
923         help
924           If you have a GPIO already configured as input with the corresponding PORTx_MASK
925           bit set - "Specify Wakeup Event by SIC_IWR value"
927 config PM_WAKEUP_GPIO_BY_SIC_IWR
928         bool "Specify Wakeup Event by SIC_IWR value"
929 config PM_WAKEUP_BY_GPIO
930         bool "Cause Wakeup Event by GPIO"
931 config PM_WAKEUP_GPIO_API
932         bool "Configure Wakeup Event by PM GPIO API"
934 endchoice
936 config PM_WAKEUP_SIC_IWR
937         hex "Wakeup Events (SIC_IWR)"
938         depends on PM_WAKEUP_GPIO_BY_SIC_IWR
939         default 0x80000000 if (BF537 || BF536 || BF534)
940         default 0x100000 if (BF533 || BF532 || BF531)
942 config PM_WAKEUP_GPIO_NUMBER
943         int "Wakeup GPIO number"
944         range 0 47
945         depends on PM_WAKEUP_BY_GPIO
946         default 2 if BFIN537_STAMP
948 choice
949         prompt "GPIO Polarity"
950         depends on PM_WAKEUP_BY_GPIO
951         default PM_WAKEUP_GPIO_POLAR_H
952 config  PM_WAKEUP_GPIO_POLAR_H
953         bool "Active High"
954 config  PM_WAKEUP_GPIO_POLAR_L
955         bool "Active Low"
956 config  PM_WAKEUP_GPIO_POLAR_EDGE_F
957         bool "Falling EDGE"
958 config  PM_WAKEUP_GPIO_POLAR_EDGE_R
959         bool "Rising EDGE"
960 config  PM_WAKEUP_GPIO_POLAR_EDGE_B
961         bool "Both EDGE"
962 endchoice
964 endmenu
966 if (BF537 || BF533 || BF54x)
968 menu "CPU Frequency scaling"
970 source "drivers/cpufreq/Kconfig"
972 config CPU_FREQ
973         bool
974         default n
975         help
976           If you want to enable this option, you should select the
977           DPMC driver from Character Devices.
978 endmenu
980 endif
982 source "net/Kconfig"
984 source "drivers/Kconfig"
986 source "fs/Kconfig"
988 source "kernel/Kconfig.instrumentation"
990 source "arch/blackfin/Kconfig.debug"
992 source "security/Kconfig"
994 source "crypto/Kconfig"
996 source "lib/Kconfig"