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