2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
6 mainmenu "uClinux/Blackfin (w/o MMU) 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.
300 depends on (BF537 || BF536 \
301 || BF534 || BF561 || BF535 || BF533 || BF532 || BF531)
303 GENERIC or Custom board Support.
307 config MEM_GENERIC_BOARD
309 depends on GENERIC_BOARD
312 config MEM_MT48LC64M4A2FB_7E
314 depends on (BFIN533_STAMP)
317 config MEM_MT48LC16M16A2TG_75
319 depends on (BFIN533_EZKIT || BFIN561_EZKIT \
320 || BFIN533_BLUETECHNIX_CM || BFIN537_BLUETECHNIX_CM)
323 config MEM_MT48LC32M8A2_75
325 depends on (BFIN537_STAMP || PNAV10)
328 config MEM_MT48LC8M32B2B5_7
330 depends on (BFIN561_BLUETECHNIX_CM)
333 config MEM_MT48LC32M16A2TG_75
335 depends on (BFIN527_EZKIT)
338 config BFIN_SHARED_FLASH_ENET
340 depends on (BFIN533_STAMP)
343 source "arch/blackfin/mach-bf527/Kconfig"
344 source "arch/blackfin/mach-bf533/Kconfig"
345 source "arch/blackfin/mach-bf561/Kconfig"
346 source "arch/blackfin/mach-bf537/Kconfig"
347 source "arch/blackfin/mach-bf548/Kconfig"
349 menu "Board customizations"
352 bool "Default bootloader kernel arguments"
355 string "Initial kernel command string"
356 depends on CMDLINE_BOOL
357 default "console=ttyBF0,57600"
359 If you don't have a boot loader capable of passing a command line string
360 to the kernel, you may specify one here. As a minimum, you should specify
361 the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
363 comment "Clock/PLL Setup"
366 int "Crystal Frequency in Hz"
367 default "11059200" if BFIN533_STAMP
368 default "27000000" if BFIN533_EZKIT
369 default "25000000" if (BFIN537_STAMP || BFIN527_EZKIT)
370 default "30000000" if BFIN561_EZKIT
371 default "24576000" if PNAV10
373 The frequency of CLKIN crystal oscillator on the board in Hz.
375 config BFIN_KERNEL_CLOCK
376 bool "Re-program Clocks while Kernel boots?"
379 This option decides if kernel clocks are re-programed from the
380 bootloader settings. If the clocks are not set, the SDRAM settings
381 are also not changed, and the Bootloader does 100% of the hardware
386 depends on BFIN_KERNEL_CLOCK
391 depends on BFIN_KERNEL_CLOCK && (! PLL_BYPASS)
394 If this is set the clock will be divided by 2, before it goes to the PLL.
398 depends on BFIN_KERNEL_CLOCK && (! PLL_BYPASS)
400 default "22" if BFIN533_EZKIT
401 default "45" if BFIN533_STAMP
402 default "20" if (BFIN537_STAMP || BFIN527_EZKIT)
403 default "22" if BFIN533_BLUETECHNIX_CM
404 default "20" if BFIN537_BLUETECHNIX_CM
405 default "20" if BFIN561_BLUETECHNIX_CM
406 default "20" if BFIN561_EZKIT
408 This controls the frequency of the on-chip PLL. This can be between 1 and 64.
409 PLL Frequency = (Crystal Frequency) * (this setting)
412 prompt "Core Clock Divider"
413 depends on BFIN_KERNEL_CLOCK
416 This sets the frequency of the core. It can be 1, 2, 4 or 8
417 Core Frequency = (PLL frequency) / (this setting)
433 int "System Clock Divider"
434 depends on BFIN_KERNEL_CLOCK
436 default 5 if BFIN533_EZKIT
437 default 5 if BFIN533_STAMP
438 default 4 if (BFIN537_STAMP || BFIN527_EZKIT)
439 default 5 if BFIN533_BLUETECHNIX_CM
440 default 4 if BFIN537_BLUETECHNIX_CM
441 default 4 if BFIN561_BLUETECHNIX_CM
442 default 5 if BFIN561_EZKIT
444 This sets the frequency of the system clock (including SDRAM or DDR).
445 This can be between 1 and 15
446 System Clock = (PLL frequency) / (this setting)
449 # Max & Min Speeds for various Chips
453 default 600000000 if BF522
454 default 600000000 if BF525
455 default 600000000 if BF527
456 default 400000000 if BF531
457 default 400000000 if BF532
458 default 750000000 if BF533
459 default 500000000 if BF534
460 default 400000000 if BF536
461 default 600000000 if BF537
462 default 533000000 if BF538
463 default 533000000 if BF539
464 default 600000000 if BF542
465 default 533000000 if BF544
466 default 533000000 if BF549
467 default 600000000 if BF561
481 comment "Kernel Timer/Scheduler"
483 source kernel/Kconfig.hz
485 comment "Memory Setup"
488 int "SDRAM Memory Size in MBytes"
489 default 32 if BFIN533_EZKIT
490 default 64 if BFIN527_EZKIT
491 default 64 if BFIN537_STAMP
492 default 64 if BFIN561_EZKIT
493 default 128 if BFIN533_STAMP
497 int "SDRAM Memory Address Width"
498 default 9 if BFIN533_EZKIT
499 default 9 if BFIN561_EZKIT
500 default 10 if BFIN527_EZKIT
501 default 10 if BFIN537_STAMP
502 default 11 if BFIN533_STAMP
505 config ENET_FLASH_PIN
506 int "PF port/pin used for flash and ethernet sharing"
507 depends on (BFIN533_STAMP)
510 PF port/pin used for flash and ethernet sharing to allow other PF
511 pins to be used on other platforms without having to touch common
513 For example: PF0 --> 0,PF1 --> 1,PF2 --> 2, etc.
516 hex "Kernel load address for booting"
518 range 0x1000 0x20000000
520 This option allows you to set the load address of the kernel.
521 This can be useful if you are on a board which has a small amount
522 of memory or you wish to reserve some memory at the beginning of
525 Note that you need to keep this value above 4k (0x1000) as this
526 memory region is used to capture NULL pointer references as well
527 as some core kernel functions.
529 comment "LED Status Indicators"
530 depends on (BFIN533_STAMP || BFIN533_BLUETECHNIX_CM)
532 config BFIN_ALIVE_LED
533 bool "Enable Board Alive"
534 depends on (BFIN533_STAMP || BFIN533_BLUETECHNIX_CM)
537 Blink the LEDs you select when the kernel is running. Helps detect
540 config BFIN_ALIVE_LED_NUM
542 depends on BFIN_ALIVE_LED
543 range 1 3 if BFIN533_STAMP
544 default "3" if BFIN533_STAMP
546 Select the LED (marked on the board) for you to blink.
549 bool "Enable System Load/Idle LED"
550 depends on (BFIN533_STAMP || BFIN533_BLUETECHNIX_CM)
553 Blinks the LED you select when to determine kernel load.
555 config BFIN_IDLE_LED_NUM
557 depends on BFIN_IDLE_LED
558 range 1 3 if BFIN533_STAMP
559 default "2" if BFIN533_STAMP
561 Select the LED (marked on the board) for you to blink.
564 prompt "Blackfin Exception Scratch Register"
565 default BFIN_SCRATCH_REG_RETN
567 Select the resource to reserve for the Exception handler:
568 - RETN: Non-Maskable Interrupt (NMI)
569 - RETE: Exception Return (JTAG/ICE)
570 - CYCLES: Performance counter
572 If you are unsure, please select "RETN".
574 config BFIN_SCRATCH_REG_RETN
577 Use the RETN register in the Blackfin exception handler
578 as a stack scratch register. This means you cannot
579 safely use NMI on the Blackfin while running Linux, but
580 you can debug the system with a JTAG ICE and use the
581 CYCLES performance registers.
583 If you are unsure, please select "RETN".
585 config BFIN_SCRATCH_REG_RETE
588 Use the RETE register in the Blackfin exception handler
589 as a stack scratch register. This means you cannot
590 safely use a JTAG ICE while debugging a Blackfin board,
591 but you can safely use the CYCLES performance registers
594 If you are unsure, please select "RETN".
596 config BFIN_SCRATCH_REG_CYCLES
599 Use the CYCLES register in the Blackfin exception handler
600 as a stack scratch register. This means you cannot
601 safely use the CYCLES performance registers on a Blackfin
602 board at anytime, but you can debug the system with a JTAG
605 If you are unsure, please select "RETN".
610 # Sorry - but you need to put the hex address here -
614 config BFIN_ALIVE_LED_PORT
616 default 0xFFC00700 if (BFIN533_STAMP)
618 # Peripheral Flag Direction Register
619 config BFIN_ALIVE_LED_DPORT
621 default 0xFFC00730 if (BFIN533_STAMP)
623 config BFIN_ALIVE_LED_PIN
625 default 0x04 if (BFIN533_STAMP && BFIN_ALIVE_LED_NUM = 1)
626 default 0x08 if (BFIN533_STAMP && BFIN_ALIVE_LED_NUM = 2)
627 default 0x10 if (BFIN533_STAMP && BFIN_ALIVE_LED_NUM = 3)
629 config BFIN_IDLE_LED_PORT
631 default 0xFFC00700 if (BFIN533_STAMP)
633 # Peripheral Flag Direction Register
634 config BFIN_IDLE_LED_DPORT
636 default 0xFFC00730 if (BFIN533_STAMP)
638 config BFIN_IDLE_LED_PIN
640 default 0x04 if (BFIN533_STAMP && BFIN_IDLE_LED_NUM = 1)
641 default 0x08 if (BFIN533_STAMP && BFIN_IDLE_LED_NUM = 2)
642 default 0x10 if (BFIN533_STAMP && BFIN_IDLE_LED_NUM = 3)
647 menu "Blackfin Kernel Optimizations"
649 comment "Memory Optimizations"
652 bool "Locate interrupt entry code in L1 Memory"
655 If enabled, interrupt entry code (STORE/RESTORE CONTEXT) is linked
656 into L1 instruction memory. (less latency)
658 config EXCPT_IRQ_SYSC_L1
659 bool "Locate entire ASM lowlevel exception / interrupt - Syscall and CPLB handler code in L1 Memory"
662 If enabled, the entire ASM lowlevel exception and interrupt entry code
663 (STORE/RESTORE CONTEXT) is linked into L1 instruction memory.
667 bool "Locate frequently called do_irq dispatcher function in L1 Memory"
670 If enabled, the frequently called do_irq dispatcher function is linked
671 into L1 instruction memory. (less latency)
673 config CORE_TIMER_IRQ_L1
674 bool "Locate frequently called timer_interrupt() function in L1 Memory"
677 If enabled, the frequently called timer_interrupt() function is linked
678 into L1 instruction memory. (less latency)
681 bool "Locate frequently idle function in L1 Memory"
684 If enabled, the frequently called idle function is linked
685 into L1 instruction memory. (less latency)
688 bool "Locate kernel schedule function in L1 Memory"
691 If enabled, the frequently called kernel schedule is linked
692 into L1 instruction memory. (less latency)
694 config ARITHMETIC_OPS_L1
695 bool "Locate kernel owned arithmetic functions in L1 Memory"
698 If enabled, arithmetic functions are linked
699 into L1 instruction memory. (less latency)
702 bool "Locate access_ok function in L1 Memory"
705 If enabled, the access_ok function is linked
706 into L1 instruction memory. (less latency)
709 bool "Locate memset function in L1 Memory"
712 If enabled, the memset function is linked
713 into L1 instruction memory. (less latency)
716 bool "Locate memcpy function in L1 Memory"
719 If enabled, the memcpy function is linked
720 into L1 instruction memory. (less latency)
722 config SYS_BFIN_SPINLOCK_L1
723 bool "Locate sys_bfin_spinlock function in L1 Memory"
726 If enabled, sys_bfin_spinlock function is linked
727 into L1 instruction memory. (less latency)
729 config IP_CHECKSUM_L1
730 bool "Locate IP Checksum function in L1 Memory"
733 If enabled, the IP Checksum function is linked
734 into L1 instruction memory. (less latency)
736 config CACHELINE_ALIGNED_L1
737 bool "Locate cacheline_aligned data to L1 Data Memory"
742 If enabled, cacheline_anligned data is linked
743 into L1 data memory. (less latency)
745 config SYSCALL_TAB_L1
746 bool "Locate Syscall Table L1 Data Memory"
750 If enabled, the Syscall LUT is linked
751 into L1 data memory. (less latency)
753 config CPLB_SWITCH_TAB_L1
754 bool "Locate CPLB Switch Tables L1 Data Memory"
758 If enabled, the CPLB Switch Tables are linked
759 into L1 data memory. (less latency)
765 prompt "Kernel executes from"
767 Choose the memory type that the kernel will be running in.
772 The kernel will be resident in RAM when running.
777 The kernel will be resident in FLASH/ROM when running.
784 bool "Allow allocating large blocks (> 1MB) of memory"
786 Allow the slab memory allocator to keep chains for very large
787 memory sizes - upto 32MB. You may need this if your system has
788 a lot of RAM, and you need to able to allocate very large
789 contiguous chunks. If unsure, say N.
792 tristate "Enable Blackfin General Purpose Timers API"
795 Enable support for the General Purpose Timers API. If you
798 To compile this driver as a module, choose M here: the module
799 will be called gptimers.ko.
802 bool "Enable DMA Support"
803 depends on (BF52x || BF53x || BF561 || BF54x)
806 DMA driver for BF5xx.
809 prompt "Uncached SDRAM region"
810 default DMA_UNCACHED_1M
811 depends on BFIN_DMA_5XX
812 config DMA_UNCACHED_2M
813 bool "Enable 2M DMA region"
814 config DMA_UNCACHED_1M
815 bool "Enable 1M DMA region"
816 config DMA_UNCACHED_NONE
817 bool "Disable DMA region"
821 comment "Cache Support"
826 config BFIN_DCACHE_BANKA
827 bool "Enable only 16k BankA DCACHE - BankB is SRAM"
828 depends on BFIN_DCACHE && !BF531
830 config BFIN_ICACHE_LOCK
831 bool "Enable Instruction Cache Locking"
835 depends on BFIN_DCACHE
841 Cached data will be written back to SDRAM only when needed.
842 This can give a nice increase in performance, but beware of
843 broken drivers that do not properly invalidate/flush their
846 Write Through Policy:
847 Cached data will always be written back to SDRAM when the
848 cache is updated. This is a completely safe setting, but
849 performance is worse than Write Back.
851 If you are unsure of the options and you want to be safe,
852 then go with Write Through.
858 Cached data will be written back to SDRAM only when needed.
859 This can give a nice increase in performance, but beware of
860 broken drivers that do not properly invalidate/flush their
863 Write Through Policy:
864 Cached data will always be written back to SDRAM when the
865 cache is updated. This is a completely safe setting, but
866 performance is worse than Write Back.
868 If you are unsure of the options and you want to be safe,
869 then go with Write Through.
874 int "Set the max L1 SRAM pieces"
877 Set the max memory pieces for the L1 SRAM allocation algorithm.
878 Min value is 16. Max value is 1024.
880 comment "Asynchonous Memory Configuration"
882 menu "EBIU_AMGCTL Global Control"
888 bool "DMA has priority over core for ext. accesses"
894 bool "Bank 0 16 bit packing enable"
899 bool "Bank 1 16 bit packing enable"
904 bool "Bank 2 16 bit packing enable"
909 bool "Bank 3 16 bit packing enable"
913 prompt"Enable Asynchonous Memory Banks"
917 bool "Disable All Banks"
923 bool "Enable Bank 0 & 1"
925 config C_AMBEN_B0_B1_B2
926 bool "Enable Bank 0 & 1 & 2"
929 bool "Enable All Banks"
933 menu "EBIU_AMBCTL Control"
953 #############################################################################
954 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
961 source "drivers/pci/Kconfig"
964 bool "Support for hot-pluggable device"
966 Say Y here if you want to plug devices into your computer while
967 the system is running, and be able to use them quickly. In many
968 cases, the devices can likewise be unplugged at any time too.
970 One well known example of this is PCMCIA- or PC-cards, credit-card
971 size devices such as network cards, modems or hard drives which are
972 plugged into slots found on all modern laptop computers. Another
973 example, used on modern desktops as well as laptops, is USB.
975 Enable HOTPLUG and KMOD, and build a modular kernel. Get agent
976 software (at <http://linux-hotplug.sourceforge.net/>) and install it.
977 Then your kernel will automatically call out to a user mode "policy
978 agent" (/sbin/hotplug) to load modules and set up software needed
979 to use devices as you hotplug them.
981 source "drivers/pcmcia/Kconfig"
983 source "drivers/pci/hotplug/Kconfig"
987 menu "Executable file formats"
989 source "fs/Kconfig.binfmt"
993 menu "Power management options"
994 source "kernel/power/Kconfig"
997 prompt "Select PM Wakeup Event Source"
998 default PM_WAKEUP_GPIO_BY_SIC_IWR
1001 If you have a GPIO already configured as input with the corresponding PORTx_MASK
1002 bit set - "Specify Wakeup Event by SIC_IWR value"
1004 config PM_WAKEUP_GPIO_BY_SIC_IWR
1005 bool "Specify Wakeup Event by SIC_IWR value"
1006 config PM_WAKEUP_BY_GPIO
1007 bool "Cause Wakeup Event by GPIO"
1008 config PM_WAKEUP_GPIO_API
1009 bool "Configure Wakeup Event by PM GPIO API"
1013 config PM_WAKEUP_SIC_IWR
1014 hex "Wakeup Events (SIC_IWR)"
1015 depends on PM_WAKEUP_GPIO_BY_SIC_IWR
1016 default 0x80000000 if (BF537 || BF536 || BF534)
1017 default 0x100000 if (BF533 || BF532 || BF531)
1019 config PM_WAKEUP_GPIO_NUMBER
1020 int "Wakeup GPIO number"
1022 depends on PM_WAKEUP_BY_GPIO
1023 default 2 if BFIN537_STAMP
1026 prompt "GPIO Polarity"
1027 depends on PM_WAKEUP_BY_GPIO
1028 default PM_WAKEUP_GPIO_POLAR_H
1029 config PM_WAKEUP_GPIO_POLAR_H
1031 config PM_WAKEUP_GPIO_POLAR_L
1033 config PM_WAKEUP_GPIO_POLAR_EDGE_F
1035 config PM_WAKEUP_GPIO_POLAR_EDGE_R
1037 config PM_WAKEUP_GPIO_POLAR_EDGE_B
1043 if (BF537 || BF533 || BF54x)
1045 menu "CPU Frequency scaling"
1047 source "drivers/cpufreq/Kconfig"
1053 If you want to enable this option, you should select the
1054 DPMC driver from Character Devices.
1059 source "net/Kconfig"
1061 source "drivers/Kconfig"
1065 source "kernel/Kconfig.instrumentation"
1067 menu "Kernel hacking"
1069 source "lib/Kconfig.debug"
1072 bool "Hardware error interrupt debugging"
1073 depends on DEBUG_KERNEL
1075 When enabled, the hardware error interrupt is never disabled, and
1076 will happen immediately when an error condition occurs. This comes
1077 at a slight cost in code size, but is necessary if you are getting
1078 hardware error interrupts and need to know where they are coming
1081 config DEBUG_ICACHE_CHECK
1082 bool "Check Instruction cache coherency"
1083 depends on DEBUG_KERNEL
1084 depends on DEBUG_HWERR
1086 Say Y here if you are getting weird unexplained errors. This will
1087 ensure that icache is what SDRAM says it should be by doing a
1088 byte wise comparison between SDRAM and instruction cache. This
1089 also relocates the irq_panic() function to L1 memory, (which is
1092 config DEBUG_HUNT_FOR_ZERO
1093 bool "Catch NULL pointer reads/writes"
1096 Say Y here to catch reads/writes to anywhere in the memory range
1097 from 0x0000 - 0x0FFF (the first 4k) of memory. This is useful in
1098 catching common programming errors such as NULL pointer dereferences.
1100 Misbehaving applications will be killed (generate a SEGV) while the
1101 kernel will trigger a panic.
1103 Enabling this option will take up an extra entry in CPLB table.
1104 Otherwise, there is no extra overhead.
1106 config DEBUG_BFIN_HWTRACE_ON
1107 bool "Turn on Blackfin's Hardware Trace"
1110 All Blackfins include a Trace Unit which stores a history of the last
1111 16 changes in program flow taken by the program sequencer. The history
1112 allows the user to recreate the program sequencer’s recent path. This
1113 can be handy when an application dies - we print out the execution
1114 path of how it got to the offending instruction.
1116 By turning this off, you may save a tiny amount of power.
1119 prompt "Omit loop Tracing"
1120 default DEBUG_BFIN_HWTRACE_COMPRESSION_OFF
1121 depends on DEBUG_BFIN_HWTRACE_ON
1123 The trace buffer can be configured to omit recording of changes in
1124 program flow that match either the last entry or one of the last
1125 two entries. Omitting one of these entries from the record prevents
1126 the trace buffer from overflowing because of any sort of loop (for, do
1127 while, etc) in the program.
1129 Because zero-overhead Hardware loops are not recorded in the trace buffer,
1130 this feature can be used to prevent trace overflow from loops that
1131 are nested four deep.
1133 config DEBUG_BFIN_HWTRACE_COMPRESSION_OFF
1134 bool "Trace all Loops"
1136 The trace buffer records all changes of flow
1138 config DEBUG_BFIN_HWTRACE_COMPRESSION_ONE
1139 bool "Compress single-level loops"
1141 The trace buffer does not record single loops - helpful if trace
1142 is spinning on a while or do loop.
1144 config DEBUG_BFIN_HWTRACE_COMPRESSION_TWO
1145 bool "Compress two-level loops"
1147 The trace buffer does not record loops two levels deep. Helpful if
1148 the trace is spinning in a nested loop
1152 config DEBUG_BFIN_HWTRACE_COMPRESSION
1154 depends on DEBUG_BFIN_HWTRACE_ON
1155 default 0 if DEBUG_BFIN_HWTRACE_COMPRESSION_OFF
1156 default 1 if DEBUG_BFIN_HWTRACE_COMPRESSION_ONE
1157 default 2 if DEBUG_BFIN_HWTRACE_COMPRESSION_TWO
1160 config DEBUG_BFIN_HWTRACE_EXPAND
1161 bool "Expand Trace Buffer greater than 16 entries"
1162 depends on DEBUG_BFIN_HWTRACE_ON
1165 By selecting this option, every time the 16 hardware entries in
1166 the Blackfin's HW Trace buffer are full, the kernel will move them
1167 into a software buffer, for dumping when there is an issue. This
1168 has a great impact on performance, (an interrupt every 16 change of
1169 flows) and should normally be turned off, except in those nasty
1172 config DEBUG_BFIN_HWTRACE_EXPAND_LEN
1173 int "Size of Trace buffer (in power of 2k)"
1175 depends on DEBUG_BFIN_HWTRACE_EXPAND
1178 This sets the size of the software buffer that the trace information
1180 0 for (2^0) 1k, or 256 entries,
1181 1 for (2^1) 2k, or 512 entries,
1182 2 for (2^2) 4k, or 1024 entries,
1183 3 for (2^3) 8k, or 2048 entries,
1184 4 for (2^4) 16k, or 4096 entries
1186 config DEBUG_BFIN_NO_KERN_HWTRACE
1187 bool "Trace user apps (turn off hwtrace in kernel)"
1188 depends on DEBUG_BFIN_HWTRACE_ON
1191 Some pieces of the kernel contain a lot of flow changes which can
1192 quickly fill up the hardware trace buffer. When debugging crashes,
1193 the hardware trace may indicate that the problem lies in kernel
1194 space when in reality an application is buggy.
1196 Say Y here to disable hardware tracing in some known "jumpy" pieces
1197 of code so that the trace buffer will extend further back.
1203 This option enables special console drivers which allow the kernel
1204 to print messages very early in the bootup process.
1206 This is useful for kernel debugging when your machine crashes very
1207 early before the console code is initialized. After enabling this
1208 feature, you must add "earlyprintk=serial,uart0,57600" to the
1209 command line (bootargs). It is safe to say Y here in all cases, as
1210 all of this lives in the init section and is thrown away after the
1211 kernel boots completely.
1213 config DUAL_CORE_TEST_MODULE
1214 tristate "Dual Core Test Module"
1218 Say Y here to build-in dual core test module for dual core test.
1221 bool "Display the CPLB information"
1223 Display the CPLB information.
1226 bool "Check the user pointer address"
1229 Usually the pointer transfer from user space is checked to see if its
1230 address is in the kernel space.
1232 Say N here to disable that check to improve the performance.
1236 source "security/Kconfig"
1238 source "crypto/Kconfig"
1240 source "lib/Kconfig"