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