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