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