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