Commit | Line | Data |
---|---|---|
575ca288 MS |
1 | config MICROBLAZE |
2 | def_bool y | |
95f72d1e | 3 | select HAVE_MEMBLOCK |
2fd7c761 | 4 | select HAVE_FUNCTION_TRACER |
6d9e60ce | 5 | select HAVE_FUNCTION_TRACE_MCOUNT_TEST |
a0d3e665 | 6 | select HAVE_FUNCTION_GRAPH_TRACER |
7d241ff0 MS |
7 | select HAVE_DYNAMIC_FTRACE |
8 | select HAVE_FTRACE_MCOUNT_RECORD | |
afc26cb3 | 9 | select USB_ARCH_HAS_EHCI |
6fa612b5 | 10 | select ARCH_WANT_OPTIONAL_GPIOLIB |
3540ce82 | 11 | select HAVE_OPROFILE |
2d5973cb | 12 | select HAVE_ARCH_KGDB |
ccfe27d7 MS |
13 | select HAVE_DMA_ATTRS |
14 | select HAVE_DMA_API_DEBUG | |
3540ce82 | 15 | select TRACING_SUPPORT |
ae5bf63f | 16 | select OF |
e6ce1324 | 17 | select OF_EARLY_FLATTREE |
575ca288 MS |
18 | |
19 | config SWAP | |
20 | def_bool n | |
21 | ||
22 | config RWSEM_GENERIC_SPINLOCK | |
23 | def_bool y | |
24 | ||
25 | config RWSEM_XCHGADD_ALGORITHM | |
26 | bool | |
27 | ||
28 | config ARCH_HAS_ILOG2_U32 | |
29 | def_bool n | |
30 | ||
31 | config ARCH_HAS_ILOG2_U64 | |
32 | def_bool n | |
33 | ||
34 | config GENERIC_FIND_NEXT_BIT | |
35 | def_bool y | |
36 | ||
37 | config GENERIC_HWEIGHT | |
38 | def_bool y | |
39 | ||
40 | config GENERIC_HARDIRQS | |
41 | def_bool y | |
42 | ||
43 | config GENERIC_IRQ_PROBE | |
44 | def_bool y | |
45 | ||
46 | config GENERIC_CALIBRATE_DELAY | |
47 | def_bool y | |
48 | ||
575ca288 MS |
49 | config GENERIC_TIME_VSYSCALL |
50 | def_bool n | |
51 | ||
52 | config GENERIC_CLOCKEVENTS | |
53 | def_bool y | |
54 | ||
6fa612b5 MS |
55 | config GENERIC_GPIO |
56 | def_bool y | |
57 | ||
14f87389 RLB |
58 | config GENERIC_CSUM |
59 | def_bool y | |
60 | ||
24b45a12 MS |
61 | config STACKTRACE_SUPPORT |
62 | def_bool y | |
63 | ||
bf2d8096 MS |
64 | config LOCKDEP_SUPPORT |
65 | def_bool y | |
66 | ||
fb5a32dc MS |
67 | config HAVE_LATENCYTOP_SUPPORT |
68 | def_bool y | |
69 | ||
575ca288 MS |
70 | source "init/Kconfig" |
71 | ||
72 | source "kernel/Kconfig.freezer" | |
73 | ||
74 | source "arch/microblaze/platform/Kconfig.platform" | |
75 | ||
76 | menu "Processor type and features" | |
77 | ||
296e2603 | 78 | source "kernel/time/Kconfig" |
575ca288 MS |
79 | |
80 | source "kernel/Kconfig.preempt" | |
81 | ||
82 | source "kernel/Kconfig.hz" | |
83 | ||
84 | config MMU | |
a116f6d5 MS |
85 | bool "MMU support" |
86 | default n | |
575ca288 MS |
87 | |
88 | config NO_MMU | |
89 | bool | |
90 | depends on !MMU | |
91 | default y | |
92 | ||
93 | comment "Boot options" | |
94 | ||
95 | config CMDLINE_BOOL | |
96 | bool "Default bootloader kernel arguments" | |
97 | ||
98 | config CMDLINE | |
99 | string "Default kernel command string" | |
100 | depends on CMDLINE_BOOL | |
101 | default "console=ttyUL0,115200" | |
102 | help | |
103 | On some architectures there is currently no way for the boot loader | |
104 | to pass arguments to the kernel. For these architectures, you should | |
105 | supply some command-line options at build time by entering them | |
106 | here. | |
107 | ||
108 | config CMDLINE_FORCE | |
109 | bool "Force default kernel command string" | |
110 | depends on CMDLINE_BOOL | |
111 | default n | |
112 | help | |
113 | Set this to have arguments from the default kernel command string | |
114 | override those passed by the boot loader. | |
115 | ||
68c6ac33 MS |
116 | config SECCOMP |
117 | bool "Enable seccomp to safely compute untrusted bytecode" | |
118 | depends on PROC_FS | |
119 | default y | |
120 | help | |
121 | This kernel feature is useful for number crunching applications | |
122 | that may need to compute untrusted bytecode during their | |
123 | execution. By using pipes or other transports made available to | |
124 | the process as file descriptors supporting the read/write | |
125 | syscalls, it's possible to isolate those applications in | |
126 | their own address space using seccomp. Once seccomp is | |
127 | enabled via /proc/<pid>/seccomp, it cannot be disabled | |
128 | and the task is only allowed to execute a few safe syscalls | |
129 | defined by each seccomp mode. | |
130 | ||
131 | If unsure, say Y. Only embedded should say N here. | |
132 | ||
575ca288 MS |
133 | endmenu |
134 | ||
a116f6d5 MS |
135 | menu "Advanced setup" |
136 | ||
137 | config ADVANCED_OPTIONS | |
138 | bool "Prompt for advanced kernel configuration options" | |
a116f6d5 MS |
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 | ||
3a0d7a4d MS |
150 | config XILINX_UNCACHED_SHADOW |
151 | bool "Are you using uncached shadow for RAM ?" | |
152 | depends on ADVANCED_OPTIONS && !MMU | |
153 | default n | |
154 | help | |
155 | This is needed to be able to allocate uncachable memory regions. | |
156 | The feature requires the design to define the RAM memory controller | |
157 | window to be twice as large as the actual physical memory. | |
158 | ||
a116f6d5 MS |
159 | config HIGHMEM_START_BOOL |
160 | bool "Set high memory pool address" | |
161 | depends on ADVANCED_OPTIONS && HIGHMEM | |
162 | help | |
163 | This option allows you to set the base address of the kernel virtual | |
164 | area used to map high memory pages. This can be useful in | |
165 | optimizing the layout of kernel virtual memory. | |
166 | ||
167 | Say N here unless you know what you are doing. | |
168 | ||
169 | config HIGHMEM_START | |
170 | hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL | |
171 | depends on MMU | |
172 | default "0xfe000000" | |
173 | ||
174 | config LOWMEM_SIZE_BOOL | |
175 | bool "Set maximum low memory" | |
b8a84059 | 176 | depends on ADVANCED_OPTIONS && MMU |
a116f6d5 MS |
177 | help |
178 | This option allows you to set the maximum amount of memory which | |
179 | will be used as "low memory", that is, memory which the kernel can | |
180 | access directly, without having to set up a kernel virtual mapping. | |
181 | This can be useful in optimizing the layout of kernel virtual | |
182 | memory. | |
183 | ||
184 | Say N here unless you know what you are doing. | |
185 | ||
186 | config LOWMEM_SIZE | |
187 | hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL | |
a116f6d5 MS |
188 | default "0x30000000" |
189 | ||
190 | config KERNEL_START_BOOL | |
191 | bool "Set custom kernel base address" | |
192 | depends on ADVANCED_OPTIONS | |
193 | help | |
194 | This option allows you to set the kernel virtual address at which | |
195 | the kernel will map low memory (the kernel image will be linked at | |
196 | this address). This can be useful in optimizing the virtual memory | |
197 | layout of the system. | |
198 | ||
199 | Say N here unless you know what you are doing. | |
200 | ||
201 | config KERNEL_START | |
202 | hex "Virtual address of kernel base" if KERNEL_START_BOOL | |
203 | default "0xc0000000" if MMU | |
204 | default KERNEL_BASE_ADDR if !MMU | |
205 | ||
206 | config TASK_SIZE_BOOL | |
207 | bool "Set custom user task size" | |
b8a84059 | 208 | depends on ADVANCED_OPTIONS && MMU |
a116f6d5 MS |
209 | help |
210 | This option allows you to set the amount of virtual address space | |
211 | allocated to user tasks. This can be useful in optimizing the | |
212 | virtual memory layout of the system. | |
213 | ||
214 | Say N here unless you know what you are doing. | |
215 | ||
216 | config TASK_SIZE | |
217 | hex "Size of user task space" if TASK_SIZE_BOOL | |
a116f6d5 MS |
218 | default "0x80000000" |
219 | ||
ba9c4f88 SM |
220 | choice |
221 | prompt "Page size" | |
222 | default MICROBLAZE_4K_PAGES | |
223 | depends on ADVANCED_OPTIONS && !MMU | |
224 | help | |
225 | Select the kernel logical page size. Increasing the page size | |
226 | will reduce software overhead at each page boundary, allow | |
227 | hardware prefetch mechanisms to be more effective, and allow | |
228 | larger dma transfers increasing IO efficiency and reducing | |
229 | overhead. However the utilization of memory will increase. | |
230 | For example, each cached file will using a multiple of the | |
231 | page size to hold its contents and the difference between the | |
232 | end of file and the end of page is wasted. | |
233 | ||
234 | If unsure, choose 4K_PAGES. | |
235 | ||
236 | config MICROBLAZE_4K_PAGES | |
237 | bool "4k page size" | |
238 | ||
239 | config MICROBLAZE_8K_PAGES | |
240 | bool "8k page size" | |
241 | ||
242 | config MICROBLAZE_16K_PAGES | |
243 | bool "16k page size" | |
244 | ||
245 | config MICROBLAZE_32K_PAGES | |
246 | bool "32k page size" | |
247 | ||
248 | endchoice | |
249 | ||
a116f6d5 MS |
250 | endmenu |
251 | ||
575ca288 MS |
252 | source "mm/Kconfig" |
253 | ||
254 | menu "Exectuable file formats" | |
255 | ||
256 | source "fs/Kconfig.binfmt" | |
257 | ||
258 | endmenu | |
259 | ||
a6475c13 MS |
260 | menu "Bus Options" |
261 | ||
262 | config PCI | |
263 | bool "PCI support" | |
264 | ||
265 | config PCI_DOMAINS | |
266 | def_bool PCI | |
267 | ||
268 | config PCI_SYSCALL | |
269 | def_bool PCI | |
270 | ||
733cc218 MS |
271 | config PCI_XILINX |
272 | bool "Xilinx PCI host bridge support" | |
273 | depends on PCI | |
274 | ||
a6475c13 MS |
275 | source "drivers/pci/Kconfig" |
276 | ||
277 | endmenu | |
278 | ||
575ca288 MS |
279 | source "net/Kconfig" |
280 | ||
281 | source "drivers/Kconfig" | |
282 | ||
283 | source "fs/Kconfig" | |
284 | ||
285 | source "arch/microblaze/Kconfig.debug" | |
286 | ||
287 | source "security/Kconfig" | |
288 | ||
289 | source "crypto/Kconfig" | |
290 | ||
291 | source "lib/Kconfig" |