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