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