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