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