Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
[pandora-kernel.git] / arch / microblaze / Kconfig
1 config MICROBLAZE
2         def_bool y
3         select HAVE_MEMBLOCK
4         select HAVE_FUNCTION_TRACER
5         select HAVE_FUNCTION_TRACE_MCOUNT_TEST
6         select HAVE_FUNCTION_GRAPH_TRACER
7         select HAVE_DYNAMIC_FTRACE
8         select HAVE_FTRACE_MCOUNT_RECORD
9         select ARCH_WANT_OPTIONAL_GPIOLIB
10         select HAVE_OPROFILE
11         select HAVE_ARCH_KGDB
12         select HAVE_DMA_ATTRS
13         select HAVE_DMA_API_DEBUG
14         select TRACING_SUPPORT
15         select OF
16         select OF_EARLY_FLATTREE
17         select HAVE_GENERIC_HARDIRQS
18         select GENERIC_IRQ_PROBE
19         select GENERIC_IRQ_SHOW
20
21 config SWAP
22         def_bool n
23
24 config RWSEM_GENERIC_SPINLOCK
25         def_bool y
26
27 config RWSEM_XCHGADD_ALGORITHM
28         bool
29
30 config ARCH_HAS_ILOG2_U32
31         def_bool n
32
33 config ARCH_HAS_ILOG2_U64
34         def_bool n
35
36 config GENERIC_FIND_NEXT_BIT
37         def_bool y
38
39 config GENERIC_FIND_BIT_LE
40         def_bool y
41
42 config GENERIC_HWEIGHT
43         def_bool y
44
45 config GENERIC_CALIBRATE_DELAY
46         def_bool y
47
48 config GENERIC_TIME_VSYSCALL
49         def_bool n
50
51 config GENERIC_CLOCKEVENTS
52         def_bool y
53
54 config GENERIC_GPIO
55         def_bool y
56
57 config GENERIC_CSUM
58         def_bool y
59
60 config STACKTRACE_SUPPORT
61         def_bool y
62
63 config LOCKDEP_SUPPORT
64         def_bool y
65
66 config HAVE_LATENCYTOP_SUPPORT
67         def_bool y
68
69 source "init/Kconfig"
70
71 source "kernel/Kconfig.freezer"
72
73 source "arch/microblaze/platform/Kconfig.platform"
74
75 menu "Processor type and features"
76
77 source "kernel/time/Kconfig"
78
79 source "kernel/Kconfig.preempt"
80
81 source "kernel/Kconfig.hz"
82
83 config MMU
84         bool "MMU support"
85         default n
86
87 config NO_MMU
88         bool
89         depends on !MMU
90         default y
91
92 comment "Boot options"
93
94 config CMDLINE_BOOL
95         bool "Default bootloader kernel arguments"
96
97 config 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
107 config 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
115 config SECCOMP
116         bool "Enable seccomp to safely compute untrusted bytecode"
117         depends on PROC_FS
118         default y
119         help
120           This kernel feature is useful for number crunching applications
121           that may need to compute untrusted bytecode during their
122           execution. By using pipes or other transports made available to
123           the process as file descriptors supporting the read/write
124           syscalls, it's possible to isolate those applications in
125           their own address space using seccomp. Once seccomp is
126           enabled via /proc/<pid>/seccomp, it cannot be disabled
127           and the task is only allowed to execute a few safe syscalls
128           defined by each seccomp mode.
129
130           If unsure, say Y. Only embedded should say N here.
131
132 endmenu
133
134 menu "Advanced setup"
135
136 config ADVANCED_OPTIONS
137         bool "Prompt for advanced kernel configuration options"
138         help
139           This option will enable prompting for a variety of advanced kernel
140           configuration options.  These options can cause the kernel to not
141           work if they are set incorrectly, but can be used to optimize certain
142           aspects of kernel memory management.
143
144           Unless you know what you are doing, say N here.
145
146 comment "Default settings for advanced configuration options are used"
147         depends on !ADVANCED_OPTIONS
148
149 config XILINX_UNCACHED_SHADOW
150         bool "Are you using uncached shadow for RAM ?"
151         depends on ADVANCED_OPTIONS && !MMU
152         default n
153         help
154           This is needed to be able to allocate uncachable memory regions.
155           The feature requires the design to define the RAM memory controller
156           window to be twice as large as the actual physical memory.
157
158 config HIGHMEM_START_BOOL
159         bool "Set high memory pool address"
160         depends on ADVANCED_OPTIONS && HIGHMEM
161         help
162           This option allows you to set the base address of the kernel virtual
163           area used to map high memory pages.  This can be useful in
164           optimizing the layout of kernel virtual memory.
165
166           Say N here unless you know what you are doing.
167
168 config HIGHMEM_START
169         hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
170         depends on MMU
171         default "0xfe000000"
172
173 config LOWMEM_SIZE_BOOL
174         bool "Set maximum low memory"
175         depends on ADVANCED_OPTIONS && MMU
176         help
177           This option allows you to set the maximum amount of memory which
178           will be used as "low memory", that is, memory which the kernel can
179           access directly, without having to set up a kernel virtual mapping.
180           This can be useful in optimizing the layout of kernel virtual
181           memory.
182
183           Say N here unless you know what you are doing.
184
185 config LOWMEM_SIZE
186         hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
187         default "0x30000000"
188
189 config MANUAL_RESET_VECTOR
190         hex "Microblaze reset vector address setup"
191         default "0x0"
192         help
193           Set this option to have the kernel override the CPU Reset vector.
194           If zero, no change will be made to the MicroBlaze reset vector at
195           address 0x0.
196           If non-zero, a jump instruction to this address, will be written
197           to the reset vector at address 0x0.
198           If you are unsure, set it to default value 0x0.
199
200 config KERNEL_START_BOOL
201         bool "Set custom kernel base address"
202         depends on ADVANCED_OPTIONS
203         help
204           This option allows you to set the kernel virtual address at which
205           the kernel will map low memory (the kernel image will be linked at
206           this address).  This can be useful in optimizing the virtual memory
207           layout of the system.
208
209           Say N here unless you know what you are doing.
210
211 config KERNEL_START
212         hex "Virtual address of kernel base" if KERNEL_START_BOOL
213         default "0xc0000000" if MMU
214         default KERNEL_BASE_ADDR if !MMU
215
216 config TASK_SIZE_BOOL
217         bool "Set custom user task size"
218         depends on ADVANCED_OPTIONS && MMU
219         help
220           This option allows you to set the amount of virtual address space
221           allocated to user tasks.  This can be useful in optimizing the
222           virtual memory layout of the system.
223
224           Say N here unless you know what you are doing.
225
226 config TASK_SIZE
227         hex "Size of user task space" if TASK_SIZE_BOOL
228         default "0x80000000"
229
230 choice
231         prompt "Page size"
232         default MICROBLAZE_4K_PAGES
233         depends on ADVANCED_OPTIONS && !MMU
234         help
235           Select the kernel logical page size. Increasing the page size
236           will reduce software overhead at each page boundary, allow
237           hardware prefetch mechanisms to be more effective, and allow
238           larger dma transfers increasing IO efficiency and reducing
239           overhead. However the utilization of memory will increase.
240           For example, each cached file will using a multiple of the
241           page size to hold its contents and the difference between the
242           end of file and the end of page is wasted.
243
244           If unsure, choose 4K_PAGES.
245
246 config MICROBLAZE_4K_PAGES
247         bool "4k page size"
248
249 config MICROBLAZE_8K_PAGES
250         bool "8k page size"
251
252 config MICROBLAZE_16K_PAGES
253         bool "16k page size"
254
255 config MICROBLAZE_32K_PAGES
256         bool "32k page size"
257
258 endchoice
259
260 endmenu
261
262 source "mm/Kconfig"
263
264 menu "Executable file formats"
265
266 source "fs/Kconfig.binfmt"
267
268 endmenu
269
270 menu "Bus Options"
271
272 config PCI
273         bool "PCI support"
274
275 config PCI_DOMAINS
276         def_bool PCI
277
278 config PCI_SYSCALL
279         def_bool PCI
280
281 config PCI_XILINX
282         bool "Xilinx PCI host bridge support"
283         depends on PCI
284
285 source "drivers/pci/Kconfig"
286
287 endmenu
288
289 source "net/Kconfig"
290
291 source "drivers/Kconfig"
292
293 source "fs/Kconfig"
294
295 source "arch/microblaze/Kconfig.debug"
296
297 source "security/Kconfig"
298
299 source "crypto/Kconfig"
300
301 source "lib/Kconfig"