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