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