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