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