kbuild: migrate all arch to the kconfig mainmenu upgrade
[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_DMA_ATTRS
13         select HAVE_DMA_API_DEBUG
14         select TRACING_SUPPORT
15
16 config SWAP
17         def_bool n
18
19 config RWSEM_GENERIC_SPINLOCK
20         def_bool y
21
22 config RWSEM_XCHGADD_ALGORITHM
23         bool
24
25 config ARCH_HAS_ILOG2_U32
26         def_bool n
27
28 config ARCH_HAS_ILOG2_U64
29         def_bool n
30
31 config GENERIC_FIND_NEXT_BIT
32         def_bool y
33
34 config GENERIC_HWEIGHT
35         def_bool y
36
37 config GENERIC_HARDIRQS
38         def_bool y
39
40 config GENERIC_IRQ_PROBE
41         def_bool y
42
43 config GENERIC_CALIBRATE_DELAY
44         def_bool y
45
46 config GENERIC_TIME
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 config DTC
74         def_bool y
75
76 source "init/Kconfig"
77
78 source "kernel/Kconfig.freezer"
79
80 source "arch/microblaze/platform/Kconfig.platform"
81
82 menu "Processor type and features"
83
84 source "kernel/time/Kconfig"
85
86 source "kernel/Kconfig.preempt"
87
88 source "kernel/Kconfig.hz"
89
90 config MMU
91         bool "MMU support"
92         default n
93
94 config NO_MMU
95         bool
96         depends on !MMU
97         default y
98
99 comment "Boot options"
100
101 config CMDLINE_BOOL
102         bool "Default bootloader kernel arguments"
103
104 config CMDLINE
105         string "Default kernel command string"
106         depends on CMDLINE_BOOL
107         default "console=ttyUL0,115200"
108         help
109           On some architectures there is currently no way for the boot loader
110           to pass arguments to the kernel. For these architectures, you should
111           supply some command-line options at build time by entering them
112           here.
113
114 config CMDLINE_FORCE
115         bool "Force default kernel command string"
116         depends on CMDLINE_BOOL
117         default n
118         help
119           Set this to have arguments from the default kernel command string
120           override those passed by the boot loader.
121
122 config OF
123         def_bool y
124         select OF_FLATTREE
125
126 config PROC_DEVICETREE
127         bool "Support for device tree in /proc"
128         depends on PROC_FS
129         help
130           This option adds a device-tree directory under /proc which contains
131           an image of the device tree that the kernel copies from Open
132           Firmware or other boot firmware. If unsure, say Y here.
133
134 endmenu
135
136 menu "Advanced setup"
137
138 config ADVANCED_OPTIONS
139         bool "Prompt for advanced kernel configuration options"
140         help
141           This option will enable prompting for a variety of advanced kernel
142           configuration options.  These options can cause the kernel to not
143           work if they are set incorrectly, but can be used to optimize certain
144           aspects of kernel memory management.
145
146           Unless you know what you are doing, say N here.
147
148 comment "Default settings for advanced configuration options are used"
149         depends on !ADVANCED_OPTIONS
150
151 config XILINX_UNCACHED_SHADOW
152         bool "Are you using uncached shadow for RAM ?"
153         depends on ADVANCED_OPTIONS && !MMU
154         default n
155         help
156           This is needed to be able to allocate uncachable memory regions.
157           The feature requires the design to define the RAM memory controller
158           window to be twice as large as the actual physical memory.
159
160 config 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
170 config HIGHMEM_START
171         hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
172         depends on MMU
173         default "0xfe000000"
174
175 config LOWMEM_SIZE_BOOL
176         bool "Set maximum low memory"
177         depends on ADVANCED_OPTIONS && MMU
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
187 config LOWMEM_SIZE
188         hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
189         default "0x30000000"
190
191 config KERNEL_START_BOOL
192         bool "Set custom kernel base address"
193         depends on ADVANCED_OPTIONS
194         help
195           This option allows you to set the kernel virtual address at which
196           the kernel will map low memory (the kernel image will be linked at
197           this address).  This can be useful in optimizing the virtual memory
198           layout of the system.
199
200           Say N here unless you know what you are doing.
201
202 config KERNEL_START
203         hex "Virtual address of kernel base" if KERNEL_START_BOOL
204         default "0xc0000000" if MMU
205         default KERNEL_BASE_ADDR if !MMU
206
207 config TASK_SIZE_BOOL
208         bool "Set custom user task size"
209         depends on ADVANCED_OPTIONS && MMU
210         help
211           This option allows you to set the amount of virtual address space
212           allocated to user tasks.  This can be useful in optimizing the
213           virtual memory layout of the system.
214
215           Say N here unless you know what you are doing.
216
217 config TASK_SIZE
218         hex "Size of user task space" if TASK_SIZE_BOOL
219         default "0x80000000"
220
221 endmenu
222
223 source "mm/Kconfig"
224
225 menu "Exectuable file formats"
226
227 source "fs/Kconfig.binfmt"
228
229 endmenu
230
231 menu "Bus Options"
232
233 config PCI
234         bool "PCI support"
235
236 config PCI_DOMAINS
237         def_bool PCI
238
239 config PCI_SYSCALL
240         def_bool PCI
241
242 config PCI_XILINX
243         bool "Xilinx PCI host bridge support"
244         depends on PCI
245
246 source "drivers/pci/Kconfig"
247
248 endmenu
249
250 source "net/Kconfig"
251
252 source "drivers/Kconfig"
253
254 source "fs/Kconfig"
255
256 source "arch/microblaze/Kconfig.debug"
257
258 source "security/Kconfig"
259
260 source "crypto/Kconfig"
261
262 source "lib/Kconfig"