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