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