Commit | Line | Data |
---|---|---|
575ca288 MS |
1 | config MICROBLAZE |
2 | def_bool y | |
957e3fac | 3 | select ARCH_HAS_GCOV_PROFILE_ALL |
355f65a3 | 4 | select ARCH_MIGHT_HAVE_PC_PARPORT |
07c75d7a | 5 | select ARCH_NO_COHERENT_DMA_MMAP if !MMU |
c1d7e01d | 6 | select ARCH_WANT_IPC_PARSE_VERSION |
25213388 | 7 | select BUILDTIME_EXTABLE_SORT |
bb0eb050 | 8 | select TIMER_OF |
25213388 MS |
9 | select CLONE_BACKWARDS3 |
10 | select COMMON_CLK | |
11 | select GENERIC_ATOMIC64 | |
12 | select GENERIC_CLOCKEVENTS | |
13 | select GENERIC_CPU_DEVICES | |
14 | select GENERIC_IDLE_POLL_SETUP | |
b6e31629 | 15 | select GENERIC_IRQ_PROBE |
9d61c18b | 16 | select GENERIC_IRQ_SHOW |
1b34d160 | 17 | select GENERIC_PCI_IOMAP |
839396ab | 18 | select GENERIC_SCHED_CLOCK |
7b13277b | 19 | select HAVE_ARCH_HASH |
25213388 MS |
20 | select HAVE_ARCH_KGDB |
21 | select HAVE_DEBUG_KMEMLEAK | |
25213388 MS |
22 | select HAVE_DYNAMIC_FTRACE |
23 | select HAVE_FTRACE_MCOUNT_RECORD | |
24 | select HAVE_FUNCTION_GRAPH_TRACER | |
25213388 | 25 | select HAVE_FUNCTION_TRACER |
101646a2 | 26 | select NO_BOOTMEM |
25213388 MS |
27 | select HAVE_MEMBLOCK |
28 | select HAVE_MEMBLOCK_NODE_MAP | |
29 | select HAVE_OPROFILE | |
30 | select IRQ_DOMAIN | |
0547dc78 | 31 | select XILINX_INTC |
786d35d4 | 32 | select MODULES_USE_ELF_RELA |
25213388 MS |
33 | select OF |
34 | select OF_EARLY_FLATTREE | |
35 | select TRACING_SUPPORT | |
36 | select VIRT_TO_BUS | |
fff7fb0b | 37 | select CPU_NO_EFFICIENT_FFS |
575ca288 | 38 | |
206d3642 BM |
39 | # Endianness selection |
40 | choice | |
41 | prompt "Endianness selection" | |
428dbf15 | 42 | default CPU_LITTLE_ENDIAN |
206d3642 BM |
43 | help |
44 | microblaze architectures can be configured for either little or | |
45 | big endian formats. Be sure to select the appropriate mode. | |
46 | ||
47 | config CPU_BIG_ENDIAN | |
48 | bool "Big endian" | |
49 | ||
50 | config CPU_LITTLE_ENDIAN | |
51 | bool "Little endian" | |
52 | ||
53 | endchoice | |
54 | ||
575ca288 MS |
55 | config SWAP |
56 | def_bool n | |
57 | ||
58 | config RWSEM_GENERIC_SPINLOCK | |
59 | def_bool y | |
60 | ||
4e2e4124 MS |
61 | config ZONE_DMA |
62 | def_bool y | |
63 | ||
575ca288 MS |
64 | config RWSEM_XCHGADD_ALGORITHM |
65 | bool | |
66 | ||
67 | config ARCH_HAS_ILOG2_U32 | |
68 | def_bool n | |
69 | ||
70 | config ARCH_HAS_ILOG2_U64 | |
71 | def_bool n | |
72 | ||
575ca288 MS |
73 | config GENERIC_HWEIGHT |
74 | def_bool y | |
75 | ||
575ca288 MS |
76 | config GENERIC_CALIBRATE_DELAY |
77 | def_bool y | |
78 | ||
14f87389 RLB |
79 | config GENERIC_CSUM |
80 | def_bool y | |
81 | ||
24b45a12 MS |
82 | config STACKTRACE_SUPPORT |
83 | def_bool y | |
84 | ||
bf2d8096 MS |
85 | config LOCKDEP_SUPPORT |
86 | def_bool y | |
87 | ||
575ca288 MS |
88 | source "init/Kconfig" |
89 | ||
90 | source "kernel/Kconfig.freezer" | |
91 | ||
c24cf712 | 92 | source "arch/microblaze/Kconfig.platform" |
575ca288 MS |
93 | |
94 | menu "Processor type and features" | |
95 | ||
575ca288 MS |
96 | source "kernel/Kconfig.preempt" |
97 | ||
98 | source "kernel/Kconfig.hz" | |
99 | ||
100 | config MMU | |
a116f6d5 MS |
101 | bool "MMU support" |
102 | default n | |
575ca288 | 103 | |
575ca288 MS |
104 | comment "Boot options" |
105 | ||
106 | config CMDLINE_BOOL | |
107 | bool "Default bootloader kernel arguments" | |
108 | ||
109 | config CMDLINE | |
110 | string "Default kernel command string" | |
111 | depends on CMDLINE_BOOL | |
112 | default "console=ttyUL0,115200" | |
113 | help | |
114 | On some architectures there is currently no way for the boot loader | |
115 | to pass arguments to the kernel. For these architectures, you should | |
116 | supply some command-line options at build time by entering them | |
117 | here. | |
118 | ||
119 | config CMDLINE_FORCE | |
120 | bool "Force default kernel command string" | |
121 | depends on CMDLINE_BOOL | |
122 | default n | |
123 | help | |
124 | Set this to have arguments from the default kernel command string | |
125 | override those passed by the boot loader. | |
126 | ||
68c6ac33 MS |
127 | config SECCOMP |
128 | bool "Enable seccomp to safely compute untrusted bytecode" | |
129 | depends on PROC_FS | |
130 | default y | |
131 | help | |
132 | This kernel feature is useful for number crunching applications | |
133 | that may need to compute untrusted bytecode during their | |
134 | execution. By using pipes or other transports made available to | |
135 | the process as file descriptors supporting the read/write | |
136 | syscalls, it's possible to isolate those applications in | |
137 | their own address space using seccomp. Once seccomp is | |
138 | enabled via /proc/<pid>/seccomp, it cannot be disabled | |
139 | and the task is only allowed to execute a few safe syscalls | |
140 | defined by each seccomp mode. | |
141 | ||
142 | If unsure, say Y. Only embedded should say N here. | |
143 | ||
575ca288 MS |
144 | endmenu |
145 | ||
b408e2c2 | 146 | menu "Kernel features" |
a116f6d5 | 147 | |
4cbbbb43 MS |
148 | config NR_CPUS |
149 | int | |
150 | default "1" | |
151 | ||
a116f6d5 MS |
152 | config ADVANCED_OPTIONS |
153 | bool "Prompt for advanced kernel configuration options" | |
a116f6d5 MS |
154 | help |
155 | This option will enable prompting for a variety of advanced kernel | |
156 | configuration options. These options can cause the kernel to not | |
157 | work if they are set incorrectly, but can be used to optimize certain | |
158 | aspects of kernel memory management. | |
159 | ||
160 | Unless you know what you are doing, say N here. | |
161 | ||
162 | comment "Default settings for advanced configuration options are used" | |
163 | depends on !ADVANCED_OPTIONS | |
164 | ||
3a0d7a4d MS |
165 | config XILINX_UNCACHED_SHADOW |
166 | bool "Are you using uncached shadow for RAM ?" | |
167 | depends on ADVANCED_OPTIONS && !MMU | |
168 | default n | |
169 | help | |
170 | This is needed to be able to allocate uncachable memory regions. | |
171 | The feature requires the design to define the RAM memory controller | |
172 | window to be twice as large as the actual physical memory. | |
173 | ||
2f2f371f MS |
174 | config HIGHMEM |
175 | bool "High memory support" | |
a116f6d5 | 176 | depends on MMU |
a116f6d5 | 177 | help |
2f2f371f MS |
178 | The address space of Microblaze processors is only 4 Gigabytes large |
179 | and it has to accommodate user address space, kernel address | |
180 | space as well as some memory mapped IO. That means that, if you | |
181 | have a large amount of physical memory and/or IO, not all of the | |
182 | memory can be "permanently mapped" by the kernel. The physical | |
183 | memory that is not permanently mapped is called "high memory". | |
a116f6d5 | 184 | |
2f2f371f | 185 | If unsure, say n. |
a116f6d5 MS |
186 | |
187 | config LOWMEM_SIZE_BOOL | |
188 | bool "Set maximum low memory" | |
b8a84059 | 189 | depends on ADVANCED_OPTIONS && MMU |
a116f6d5 MS |
190 | help |
191 | This option allows you to set the maximum amount of memory which | |
192 | will be used as "low memory", that is, memory which the kernel can | |
193 | access directly, without having to set up a kernel virtual mapping. | |
194 | This can be useful in optimizing the layout of kernel virtual | |
195 | memory. | |
196 | ||
197 | Say N here unless you know what you are doing. | |
198 | ||
199 | config LOWMEM_SIZE | |
200 | hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL | |
a116f6d5 MS |
201 | default "0x30000000" |
202 | ||
0b9b0200 MS |
203 | config MANUAL_RESET_VECTOR |
204 | hex "Microblaze reset vector address setup" | |
205 | default "0x0" | |
206 | help | |
207 | Set this option to have the kernel override the CPU Reset vector. | |
208 | If zero, no change will be made to the MicroBlaze reset vector at | |
209 | address 0x0. | |
210 | If non-zero, a jump instruction to this address, will be written | |
211 | to the reset vector at address 0x0. | |
212 | If you are unsure, set it to default value 0x0. | |
213 | ||
a116f6d5 MS |
214 | config KERNEL_START_BOOL |
215 | bool "Set custom kernel base address" | |
216 | depends on ADVANCED_OPTIONS | |
217 | help | |
218 | This option allows you to set the kernel virtual address at which | |
219 | the kernel will map low memory (the kernel image will be linked at | |
220 | this address). This can be useful in optimizing the virtual memory | |
221 | layout of the system. | |
222 | ||
223 | Say N here unless you know what you are doing. | |
224 | ||
225 | config KERNEL_START | |
226 | hex "Virtual address of kernel base" if KERNEL_START_BOOL | |
227 | default "0xc0000000" if MMU | |
228 | default KERNEL_BASE_ADDR if !MMU | |
229 | ||
230 | config TASK_SIZE_BOOL | |
231 | bool "Set custom user task size" | |
b8a84059 | 232 | depends on ADVANCED_OPTIONS && MMU |
a116f6d5 MS |
233 | help |
234 | This option allows you to set the amount of virtual address space | |
235 | allocated to user tasks. This can be useful in optimizing the | |
236 | virtual memory layout of the system. | |
237 | ||
238 | Say N here unless you know what you are doing. | |
239 | ||
240 | config TASK_SIZE | |
241 | hex "Size of user task space" if TASK_SIZE_BOOL | |
a116f6d5 MS |
242 | default "0x80000000" |
243 | ||
ba9c4f88 SM |
244 | choice |
245 | prompt "Page size" | |
246 | default MICROBLAZE_4K_PAGES | |
247 | depends on ADVANCED_OPTIONS && !MMU | |
248 | help | |
249 | Select the kernel logical page size. Increasing the page size | |
250 | will reduce software overhead at each page boundary, allow | |
251 | hardware prefetch mechanisms to be more effective, and allow | |
252 | larger dma transfers increasing IO efficiency and reducing | |
253 | overhead. However the utilization of memory will increase. | |
254 | For example, each cached file will using a multiple of the | |
255 | page size to hold its contents and the difference between the | |
256 | end of file and the end of page is wasted. | |
257 | ||
258 | If unsure, choose 4K_PAGES. | |
259 | ||
260 | config MICROBLAZE_4K_PAGES | |
261 | bool "4k page size" | |
262 | ||
ba9c4f88 SM |
263 | config MICROBLAZE_16K_PAGES |
264 | bool "16k page size" | |
265 | ||
6e80cff5 MS |
266 | config MICROBLAZE_64K_PAGES |
267 | bool "64k page size" | |
ba9c4f88 SM |
268 | |
269 | endchoice | |
270 | ||
575ca288 MS |
271 | source "mm/Kconfig" |
272 | ||
7acdc1cf MS |
273 | endmenu |
274 | ||
910672de | 275 | menu "Executable file formats" |
575ca288 MS |
276 | |
277 | source "fs/Kconfig.binfmt" | |
278 | ||
279 | endmenu | |
280 | ||
a6475c13 MS |
281 | menu "Bus Options" |
282 | ||
283 | config PCI | |
284 | bool "PCI support" | |
285 | ||
286 | config PCI_DOMAINS | |
287 | def_bool PCI | |
288 | ||
01cf9d52 BKG |
289 | config PCI_DOMAINS_GENERIC |
290 | def_bool PCI_DOMAINS | |
291 | ||
a6475c13 MS |
292 | config PCI_SYSCALL |
293 | def_bool PCI | |
294 | ||
733cc218 MS |
295 | config PCI_XILINX |
296 | bool "Xilinx PCI host bridge support" | |
297 | depends on PCI | |
298 | ||
a6475c13 MS |
299 | source "drivers/pci/Kconfig" |
300 | ||
301 | endmenu | |
302 | ||
575ca288 MS |
303 | source "net/Kconfig" |
304 | ||
305 | source "drivers/Kconfig" | |
306 | ||
307 | source "fs/Kconfig" | |
308 | ||
309 | source "arch/microblaze/Kconfig.debug" | |
310 | ||
311 | source "security/Kconfig" | |
312 | ||
313 | source "crypto/Kconfig" | |
314 | ||
315 | source "lib/Kconfig" |