]>
Commit | Line | Data |
---|---|---|
5633004c JH |
1 | config METAG |
2 | def_bool y | |
3 | select EMBEDDED | |
4 | select GENERIC_ATOMIC64 | |
5 | select GENERIC_CLOCKEVENTS | |
6 | select GENERIC_IRQ_SHOW | |
5633004c JH |
7 | select GENERIC_SMP_IDLE_THREAD |
8 | select HAVE_64BIT_ALIGNED_ACCESS | |
9 | select HAVE_ARCH_TRACEHOOK | |
00512bdd | 10 | select HAVE_C_RECORDMCOUNT |
5633004c | 11 | select HAVE_DEBUG_KMEMLEAK |
00512bdd JH |
12 | select HAVE_DYNAMIC_FTRACE |
13 | select HAVE_FTRACE_MCOUNT_RECORD | |
14 | select HAVE_FUNCTION_TRACER | |
15 | select HAVE_FUNCTION_TRACE_MCOUNT_TEST | |
5633004c | 16 | select HAVE_GENERIC_HARDIRQS |
5633004c JH |
17 | select HAVE_KERNEL_BZIP2 |
18 | select HAVE_KERNEL_GZIP | |
19 | select HAVE_KERNEL_LZO | |
20 | select HAVE_KERNEL_XZ | |
21 | select HAVE_MEMBLOCK | |
22 | select HAVE_MEMBLOCK_NODE_MAP | |
23 | select HAVE_MOD_ARCH_SPECIFIC | |
903b20ad | 24 | select HAVE_PERF_EVENTS |
5633004c | 25 | select HAVE_SYSCALL_TRACEPOINTS |
b92021b0 | 26 | select HAVE_UNDERSCORE_SYMBOL_PREFIX |
5633004c JH |
27 | select IRQ_DOMAIN |
28 | select MODULES_USE_ELF_RELA | |
29 | select OF | |
30 | select OF_EARLY_FLATTREE | |
31 | select SPARSE_IRQ | |
32 | ||
5633004c JH |
33 | config STACKTRACE_SUPPORT |
34 | def_bool y | |
35 | ||
36 | config LOCKDEP_SUPPORT | |
37 | def_bool y | |
38 | ||
39 | config HAVE_LATENCYTOP_SUPPORT | |
40 | def_bool y | |
41 | ||
42 | config RWSEM_GENERIC_SPINLOCK | |
43 | def_bool y | |
44 | ||
45 | config RWSEM_XCHGADD_ALGORITHM | |
46 | bool | |
47 | ||
48 | config GENERIC_HWEIGHT | |
49 | def_bool y | |
50 | ||
51 | config GENERIC_CALIBRATE_DELAY | |
52 | def_bool y | |
53 | ||
54 | config GENERIC_GPIO | |
55 | def_bool n | |
56 | ||
57 | config NO_IOPORT | |
58 | def_bool y | |
59 | ||
60 | source "init/Kconfig" | |
61 | ||
62 | source "kernel/Kconfig.freezer" | |
63 | ||
64 | menu "Processor type and features" | |
65 | ||
66 | config MMU | |
67 | def_bool y | |
68 | ||
69 | config STACK_GROWSUP | |
70 | def_bool y | |
71 | ||
72 | config HOTPLUG_CPU | |
73 | bool "Enable CPU hotplug support" | |
74 | depends on SMP | |
75 | help | |
76 | Say Y here to allow turning CPUs off and on. CPUs can be | |
77 | controlled through /sys/devices/system/cpu. | |
78 | ||
79 | Say N if you want to disable CPU hotplug. | |
80 | ||
81 | config HIGHMEM | |
82 | bool "High Memory Support" | |
83 | help | |
84 | The address space of Meta processors is only 4 Gigabytes large | |
85 | and it has to accommodate user address space, kernel address | |
86 | space as well as some memory mapped IO. That means that, if you | |
87 | have a large amount of physical memory and/or IO, not all of the | |
88 | memory can be "permanently mapped" by the kernel. The physical | |
89 | memory that is not permanently mapped is called "high memory". | |
90 | ||
91 | Depending on the selected kernel/user memory split, minimum | |
92 | vmalloc space and actual amount of RAM, you may not need this | |
93 | option which should result in a slightly faster kernel. | |
94 | ||
95 | If unsure, say n. | |
96 | ||
97 | source "arch/metag/mm/Kconfig" | |
98 | ||
99 | source "arch/metag/Kconfig.soc" | |
100 | ||
101 | config METAG_META12 | |
102 | bool | |
103 | help | |
104 | Select this from the SoC config symbol to indicate that it contains a | |
105 | Meta 1.2 core. | |
106 | ||
107 | config METAG_META21 | |
108 | bool | |
109 | help | |
110 | Select this from the SoC config symbol to indicate that it contains a | |
111 | Meta 2.1 core. | |
112 | ||
113 | config SMP | |
114 | bool "Symmetric multi-processing support" | |
115 | depends on METAG_META21 && METAG_META21_MMU | |
116 | select USE_GENERIC_SMP_HELPERS | |
117 | help | |
118 | This enables support for systems with more than one thread running | |
119 | Linux. If you have a system with only one thread running Linux, | |
120 | say N. Otherwise, say Y. | |
121 | ||
122 | config NR_CPUS | |
123 | int "Maximum number of CPUs (2-4)" if SMP | |
124 | range 2 4 if SMP | |
125 | default "1" if !SMP | |
126 | default "4" if SMP | |
127 | ||
128 | config METAG_SMP_WRITE_REORDERING | |
129 | bool | |
130 | help | |
131 | This attempts to prevent cache-memory incoherence due to external | |
132 | reordering of writes from different hardware threads when SMP is | |
133 | enabled. It adds fences (system event 0) to smp_mb and smp_rmb in an | |
134 | attempt to catch some of the cases, and also before writes to shared | |
135 | memory in LOCK1 protected atomics and spinlocks. | |
136 | This will not completely prevent cache incoherency on affected cores. | |
137 | ||
138 | config METAG_LNKGET_AROUND_CACHE | |
139 | bool | |
140 | depends on METAG_META21 | |
141 | help | |
142 | This indicates that the LNKGET/LNKSET instructions go around the | |
143 | cache, which requires some extra cache flushes when the memory needs | |
144 | to be accessed by normal GET/SET instructions too. | |
145 | ||
146 | choice | |
147 | prompt "Atomicity primitive" | |
148 | default METAG_ATOMICITY_LNKGET | |
149 | help | |
150 | This option selects the mechanism for performing atomic operations. | |
151 | ||
152 | config METAG_ATOMICITY_IRQSOFF | |
153 | depends on !SMP | |
154 | bool "irqsoff" | |
155 | help | |
156 | This option disables interrupts to achieve atomicity. This mechanism | |
157 | is not SMP-safe. | |
158 | ||
159 | config METAG_ATOMICITY_LNKGET | |
160 | depends on METAG_META21 | |
161 | bool "lnkget/lnkset" | |
162 | help | |
163 | This option uses the LNKGET and LNKSET instructions to achieve | |
164 | atomicity. LNKGET/LNKSET are load-link/store-conditional instructions. | |
165 | Choose this option if your system requires low latency. | |
166 | ||
167 | config METAG_ATOMICITY_LOCK1 | |
168 | depends on SMP | |
169 | bool "lock1" | |
170 | help | |
171 | This option uses the LOCK1 instruction for atomicity. This is mainly | |
172 | provided as a debugging aid if the lnkget/lnkset atomicity primitive | |
173 | isn't working properly. | |
174 | ||
175 | endchoice | |
176 | ||
177 | config METAG_FPU | |
178 | bool "FPU Support" | |
179 | depends on METAG_META21 | |
180 | default y | |
181 | help | |
182 | This option allows processes to use FPU hardware available with this | |
183 | CPU. If this option is not enabled FPU registers will not be saved | |
184 | and restored on context-switch. | |
185 | ||
186 | If you plan on running programs which are compiled to use hard floats | |
187 | say Y here. | |
188 | ||
189 | config METAG_DSP | |
190 | bool "DSP Support" | |
191 | help | |
192 | This option allows processes to use DSP hardware available | |
193 | with this CPU. If this option is not enabled DSP registers | |
194 | will not be saved and restored on context-switch. | |
195 | ||
196 | If you plan on running DSP programs say Y here. | |
197 | ||
198 | config METAG_PERFCOUNTER_IRQS | |
199 | bool "PerfCounters interrupt support" | |
200 | depends on METAG_META21 | |
201 | help | |
202 | This option enables using interrupts to collect information from | |
203 | Performance Counters. This option is supported in new META21 | |
204 | (starting from HTP265). | |
205 | ||
206 | When disabled, Performance Counters information will be collected | |
207 | based on Timer Interrupt. | |
208 | ||
ae85ac71 JH |
209 | config METAG_DA |
210 | bool "DA support" | |
211 | help | |
212 | Say Y if you plan to use a DA debug adapter with Linux. The presence | |
213 | of the DA will be detected automatically at boot, so it is safe to say | |
214 | Y to this option even when booting without a DA. | |
215 | ||
216 | This enables support for services provided by DA JTAG debug adapters, | |
217 | such as: | |
218 | - communication over DA channels (such as the console driver). | |
219 | - use of the DA filesystem. | |
220 | ||
5633004c JH |
221 | menu "Boot options" |
222 | ||
223 | config METAG_BUILTIN_DTB | |
224 | bool "Embed DTB in kernel image" | |
225 | default y | |
226 | help | |
227 | Embeds a device tree binary in the kernel image. | |
228 | ||
229 | config METAG_BUILTIN_DTB_NAME | |
230 | string "Built in DTB" | |
231 | depends on METAG_BUILTIN_DTB | |
232 | help | |
233 | Set the name of the DTB to embed (leave blank to pick one | |
234 | automatically based on kernel configuration). | |
235 | ||
236 | config CMDLINE_BOOL | |
237 | bool "Default bootloader kernel arguments" | |
238 | ||
239 | config CMDLINE | |
240 | string "Kernel command line" | |
241 | depends on CMDLINE_BOOL | |
242 | help | |
243 | On some architectures there is currently no way for the boot loader | |
244 | to pass arguments to the kernel. For these architectures, you should | |
245 | supply some command-line options at build time by entering them | |
246 | here. | |
247 | ||
248 | config CMDLINE_FORCE | |
249 | bool "Force default kernel command string" | |
250 | depends on CMDLINE_BOOL | |
251 | help | |
252 | Set this to have arguments from the default kernel command string | |
253 | override those passed by the boot loader. | |
254 | ||
255 | endmenu | |
256 | ||
257 | source "kernel/Kconfig.preempt" | |
258 | ||
259 | source kernel/Kconfig.hz | |
260 | ||
261 | endmenu | |
262 | ||
263 | menu "Power management options" | |
264 | ||
265 | source kernel/power/Kconfig | |
266 | ||
267 | endmenu | |
268 | ||
269 | menu "Executable file formats" | |
270 | ||
271 | source "fs/Kconfig.binfmt" | |
272 | ||
273 | endmenu | |
274 | ||
275 | source "net/Kconfig" | |
276 | ||
277 | source "drivers/Kconfig" | |
278 | ||
279 | source "fs/Kconfig" | |
280 | ||
281 | source "arch/metag/Kconfig.debug" | |
282 | ||
283 | source "security/Kconfig" | |
284 | ||
285 | source "crypto/Kconfig" | |
286 | ||
287 | source "lib/Kconfig" |