Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
[linux-2.6.git] / arch / c6x / Kconfig
blobf6a3648f5ec3c7030a8c4294be4e3bee54a25b6c
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
6 config C6X
7         def_bool y
8         select CLKDEV_LOOKUP
9         select GENERIC_ATOMIC64
10         select GENERIC_IRQ_SHOW
11         select HAVE_ARCH_TRACEHOOK
12         select HAVE_DMA_API_DEBUG
13         select HAVE_GENERIC_HARDIRQS
14         select HAVE_MEMBLOCK
15         select SPARSE_IRQ
16         select IRQ_DOMAIN
17         select OF
18         select OF_EARLY_FLATTREE
19         select GENERIC_CLOCKEVENTS
20         select MODULES_USE_ELF_RELA
22 config MMU
23         def_bool n
25 config FPU
26         def_bool n
28 config RWSEM_GENERIC_SPINLOCK
29         def_bool y
31 config GENERIC_CALIBRATE_DELAY
32         def_bool y
34 config GENERIC_HWEIGHT
35         def_bool y
37 config GENERIC_BUG
38         def_bool y
40 config COMMON_CLKDEV
41         def_bool y
43 config C6X_BIG_KERNEL
44         bool "Build a big kernel"
45         help
46           The C6X function call instruction has a limited range of +/- 2MiB.
47           This is sufficient for most kernels, but some kernel configurations
48           with lots of compiled-in functionality may require a larger range
49           for function calls. Use this option to have the compiler generate
50           function calls with 32-bit range. This will make the kernel both
51           larger and slower.
53           If unsure, say N.
55 source "init/Kconfig"
57 # Use the generic interrupt handling code in kernel/irq/
59 source "kernel/Kconfig.freezer"
61 config CMDLINE_BOOL
62         bool "Default bootloader kernel arguments"
64 config CMDLINE
65         string "Kernel command line"
66         depends on CMDLINE_BOOL
67         default "console=ttyS0,57600"
68         help
69           On some architectures there is currently no way for the boot loader
70           to pass arguments to the kernel. For these architectures, you should
71           supply some command-line options at build time by entering them
72           here.
74 config CMDLINE_FORCE
75         bool "Force default kernel command string"
76         depends on CMDLINE_BOOL
77         default n
78         help
79           Set this to have arguments from the default kernel command string
80           override those passed by the boot loader.
82 config CPU_BIG_ENDIAN
83         bool "Build big-endian kernel"
84         default n
85         help
86           Say Y if you plan on running a kernel in big-endian mode.
87           Note that your board must be properly built and your board
88           port must properly enable any big-endian related features
89           of your chipset/board/processor.
91 config FORCE_MAX_ZONEORDER
92         int "Maximum zone order"
93         default "13"
94         help
95           The kernel memory allocator divides physically contiguous memory
96           blocks into "zones", where each zone is a power of two number of
97           pages.  This option selects the largest power of two that the kernel
98           keeps in the memory allocator.  If you need to allocate very large
99           blocks of physically contiguous memory, then you may need to
100           increase this value.
102           This config option is actually maximum order plus one. For example,
103           a value of 11 means that the largest free memory block is 2^10 pages.
105 menu "Processor type and features"
107 source "arch/c6x/platforms/Kconfig"
109 config TMS320C6X_CACHES_ON
110         bool "L2 cache support"
111         default y
113 config KERNEL_RAM_BASE_ADDRESS
114         hex "Virtual address of memory base"
115         default 0xe0000000 if SOC_TMS320C6455
116         default 0xe0000000 if SOC_TMS320C6457
117         default 0xe0000000 if SOC_TMS320C6472
118         default 0x80000000
120 source "mm/Kconfig"
122 source "kernel/Kconfig.preempt"
124 source "kernel/Kconfig.hz"
126 endmenu
128 menu "Executable file formats"
130 source "fs/Kconfig.binfmt"
132 endmenu
134 source "net/Kconfig"
136 source "drivers/Kconfig"
138 source "fs/Kconfig"
140 source "security/Kconfig"
142 source "crypto/Kconfig"
144 source "lib/Kconfig"
146 menu "Kernel hacking"
148 source "lib/Kconfig.debug"
150 config ACCESS_CHECK
151         bool "Check the user pointer address"
152         default y
153         help
154           Usually the pointer transfer from user space is checked to see if its
155           address is in the kernel space.
157           Say N here to disable that check to improve the performance.
159 endmenu