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