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