blob: 5ba4dcd56cadf1777d9df3356842ae6688865c38 [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 Simek575ca282009-03-27 14:25:50 +010066config PCI
Michal Simek575ca282009-03-27 14:25:50 +010067 def_bool n
68
69config NO_DMA
Arnd Bergmannf2224ff02009-04-27 17:38:25 +020070 def_bool y
Michal Simek575ca282009-03-27 14:25:50 +010071
72source "init/Kconfig"
73
74source "kernel/Kconfig.freezer"
75
76source "arch/microblaze/platform/Kconfig.platform"
77
78menu "Processor type and features"
79
80source kernel/time/Kconfig
81
82source "kernel/Kconfig.preempt"
83
84source "kernel/Kconfig.hz"
85
86config MMU
Michal Simeka116f6d2009-05-26 16:30:31 +020087 bool "MMU support"
88 default n
Michal Simek575ca282009-03-27 14:25:50 +010089
90config NO_MMU
91 bool
92 depends on !MMU
93 default y
94
95comment "Boot options"
96
97config CMDLINE_BOOL
98 bool "Default bootloader kernel arguments"
99
100config CMDLINE
101 string "Default kernel command string"
102 depends on CMDLINE_BOOL
103 default "console=ttyUL0,115200"
104 help
105 On some architectures there is currently no way for the boot loader
106 to pass arguments to the kernel. For these architectures, you should
107 supply some command-line options at build time by entering them
108 here.
109
110config CMDLINE_FORCE
111 bool "Force default kernel command string"
112 depends on CMDLINE_BOOL
113 default n
114 help
115 Set this to have arguments from the default kernel command string
116 override those passed by the boot loader.
117
118config OF
119 def_bool y
120
Michal Simek575ca282009-03-27 14:25:50 +0100121config PROC_DEVICETREE
122 bool "Support for device tree in /proc"
123 depends on PROC_FS
124 help
125 This option adds a device-tree directory under /proc which contains
126 an image of the device tree that the kernel copies from Open
127 Firmware or other boot firmware. If unsure, say Y here.
128
129endmenu
130
Michal Simeka116f6d2009-05-26 16:30:31 +0200131menu "Advanced setup"
132
133config ADVANCED_OPTIONS
134 bool "Prompt for advanced kernel configuration options"
135 depends on MMU
136 help
137 This option will enable prompting for a variety of advanced kernel
138 configuration options. These options can cause the kernel to not
139 work if they are set incorrectly, but can be used to optimize certain
140 aspects of kernel memory management.
141
142 Unless you know what you are doing, say N here.
143
144comment "Default settings for advanced configuration options are used"
145 depends on !ADVANCED_OPTIONS
146
147config HIGHMEM_START_BOOL
148 bool "Set high memory pool address"
149 depends on ADVANCED_OPTIONS && HIGHMEM
150 help
151 This option allows you to set the base address of the kernel virtual
152 area used to map high memory pages. This can be useful in
153 optimizing the layout of kernel virtual memory.
154
155 Say N here unless you know what you are doing.
156
157config HIGHMEM_START
158 hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
159 depends on MMU
160 default "0xfe000000"
161
162config LOWMEM_SIZE_BOOL
163 bool "Set maximum low memory"
164 depends on ADVANCED_OPTIONS
165 help
166 This option allows you to set the maximum amount of memory which
167 will be used as "low memory", that is, memory which the kernel can
168 access directly, without having to set up a kernel virtual mapping.
169 This can be useful in optimizing the layout of kernel virtual
170 memory.
171
172 Say N here unless you know what you are doing.
173
174config LOWMEM_SIZE
175 hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
176 depends on MMU
177 default "0x30000000"
178
179config KERNEL_START_BOOL
180 bool "Set custom kernel base address"
181 depends on ADVANCED_OPTIONS
182 help
183 This option allows you to set the kernel virtual address at which
184 the kernel will map low memory (the kernel image will be linked at
185 this address). This can be useful in optimizing the virtual memory
186 layout of the system.
187
188 Say N here unless you know what you are doing.
189
190config KERNEL_START
191 hex "Virtual address of kernel base" if KERNEL_START_BOOL
192 default "0xc0000000" if MMU
193 default KERNEL_BASE_ADDR if !MMU
194
195config TASK_SIZE_BOOL
196 bool "Set custom user task size"
197 depends on ADVANCED_OPTIONS
198 help
199 This option allows you to set the amount of virtual address space
200 allocated to user tasks. This can be useful in optimizing the
201 virtual memory layout of the system.
202
203 Say N here unless you know what you are doing.
204
205config TASK_SIZE
206 hex "Size of user task space" if TASK_SIZE_BOOL
207 depends on MMU
208 default "0x80000000"
209
210config CONSISTENT_START_BOOL
211 bool "Set custom consistent memory pool address"
212 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
213 help
214 This option allows you to set the base virtual address
215 of the the consistent memory pool. This pool of virtual
216 memory is used to make consistent memory allocations.
217
218config CONSISTENT_START
219 hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
220 depends on MMU
221 default "0xff100000" if NOT_COHERENT_CACHE
222
223config CONSISTENT_SIZE_BOOL
224 bool "Set custom consistent memory pool size"
225 depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
226 help
227 This option allows you to set the size of the the
228 consistent memory pool. This pool of virtual memory
229 is used to make consistent memory allocations.
230
231config CONSISTENT_SIZE
232 hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
233 depends on MMU
234 default "0x00200000" if NOT_COHERENT_CACHE
235
236endmenu
237
Michal Simek575ca282009-03-27 14:25:50 +0100238source "mm/Kconfig"
239
240menu "Exectuable file formats"
241
242source "fs/Kconfig.binfmt"
243
244endmenu
245
246source "net/Kconfig"
247
248source "drivers/Kconfig"
249
250source "fs/Kconfig"
251
252source "arch/microblaze/Kconfig.debug"
253
254source "security/Kconfig"
255
256source "crypto/Kconfig"
257
258source "lib/Kconfig"