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