Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6
[sfrench/cifs-2.6.git] / arch / microblaze / Kconfig
1 # For a description of the syntax of this configuration file,
2 # see Documentation/kbuild/kconfig-language.txt.
3
4 mainmenu "Linux/Microblaze Kernel Configuration"
5
6 config MICROBLAZE
7         def_bool y
8         select HAVE_MEMBLOCK
9         select HAVE_FUNCTION_TRACER
10         select HAVE_FUNCTION_TRACE_MCOUNT_TEST
11         select HAVE_FUNCTION_GRAPH_TRACER
12         select HAVE_DYNAMIC_FTRACE
13         select HAVE_FTRACE_MCOUNT_RECORD
14         select USB_ARCH_HAS_EHCI
15         select ARCH_WANT_OPTIONAL_GPIOLIB
16         select HAVE_OPROFILE
17         select HAVE_ARCH_KGDB
18         select HAVE_DMA_ATTRS
19         select HAVE_DMA_API_DEBUG
20         select TRACING_SUPPORT
21         select OF
22         select OF_FLATTREE
23
24 config SWAP
25         def_bool n
26
27 config RWSEM_GENERIC_SPINLOCK
28         def_bool y
29
30 config RWSEM_XCHGADD_ALGORITHM
31         bool
32
33 config ARCH_HAS_ILOG2_U32
34         def_bool n
35
36 config ARCH_HAS_ILOG2_U64
37         def_bool n
38
39 config GENERIC_FIND_NEXT_BIT
40         def_bool y
41
42 config GENERIC_HWEIGHT
43         def_bool y
44
45 config GENERIC_HARDIRQS
46         def_bool y
47
48 config GENERIC_IRQ_PROBE
49         def_bool y
50
51 config GENERIC_CALIBRATE_DELAY
52         def_bool y
53
54 config GENERIC_TIME
55         def_bool y
56
57 config GENERIC_TIME_VSYSCALL
58         def_bool n
59
60 config GENERIC_CLOCKEVENTS
61         def_bool y
62
63 config GENERIC_HARDIRQS_NO__DO_IRQ
64         def_bool y
65
66 config GENERIC_GPIO
67         def_bool y
68
69 config GENERIC_CSUM
70         def_bool y
71
72 config STACKTRACE_SUPPORT
73         def_bool y
74
75 config LOCKDEP_SUPPORT
76         def_bool y
77
78 config HAVE_LATENCYTOP_SUPPORT
79         def_bool y
80
81 source "init/Kconfig"
82
83 source "kernel/Kconfig.freezer"
84
85 source "arch/microblaze/platform/Kconfig.platform"
86
87 menu "Processor type and features"
88
89 source "kernel/time/Kconfig"
90
91 source "kernel/Kconfig.preempt"
92
93 source "kernel/Kconfig.hz"
94
95 config MMU
96         bool "MMU support"
97         default n
98
99 config NO_MMU
100         bool
101         depends on !MMU
102         default y
103
104 comment "Boot options"
105
106 config CMDLINE_BOOL
107         bool "Default bootloader kernel arguments"
108
109 config CMDLINE
110         string "Default kernel command string"
111         depends on CMDLINE_BOOL
112         default "console=ttyUL0,115200"
113         help
114           On some architectures there is currently no way for the boot loader
115           to pass arguments to the kernel. For these architectures, you should
116           supply some command-line options at build time by entering them
117           here.
118
119 config CMDLINE_FORCE
120         bool "Force default kernel command string"
121         depends on CMDLINE_BOOL
122         default n
123         help
124           Set this to have arguments from the default kernel command string
125           override those passed by the boot loader.
126
127 endmenu
128
129 menu "Advanced setup"
130
131 config ADVANCED_OPTIONS
132         bool "Prompt for advanced kernel configuration options"
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
141 comment "Default settings for advanced configuration options are used"
142         depends on !ADVANCED_OPTIONS
143
144 config XILINX_UNCACHED_SHADOW
145         bool "Are you using uncached shadow for RAM ?"
146         depends on ADVANCED_OPTIONS && !MMU
147         default n
148         help
149           This is needed to be able to allocate uncachable memory regions.
150           The feature requires the design to define the RAM memory controller
151           window to be twice as large as the actual physical memory.
152
153 config HIGHMEM_START_BOOL
154         bool "Set high memory pool address"
155         depends on ADVANCED_OPTIONS && HIGHMEM
156         help
157           This option allows you to set the base address of the kernel virtual
158           area used to map high memory pages.  This can be useful in
159           optimizing the layout of kernel virtual memory.
160
161           Say N here unless you know what you are doing.
162
163 config HIGHMEM_START
164         hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
165         depends on MMU
166         default "0xfe000000"
167
168 config LOWMEM_SIZE_BOOL
169         bool "Set maximum low memory"
170         depends on ADVANCED_OPTIONS && MMU
171         help
172           This option allows you to set the maximum amount of memory which
173           will be used as "low memory", that is, memory which the kernel can
174           access directly, without having to set up a kernel virtual mapping.
175           This can be useful in optimizing the layout of kernel virtual
176           memory.
177
178           Say N here unless you know what you are doing.
179
180 config LOWMEM_SIZE
181         hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
182         default "0x30000000"
183
184 config KERNEL_START_BOOL
185         bool "Set custom kernel base address"
186         depends on ADVANCED_OPTIONS
187         help
188           This option allows you to set the kernel virtual address at which
189           the kernel will map low memory (the kernel image will be linked at
190           this address).  This can be useful in optimizing the virtual memory
191           layout of the system.
192
193           Say N here unless you know what you are doing.
194
195 config KERNEL_START
196         hex "Virtual address of kernel base" if KERNEL_START_BOOL
197         default "0xc0000000" if MMU
198         default KERNEL_BASE_ADDR if !MMU
199
200 config TASK_SIZE_BOOL
201         bool "Set custom user task size"
202         depends on ADVANCED_OPTIONS && MMU
203         help
204           This option allows you to set the amount of virtual address space
205           allocated to user tasks.  This can be useful in optimizing the
206           virtual memory layout of the system.
207
208           Say N here unless you know what you are doing.
209
210 config TASK_SIZE
211         hex "Size of user task space" if TASK_SIZE_BOOL
212         default "0x80000000"
213
214 choice
215         prompt "Page size"
216         default MICROBLAZE_4K_PAGES
217         depends on ADVANCED_OPTIONS && !MMU
218         help
219           Select the kernel logical page size. Increasing the page size
220           will reduce software overhead at each page boundary, allow
221           hardware prefetch mechanisms to be more effective, and allow
222           larger dma transfers increasing IO efficiency and reducing
223           overhead. However the utilization of memory will increase.
224           For example, each cached file will using a multiple of the
225           page size to hold its contents and the difference between the
226           end of file and the end of page is wasted.
227
228           If unsure, choose 4K_PAGES.
229
230 config MICROBLAZE_4K_PAGES
231         bool "4k page size"
232
233 config MICROBLAZE_8K_PAGES
234         bool "8k page size"
235
236 config MICROBLAZE_16K_PAGES
237         bool "16k page size"
238
239 config MICROBLAZE_32K_PAGES
240         bool "32k page size"
241
242 endchoice
243
244 endmenu
245
246 source "mm/Kconfig"
247
248 menu "Exectuable file formats"
249
250 source "fs/Kconfig.binfmt"
251
252 endmenu
253
254 menu "Bus Options"
255
256 config PCI
257         bool "PCI support"
258
259 config PCI_DOMAINS
260         def_bool PCI
261
262 config PCI_SYSCALL
263         def_bool PCI
264
265 config PCI_XILINX
266         bool "Xilinx PCI host bridge support"
267         depends on PCI
268
269 source "drivers/pci/Kconfig"
270
271 endmenu
272
273 source "net/Kconfig"
274
275 source "drivers/Kconfig"
276
277 source "fs/Kconfig"
278
279 source "arch/microblaze/Kconfig.debug"
280
281 source "security/Kconfig"
282
283 source "crypto/Kconfig"
284
285 source "lib/Kconfig"