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