microblaze: ftrace: enable HAVE_FUNCTION_TRACE_MCOUNT_TEST
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / microblaze / Kconfig
CommitLineData
575ca288
MS
1# For a description of the syntax of this configuration file,
2# see Documentation/kbuild/kconfig-language.txt.
3
4mainmenu "Linux/Microblaze Kernel Configuration"
5
6config MICROBLAZE
7 def_bool y
8 select HAVE_LMB
2fd7c761 9 select HAVE_FUNCTION_TRACER
6d9e60ce 10 select HAVE_FUNCTION_TRACE_MCOUNT_TEST
afc26cb3 11 select USB_ARCH_HAS_EHCI
6fa612b5 12 select ARCH_WANT_OPTIONAL_GPIOLIB
575ca288
MS
13
14config SWAP
15 def_bool n
16
17config RWSEM_GENERIC_SPINLOCK
18 def_bool y
19
20config RWSEM_XCHGADD_ALGORITHM
21 bool
22
23config ARCH_HAS_ILOG2_U32
24 def_bool n
25
26config ARCH_HAS_ILOG2_U64
27 def_bool n
28
29config GENERIC_FIND_NEXT_BIT
30 def_bool y
31
32config GENERIC_HWEIGHT
33 def_bool y
34
35config GENERIC_HARDIRQS
36 def_bool y
37
38config GENERIC_IRQ_PROBE
39 def_bool y
40
41config GENERIC_CALIBRATE_DELAY
42 def_bool y
43
44config GENERIC_TIME
45 def_bool y
46
47config GENERIC_TIME_VSYSCALL
48 def_bool n
49
50config GENERIC_CLOCKEVENTS
51 def_bool y
52
53config GENERIC_HARDIRQS_NO__DO_IRQ
54 def_bool y
55
6fa612b5
MS
56config GENERIC_GPIO
57 def_bool y
58
14f87389
RLB
59config GENERIC_CSUM
60 def_bool y
61
24b45a12
MS
62config STACKTRACE_SUPPORT
63 def_bool y
64
bf2d8096
MS
65config LOCKDEP_SUPPORT
66 def_bool y
67
fb5a32dc
MS
68config HAVE_LATENCYTOP_SUPPORT
69 def_bool y
70
575ca288 71config PCI
575ca288
MS
72 def_bool n
73
74config NO_DMA
f2224ff0 75 def_bool y
575ca288
MS
76
77source "init/Kconfig"
78
79source "kernel/Kconfig.freezer"
80
81source "arch/microblaze/platform/Kconfig.platform"
82
83menu "Processor type and features"
84
85source kernel/time/Kconfig
86
87source "kernel/Kconfig.preempt"
88
89source "kernel/Kconfig.hz"
90
91config MMU
a116f6d5
MS
92 bool "MMU support"
93 default n
575ca288
MS
94
95config NO_MMU
96 bool
97 depends on !MMU
98 default y
99
100comment "Boot options"
101
102config CMDLINE_BOOL
103 bool "Default bootloader kernel arguments"
104
105config CMDLINE
106 string "Default kernel command string"
107 depends on CMDLINE_BOOL
108 default "console=ttyUL0,115200"
109 help
110 On some architectures there is currently no way for the boot loader
111 to pass arguments to the kernel. For these architectures, you should
112 supply some command-line options at build time by entering them
113 here.
114
115config CMDLINE_FORCE
116 bool "Force default kernel command string"
117 depends on CMDLINE_BOOL
118 default n
119 help
120 Set this to have arguments from the default kernel command string
121 override those passed by the boot loader.
122
123config OF
124 def_bool y
125
575ca288
MS
126config PROC_DEVICETREE
127 bool "Support for device tree in /proc"
128 depends on PROC_FS
129 help
130 This option adds a device-tree directory under /proc which contains
131 an image of the device tree that the kernel copies from Open
132 Firmware or other boot firmware. If unsure, say Y here.
133
134endmenu
135
a116f6d5
MS
136menu "Advanced setup"
137
138config ADVANCED_OPTIONS
139 bool "Prompt for advanced kernel configuration options"
140 depends on MMU
141 help
142 This option will enable prompting for a variety of advanced kernel
143 configuration options. These options can cause the kernel to not
144 work if they are set incorrectly, but can be used to optimize certain
145 aspects of kernel memory management.
146
147 Unless you know what you are doing, say N here.
148
149comment "Default settings for advanced configuration options are used"
150 depends on !ADVANCED_OPTIONS
151
152config HIGHMEM_START_BOOL
153 bool "Set high memory pool address"
154 depends on ADVANCED_OPTIONS && HIGHMEM
155 help
156 This option allows you to set the base address of the kernel virtual
157 area used to map high memory pages. This can be useful in
158 optimizing the layout of kernel virtual memory.
159
160 Say N here unless you know what you are doing.
161
162config HIGHMEM_START
163 hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
164 depends on MMU
165 default "0xfe000000"
166
167config LOWMEM_SIZE_BOOL
168 bool "Set maximum low memory"
169 depends on ADVANCED_OPTIONS
170 help
171 This option allows you to set the maximum amount of memory which
172 will be used as "low memory", that is, memory which the kernel can
173 access directly, without having to set up a kernel virtual mapping.
174 This can be useful in optimizing the layout of kernel virtual
175 memory.
176
177 Say N here unless you know what you are doing.
178
179config LOWMEM_SIZE
180 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
181 depends on MMU
182 default "0x30000000"
183
184config KERNEL_START_BOOL
185 bool "Set custom kernel base address"
186 depends on ADVANCED_OPTIONS
187 help
188 This option allows you to set the kernel virtual address at which
189 the kernel will map low memory (the kernel image will be linked at
190 this address). This can be useful in optimizing the virtual memory
191 layout of the system.
192
193 Say N here unless you know what you are doing.
194
195config KERNEL_START
196 hex "Virtual address of kernel base" if KERNEL_START_BOOL
197 default "0xc0000000" if MMU
198 default KERNEL_BASE_ADDR if !MMU
199
200config TASK_SIZE_BOOL
201 bool "Set custom user task size"
202 depends on ADVANCED_OPTIONS
203 help
204 This option allows you to set the amount of virtual address space
205 allocated to user tasks. This can be useful in optimizing the
206 virtual memory layout of the system.
207
208 Say N here unless you know what you are doing.
209
210config TASK_SIZE
211 hex "Size of user task space" if TASK_SIZE_BOOL
212 depends on MMU
213 default "0x80000000"
214
215config CONSISTENT_START_BOOL
216 bool "Set custom consistent memory pool address"
217 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
218 help
219 This option allows you to set the base virtual address
220 of the the consistent memory pool. This pool of virtual
221 memory is used to make consistent memory allocations.
222
223config CONSISTENT_START
224 hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
225 depends on MMU
226 default "0xff100000" if NOT_COHERENT_CACHE
227
228config CONSISTENT_SIZE_BOOL
229 bool "Set custom consistent memory pool size"
230 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
231 help
232 This option allows you to set the size of the the
233 consistent memory pool. This pool of virtual memory
234 is used to make consistent memory allocations.
235
236config CONSISTENT_SIZE
237 hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
238 depends on MMU
239 default "0x00200000" if NOT_COHERENT_CACHE
240
241endmenu
242
575ca288
MS
243source "mm/Kconfig"
244
245menu "Exectuable file formats"
246
247source "fs/Kconfig.binfmt"
248
249endmenu
250
251source "net/Kconfig"
252
253source "drivers/Kconfig"
254
255source "fs/Kconfig"
256
257source "arch/microblaze/Kconfig.debug"
258
259source "security/Kconfig"
260
261source "crypto/Kconfig"
262
263source "lib/Kconfig"