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