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