2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
6 mainmenu "Blackfin Kernel Configuration"
16 config RWSEM_GENERIC_SPINLOCK
20 config RWSEM_XCHGADD_ALGORITHM
36 config SEMAPHORE_SLEEPERS
40 config GENERIC_FIND_NEXT_BIT
44 config GENERIC_HWEIGHT
48 config GENERIC_HARDIRQS
52 config GENERIC_IRQ_PROBE
64 config FORCE_MAX_ZONEORDER
68 config GENERIC_CALIBRATE_DELAY
72 config IRQCHIP_DEMUX_GPIO
74 depends on (BF52x || BF53x || BF561 || BF54x)
78 source "kernel/Kconfig.preempt"
80 menu "Blackfin Processor Options"
82 comment "Processor and Board Settings"
91 BF522 Processor Support.
96 BF525 Processor Support.
101 BF527 Processor Support.
106 BF531 Processor Support.
111 BF532 Processor Support.
116 BF533 Processor Support.
121 BF534 Processor Support.
126 BF536 Processor Support.
131 BF537 Processor Support.
136 BF542 Processor Support.
141 BF544 Processor Support.
146 BF548 Processor Support.
151 BF549 Processor Support.
156 Not Supported Yet - Work in progress - BF561 Processor Support.
162 default BF_REV_0_1 if BF527
163 default BF_REV_0_2 if BF537
164 default BF_REV_0_3 if BF533
165 default BF_REV_0_0 if BF549
169 depends on (BF549 || BF527)
173 depends on (BF549 || BF527)
177 depends on (BF537 || BF536 || BF534)
181 depends on (BF561 || BF537 || BF536 || BF534 || BF533 || BF532 || BF531)
185 depends on (BF561 || BF533 || BF532 || BF531)
189 depends on (BF561 || BF533 || BF532 || BF531)
201 depends on (BF522 || BF525 || BF527)
206 depends on (BF531 || BF532 || BF533 || BF534 || BF536 || BF537)
211 depends on (BF542 || BF544 || BF548 || BF549)
214 config BFIN_DUAL_CORE
219 config BFIN_SINGLE_CORE
221 depends on !BFIN_DUAL_CORE
226 default BFIN533_STAMP
228 Do NOT change the board here. Please use the top level
229 configuration to ensure that all the other settings are
234 depends on (BF522 || BF525 || BF527)
236 BF533-EZKIT-LITE board Support.
240 depends on (BF533 || BF532 || BF531)
242 BF533-EZKIT-LITE board Support.
246 depends on (BF533 || BF532 || BF531)
248 BF533-STAMP board Support.
252 depends on (BF537 || BF536 || BF534)
254 BF537-STAMP board Support.
256 config BFIN533_BLUETECHNIX_CM
257 bool "Bluetechnix CM-BF533"
260 CM-BF533 support for EVAL- and DEV-Board.
262 config BFIN537_BLUETECHNIX_CM
263 bool "Bluetechnix CM-BF537"
266 CM-BF537 support for EVAL- and DEV-Board.
270 depends on (BF548 || BF549)
272 BFIN548-EZKIT board Support.
274 config BFIN561_BLUETECHNIX_CM
275 bool "Bluetechnix CM-BF561"
278 CM-BF561 support for EVAL- and DEV-Board.
284 BF561-EZKIT-LITE board Support.
290 BF561-TEPLA board Support.
293 bool "PNAV 1.0 board"
296 PNAV 1.0 board Support.
298 config H8606_HVSISTEMAS
299 bool "HV Sistemas H8606"
302 HV Sistemas H8606 board support.
306 depends on (BF537 || BF536 \
307 || BF534 || BF561 || BF535 || BF533 || BF532 || BF531)
309 GENERIC or Custom board Support.
313 config MEM_GENERIC_BOARD
315 depends on GENERIC_BOARD
318 config MEM_MT48LC64M4A2FB_7E
320 depends on (BFIN533_STAMP)
323 config MEM_MT48LC16M16A2TG_75
325 depends on (BFIN533_EZKIT || BFIN561_EZKIT \
326 || BFIN533_BLUETECHNIX_CM || BFIN537_BLUETECHNIX_CM \
330 config MEM_MT48LC32M8A2_75
332 depends on (BFIN537_STAMP || PNAV10)
335 config MEM_MT48LC8M32B2B5_7
337 depends on (BFIN561_BLUETECHNIX_CM)
340 config MEM_MT48LC32M16A2TG_75
342 depends on (BFIN527_EZKIT)
345 config BFIN_SHARED_FLASH_ENET
347 depends on (BFIN533_STAMP)
350 source "arch/blackfin/mach-bf527/Kconfig"
351 source "arch/blackfin/mach-bf533/Kconfig"
352 source "arch/blackfin/mach-bf561/Kconfig"
353 source "arch/blackfin/mach-bf537/Kconfig"
354 source "arch/blackfin/mach-bf548/Kconfig"
356 menu "Board customizations"
359 bool "Default bootloader kernel arguments"
362 string "Initial kernel command string"
363 depends on CMDLINE_BOOL
364 default "console=ttyBF0,57600"
366 If you don't have a boot loader capable of passing a command line string
367 to the kernel, you may specify one here. As a minimum, you should specify
368 the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
370 comment "Clock/PLL Setup"
373 int "Crystal Frequency in Hz"
374 default "11059200" if BFIN533_STAMP
375 default "27000000" if BFIN533_EZKIT
376 default "25000000" if (BFIN537_STAMP || BFIN527_EZKIT || H8606_HVSISTEMAS)
377 default "30000000" if BFIN561_EZKIT
378 default "24576000" if PNAV10
380 The frequency of CLKIN crystal oscillator on the board in Hz.
382 config BFIN_KERNEL_CLOCK
383 bool "Re-program Clocks while Kernel boots?"
386 This option decides if kernel clocks are re-programed from the
387 bootloader settings. If the clocks are not set, the SDRAM settings
388 are also not changed, and the Bootloader does 100% of the hardware
393 depends on BFIN_KERNEL_CLOCK
398 depends on BFIN_KERNEL_CLOCK && (! PLL_BYPASS)
401 If this is set the clock will be divided by 2, before it goes to the PLL.
405 depends on BFIN_KERNEL_CLOCK && (! PLL_BYPASS)
407 default "22" if BFIN533_EZKIT
408 default "45" if BFIN533_STAMP
409 default "20" if (BFIN537_STAMP || BFIN527_EZKIT)
410 default "22" if BFIN533_BLUETECHNIX_CM
411 default "20" if BFIN537_BLUETECHNIX_CM
412 default "20" if BFIN561_BLUETECHNIX_CM
413 default "20" if BFIN561_EZKIT
414 default "16" if H8606_HVSISTEMAS
416 This controls the frequency of the on-chip PLL. This can be between 1 and 64.
417 PLL Frequency = (Crystal Frequency) * (this setting)
420 prompt "Core Clock Divider"
421 depends on BFIN_KERNEL_CLOCK
424 This sets the frequency of the core. It can be 1, 2, 4 or 8
425 Core Frequency = (PLL frequency) / (this setting)
441 int "System Clock Divider"
442 depends on BFIN_KERNEL_CLOCK
444 default 5 if BFIN533_EZKIT
445 default 5 if BFIN533_STAMP
446 default 4 if (BFIN537_STAMP || BFIN527_EZKIT)
447 default 5 if BFIN533_BLUETECHNIX_CM
448 default 4 if BFIN537_BLUETECHNIX_CM
449 default 4 if BFIN561_BLUETECHNIX_CM
450 default 5 if BFIN561_EZKIT
451 default 3 if H8606_HVSISTEMAS
453 This sets the frequency of the system clock (including SDRAM or DDR).
454 This can be between 1 and 15
455 System Clock = (PLL frequency) / (this setting)
458 # Max & Min Speeds for various Chips
462 default 600000000 if BF522
463 default 600000000 if BF525
464 default 600000000 if BF527
465 default 400000000 if BF531
466 default 400000000 if BF532
467 default 750000000 if BF533
468 default 500000000 if BF534
469 default 400000000 if BF536
470 default 600000000 if BF537
471 default 533000000 if BF538
472 default 533000000 if BF539
473 default 600000000 if BF542
474 default 533000000 if BF544
475 default 533000000 if BF549
476 default 600000000 if BF561
490 comment "Kernel Timer/Scheduler"
492 source kernel/Kconfig.hz
494 comment "Memory Setup"
497 int "SDRAM Memory Size in MBytes"
498 default 32 if BFIN533_EZKIT
499 default 64 if BFIN527_EZKIT
500 default 64 if BFIN537_STAMP
501 default 64 if BFIN561_EZKIT
502 default 128 if BFIN533_STAMP
504 default 32 if H8606_HVSISTEMAS
507 int "SDRAM Memory Address Width"
508 default 9 if BFIN533_EZKIT
509 default 9 if BFIN561_EZKIT
510 default 9 if H8606_HVSISTEMAS
511 default 10 if BFIN527_EZKIT
512 default 10 if BFIN537_STAMP
513 default 11 if BFIN533_STAMP
516 config ENET_FLASH_PIN
517 int "PF port/pin used for flash and ethernet sharing"
518 depends on (BFIN533_STAMP)
521 PF port/pin used for flash and ethernet sharing to allow other PF
522 pins to be used on other platforms without having to touch common
524 For example: PF0 --> 0,PF1 --> 1,PF2 --> 2, etc.
527 hex "Kernel load address for booting"
529 range 0x1000 0x20000000
531 This option allows you to set the load address of the kernel.
532 This can be useful if you are on a board which has a small amount
533 of memory or you wish to reserve some memory at the beginning of
536 Note that you need to keep this value above 4k (0x1000) as this
537 memory region is used to capture NULL pointer references as well
538 as some core kernel functions.
540 comment "LED Status Indicators"
541 depends on (BFIN533_STAMP || BFIN533_BLUETECHNIX_CM)
543 config BFIN_ALIVE_LED
544 bool "Enable Board Alive"
545 depends on (BFIN533_STAMP || BFIN533_BLUETECHNIX_CM)
548 Blink the LEDs you select when the kernel is running. Helps detect
551 config BFIN_ALIVE_LED_NUM
553 depends on BFIN_ALIVE_LED
554 range 1 3 if BFIN533_STAMP
555 default "3" if BFIN533_STAMP
557 Select the LED (marked on the board) for you to blink.
560 bool "Enable System Load/Idle LED"
561 depends on (BFIN533_STAMP || BFIN533_BLUETECHNIX_CM)
564 Blinks the LED you select when to determine kernel load.
566 config BFIN_IDLE_LED_NUM
568 depends on BFIN_IDLE_LED
569 range 1 3 if BFIN533_STAMP
570 default "2" if BFIN533_STAMP
572 Select the LED (marked on the board) for you to blink.
575 prompt "Blackfin Exception Scratch Register"
576 default BFIN_SCRATCH_REG_RETN
578 Select the resource to reserve for the Exception handler:
579 - RETN: Non-Maskable Interrupt (NMI)
580 - RETE: Exception Return (JTAG/ICE)
581 - CYCLES: Performance counter
583 If you are unsure, please select "RETN".
585 config BFIN_SCRATCH_REG_RETN
588 Use the RETN register in the Blackfin exception handler
589 as a stack scratch register. This means you cannot
590 safely use NMI on the Blackfin while running Linux, but
591 you can debug the system with a JTAG ICE and use the
592 CYCLES performance registers.
594 If you are unsure, please select "RETN".
596 config BFIN_SCRATCH_REG_RETE
599 Use the RETE register in the Blackfin exception handler
600 as a stack scratch register. This means you cannot
601 safely use a JTAG ICE while debugging a Blackfin board,
602 but you can safely use the CYCLES performance registers
605 If you are unsure, please select "RETN".
607 config BFIN_SCRATCH_REG_CYCLES
610 Use the CYCLES register in the Blackfin exception handler
611 as a stack scratch register. This means you cannot
612 safely use the CYCLES performance registers on a Blackfin
613 board at anytime, but you can debug the system with a JTAG
616 If you are unsure, please select "RETN".
621 # Sorry - but you need to put the hex address here -
625 config BFIN_ALIVE_LED_PORT
627 default 0xFFC00700 if (BFIN533_STAMP)
629 # Peripheral Flag Direction Register
630 config BFIN_ALIVE_LED_DPORT
632 default 0xFFC00730 if (BFIN533_STAMP)
634 config BFIN_ALIVE_LED_PIN
636 default 0x04 if (BFIN533_STAMP && BFIN_ALIVE_LED_NUM = 1)
637 default 0x08 if (BFIN533_STAMP && BFIN_ALIVE_LED_NUM = 2)
638 default 0x10 if (BFIN533_STAMP && BFIN_ALIVE_LED_NUM = 3)
640 config BFIN_IDLE_LED_PORT
642 default 0xFFC00700 if (BFIN533_STAMP)
644 # Peripheral Flag Direction Register
645 config BFIN_IDLE_LED_DPORT
647 default 0xFFC00730 if (BFIN533_STAMP)
649 config BFIN_IDLE_LED_PIN
651 default 0x04 if (BFIN533_STAMP && BFIN_IDLE_LED_NUM = 1)
652 default 0x08 if (BFIN533_STAMP && BFIN_IDLE_LED_NUM = 2)
653 default 0x10 if (BFIN533_STAMP && BFIN_IDLE_LED_NUM = 3)
658 menu "Blackfin Kernel Optimizations"
660 comment "Memory Optimizations"
663 bool "Locate interrupt entry code in L1 Memory"
666 If enabled, interrupt entry code (STORE/RESTORE CONTEXT) is linked
667 into L1 instruction memory. (less latency)
669 config EXCPT_IRQ_SYSC_L1
670 bool "Locate entire ASM lowlevel exception / interrupt - Syscall and CPLB handler code in L1 Memory"
673 If enabled, the entire ASM lowlevel exception and interrupt entry code
674 (STORE/RESTORE CONTEXT) is linked into L1 instruction memory.
678 bool "Locate frequently called do_irq dispatcher function in L1 Memory"
681 If enabled, the frequently called do_irq dispatcher function is linked
682 into L1 instruction memory. (less latency)
684 config CORE_TIMER_IRQ_L1
685 bool "Locate frequently called timer_interrupt() function in L1 Memory"
688 If enabled, the frequently called timer_interrupt() function is linked
689 into L1 instruction memory. (less latency)
692 bool "Locate frequently idle function in L1 Memory"
695 If enabled, the frequently called idle function is linked
696 into L1 instruction memory. (less latency)
699 bool "Locate kernel schedule function in L1 Memory"
702 If enabled, the frequently called kernel schedule is linked
703 into L1 instruction memory. (less latency)
705 config ARITHMETIC_OPS_L1
706 bool "Locate kernel owned arithmetic functions in L1 Memory"
709 If enabled, arithmetic functions are linked
710 into L1 instruction memory. (less latency)
713 bool "Locate access_ok function in L1 Memory"
716 If enabled, the access_ok function is linked
717 into L1 instruction memory. (less latency)
720 bool "Locate memset function in L1 Memory"
723 If enabled, the memset function is linked
724 into L1 instruction memory. (less latency)
727 bool "Locate memcpy function in L1 Memory"
730 If enabled, the memcpy function is linked
731 into L1 instruction memory. (less latency)
733 config SYS_BFIN_SPINLOCK_L1
734 bool "Locate sys_bfin_spinlock function in L1 Memory"
737 If enabled, sys_bfin_spinlock function is linked
738 into L1 instruction memory. (less latency)
740 config IP_CHECKSUM_L1
741 bool "Locate IP Checksum function in L1 Memory"
744 If enabled, the IP Checksum function is linked
745 into L1 instruction memory. (less latency)
747 config CACHELINE_ALIGNED_L1
748 bool "Locate cacheline_aligned data to L1 Data Memory"
753 If enabled, cacheline_anligned data is linked
754 into L1 data memory. (less latency)
756 config SYSCALL_TAB_L1
757 bool "Locate Syscall Table L1 Data Memory"
761 If enabled, the Syscall LUT is linked
762 into L1 data memory. (less latency)
764 config CPLB_SWITCH_TAB_L1
765 bool "Locate CPLB Switch Tables L1 Data Memory"
769 If enabled, the CPLB Switch Tables are linked
770 into L1 data memory. (less latency)
776 prompt "Kernel executes from"
778 Choose the memory type that the kernel will be running in.
783 The kernel will be resident in RAM when running.
788 The kernel will be resident in FLASH/ROM when running.
795 bool "Allow allocating large blocks (> 1MB) of memory"
797 Allow the slab memory allocator to keep chains for very large
798 memory sizes - upto 32MB. You may need this if your system has
799 a lot of RAM, and you need to able to allocate very large
800 contiguous chunks. If unsure, say N.
803 tristate "Enable Blackfin General Purpose Timers API"
806 Enable support for the General Purpose Timers API. If you
809 To compile this driver as a module, choose M here: the module
810 will be called gptimers.ko.
813 bool "Enable DMA Support"
814 depends on (BF52x || BF53x || BF561 || BF54x)
817 DMA driver for BF5xx.
820 prompt "Uncached SDRAM region"
821 default DMA_UNCACHED_1M
822 depends on BFIN_DMA_5XX
823 config DMA_UNCACHED_2M
824 bool "Enable 2M DMA region"
825 config DMA_UNCACHED_1M
826 bool "Enable 1M DMA region"
827 config DMA_UNCACHED_NONE
828 bool "Disable DMA region"
832 comment "Cache Support"
837 config BFIN_DCACHE_BANKA
838 bool "Enable only 16k BankA DCACHE - BankB is SRAM"
839 depends on BFIN_DCACHE && !BF531
841 config BFIN_ICACHE_LOCK
842 bool "Enable Instruction Cache Locking"
846 depends on BFIN_DCACHE
852 Cached data will be written back to SDRAM only when needed.
853 This can give a nice increase in performance, but beware of
854 broken drivers that do not properly invalidate/flush their
857 Write Through Policy:
858 Cached data will always be written back to SDRAM when the
859 cache is updated. This is a completely safe setting, but
860 performance is worse than Write Back.
862 If you are unsure of the options and you want to be safe,
863 then go with Write Through.
869 Cached data will be written back to SDRAM only when needed.
870 This can give a nice increase in performance, but beware of
871 broken drivers that do not properly invalidate/flush their
874 Write Through Policy:
875 Cached data will always be written back to SDRAM when the
876 cache is updated. This is a completely safe setting, but
877 performance is worse than Write Back.
879 If you are unsure of the options and you want to be safe,
880 then go with Write Through.
885 int "Set the max L1 SRAM pieces"
888 Set the max memory pieces for the L1 SRAM allocation algorithm.
889 Min value is 16. Max value is 1024.
891 comment "Asynchonous Memory Configuration"
893 menu "EBIU_AMGCTL Global Control"
899 bool "DMA has priority over core for ext. accesses"
905 bool "Bank 0 16 bit packing enable"
910 bool "Bank 1 16 bit packing enable"
915 bool "Bank 2 16 bit packing enable"
920 bool "Bank 3 16 bit packing enable"
924 prompt"Enable Asynchonous Memory Banks"
928 bool "Disable All Banks"
934 bool "Enable Bank 0 & 1"
936 config C_AMBEN_B0_B1_B2
937 bool "Enable Bank 0 & 1 & 2"
940 bool "Enable All Banks"
944 menu "EBIU_AMBCTL Control"
964 #############################################################################
965 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
972 source "drivers/pci/Kconfig"
975 bool "Support for hot-pluggable device"
977 Say Y here if you want to plug devices into your computer while
978 the system is running, and be able to use them quickly. In many
979 cases, the devices can likewise be unplugged at any time too.
981 One well known example of this is PCMCIA- or PC-cards, credit-card
982 size devices such as network cards, modems or hard drives which are
983 plugged into slots found on all modern laptop computers. Another
984 example, used on modern desktops as well as laptops, is USB.
986 Enable HOTPLUG and KMOD, and build a modular kernel. Get agent
987 software (at <http://linux-hotplug.sourceforge.net/>) and install it.
988 Then your kernel will automatically call out to a user mode "policy
989 agent" (/sbin/hotplug) to load modules and set up software needed
990 to use devices as you hotplug them.
992 source "drivers/pcmcia/Kconfig"
994 source "drivers/pci/hotplug/Kconfig"
998 menu "Executable file formats"
1000 source "fs/Kconfig.binfmt"
1004 menu "Power management options"
1005 source "kernel/power/Kconfig"
1008 prompt "Select PM Wakeup Event Source"
1009 default PM_WAKEUP_GPIO_BY_SIC_IWR
1012 If you have a GPIO already configured as input with the corresponding PORTx_MASK
1013 bit set - "Specify Wakeup Event by SIC_IWR value"
1015 config PM_WAKEUP_GPIO_BY_SIC_IWR
1016 bool "Specify Wakeup Event by SIC_IWR value"
1017 config PM_WAKEUP_BY_GPIO
1018 bool "Cause Wakeup Event by GPIO"
1019 config PM_WAKEUP_GPIO_API
1020 bool "Configure Wakeup Event by PM GPIO API"
1024 config PM_WAKEUP_SIC_IWR
1025 hex "Wakeup Events (SIC_IWR)"
1026 depends on PM_WAKEUP_GPIO_BY_SIC_IWR
1027 default 0x80000000 if (BF537 || BF536 || BF534)
1028 default 0x100000 if (BF533 || BF532 || BF531)
1030 config PM_WAKEUP_GPIO_NUMBER
1031 int "Wakeup GPIO number"
1033 depends on PM_WAKEUP_BY_GPIO
1034 default 2 if BFIN537_STAMP
1037 prompt "GPIO Polarity"
1038 depends on PM_WAKEUP_BY_GPIO
1039 default PM_WAKEUP_GPIO_POLAR_H
1040 config PM_WAKEUP_GPIO_POLAR_H
1042 config PM_WAKEUP_GPIO_POLAR_L
1044 config PM_WAKEUP_GPIO_POLAR_EDGE_F
1046 config PM_WAKEUP_GPIO_POLAR_EDGE_R
1048 config PM_WAKEUP_GPIO_POLAR_EDGE_B
1054 if (BF537 || BF533 || BF54x)
1056 menu "CPU Frequency scaling"
1058 source "drivers/cpufreq/Kconfig"
1064 If you want to enable this option, you should select the
1065 DPMC driver from Character Devices.
1070 source "net/Kconfig"
1072 source "drivers/Kconfig"
1076 source "kernel/Kconfig.instrumentation"
1078 menu "Kernel hacking"
1080 source "lib/Kconfig.debug"
1083 bool "Hardware error interrupt debugging"
1084 depends on DEBUG_KERNEL
1086 When enabled, the hardware error interrupt is never disabled, and
1087 will happen immediately when an error condition occurs. This comes
1088 at a slight cost in code size, but is necessary if you are getting
1089 hardware error interrupts and need to know where they are coming
1092 config DEBUG_ICACHE_CHECK
1093 bool "Check Instruction cache coherency"
1094 depends on DEBUG_KERNEL
1095 depends on DEBUG_HWERR
1097 Say Y here if you are getting weird unexplained errors. This will
1098 ensure that icache is what SDRAM says it should be by doing a
1099 byte wise comparison between SDRAM and instruction cache. This
1100 also relocates the irq_panic() function to L1 memory, (which is
1103 config DEBUG_HUNT_FOR_ZERO
1104 bool "Catch NULL pointer reads/writes"
1107 Say Y here to catch reads/writes to anywhere in the memory range
1108 from 0x0000 - 0x0FFF (the first 4k) of memory. This is useful in
1109 catching common programming errors such as NULL pointer dereferences.
1111 Misbehaving applications will be killed (generate a SEGV) while the
1112 kernel will trigger a panic.
1114 Enabling this option will take up an extra entry in CPLB table.
1115 Otherwise, there is no extra overhead.
1117 config DEBUG_BFIN_HWTRACE_ON
1118 bool "Turn on Blackfin's Hardware Trace"
1121 All Blackfins include a Trace Unit which stores a history of the last
1122 16 changes in program flow taken by the program sequencer. The history
1123 allows the user to recreate the program sequencer’s recent path. This
1124 can be handy when an application dies - we print out the execution
1125 path of how it got to the offending instruction.
1127 By turning this off, you may save a tiny amount of power.
1130 prompt "Omit loop Tracing"
1131 default DEBUG_BFIN_HWTRACE_COMPRESSION_OFF
1132 depends on DEBUG_BFIN_HWTRACE_ON
1134 The trace buffer can be configured to omit recording of changes in
1135 program flow that match either the last entry or one of the last
1136 two entries. Omitting one of these entries from the record prevents
1137 the trace buffer from overflowing because of any sort of loop (for, do
1138 while, etc) in the program.
1140 Because zero-overhead Hardware loops are not recorded in the trace buffer,
1141 this feature can be used to prevent trace overflow from loops that
1142 are nested four deep.
1144 config DEBUG_BFIN_HWTRACE_COMPRESSION_OFF
1145 bool "Trace all Loops"
1147 The trace buffer records all changes of flow
1149 config DEBUG_BFIN_HWTRACE_COMPRESSION_ONE
1150 bool "Compress single-level loops"
1152 The trace buffer does not record single loops - helpful if trace
1153 is spinning on a while or do loop.
1155 config DEBUG_BFIN_HWTRACE_COMPRESSION_TWO
1156 bool "Compress two-level loops"
1158 The trace buffer does not record loops two levels deep. Helpful if
1159 the trace is spinning in a nested loop
1163 config DEBUG_BFIN_HWTRACE_COMPRESSION
1165 depends on DEBUG_BFIN_HWTRACE_ON
1166 default 0 if DEBUG_BFIN_HWTRACE_COMPRESSION_OFF
1167 default 1 if DEBUG_BFIN_HWTRACE_COMPRESSION_ONE
1168 default 2 if DEBUG_BFIN_HWTRACE_COMPRESSION_TWO
1171 config DEBUG_BFIN_HWTRACE_EXPAND
1172 bool "Expand Trace Buffer greater than 16 entries"
1173 depends on DEBUG_BFIN_HWTRACE_ON
1176 By selecting this option, every time the 16 hardware entries in
1177 the Blackfin's HW Trace buffer are full, the kernel will move them
1178 into a software buffer, for dumping when there is an issue. This
1179 has a great impact on performance, (an interrupt every 16 change of
1180 flows) and should normally be turned off, except in those nasty
1183 config DEBUG_BFIN_HWTRACE_EXPAND_LEN
1184 int "Size of Trace buffer (in power of 2k)"
1186 depends on DEBUG_BFIN_HWTRACE_EXPAND
1189 This sets the size of the software buffer that the trace information
1191 0 for (2^0) 1k, or 256 entries,
1192 1 for (2^1) 2k, or 512 entries,
1193 2 for (2^2) 4k, or 1024 entries,
1194 3 for (2^3) 8k, or 2048 entries,
1195 4 for (2^4) 16k, or 4096 entries
1197 config DEBUG_BFIN_NO_KERN_HWTRACE
1198 bool "Trace user apps (turn off hwtrace in kernel)"
1199 depends on DEBUG_BFIN_HWTRACE_ON
1202 Some pieces of the kernel contain a lot of flow changes which can
1203 quickly fill up the hardware trace buffer. When debugging crashes,
1204 the hardware trace may indicate that the problem lies in kernel
1205 space when in reality an application is buggy.
1207 Say Y here to disable hardware tracing in some known "jumpy" pieces
1208 of code so that the trace buffer will extend further back.
1214 This option enables special console drivers which allow the kernel
1215 to print messages very early in the bootup process.
1217 This is useful for kernel debugging when your machine crashes very
1218 early before the console code is initialized. After enabling this
1219 feature, you must add "earlyprintk=serial,uart0,57600" to the
1220 command line (bootargs). It is safe to say Y here in all cases, as
1221 all of this lives in the init section and is thrown away after the
1222 kernel boots completely.
1224 config DUAL_CORE_TEST_MODULE
1225 tristate "Dual Core Test Module"
1229 Say Y here to build-in dual core test module for dual core test.
1232 bool "Display the CPLB information"
1234 Display the CPLB information.
1237 bool "Check the user pointer address"
1240 Usually the pointer transfer from user space is checked to see if its
1241 address is in the kernel space.
1243 Say N here to disable that check to improve the performance.
1247 source "security/Kconfig"
1249 source "crypto/Kconfig"
1251 source "lib/Kconfig"