2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
6 mainmenu "Linux Kernel Configuration"
11 select HAVE_ARCH_TRACEHOOK
28 config RWSEM_GENERIC_SPINLOCK
31 config RWSEM_XCHGADD_ALGORITHM
34 config GENERIC_HARDIRQS_NO__DO_IRQ
37 config GENERIC_CALIBRATE_DELAY
40 config GENERIC_CMOS_UPDATE
43 config GENERIC_FIND_NEXT_BIT
46 config GENERIC_HWEIGHT
58 config ARCH_HAS_ILOG2_U32
61 # Use the generic interrupt handling code in kernel/irq/
62 config GENERIC_HARDIRQS
72 mainmenu "Matsushita MN10300/AM33 Kernel Configuration"
76 source "kernel/Kconfig.freezer"
79 menu "Matsushita MN10300 system setup"
83 default MN10300_UNIT_ASB2303
85 This option specifies board for which the kernel will be
86 compiled. It affects the external peripherals catered for.
88 config MN10300_UNIT_ASB2303
91 config MN10300_UNIT_ASB2305
97 prompt "Processor support"
98 default MN10300_PROC_MN103E010
100 This option specifies the processor for which the kernel will be
101 compiled. It affects the on-chip peripherals catered for.
103 config MN10300_PROC_MN103E010
105 depends on MN10300_UNIT_ASB2303 || MN10300_UNIT_ASB2305
106 select MN10300_PROC_HAS_TTYSM0
107 select MN10300_PROC_HAS_TTYSM1
108 select MN10300_PROC_HAS_TTYSM2
113 prompt "Processor core support"
114 default MN10300_CPU_AM33V2
116 This option specifies the processor core for which the kernel will be
117 compiled. It affects the instruction set used.
119 config MN10300_CPU_AM33V2
127 depends on MN10300_PROC_MN103E010
130 prompt "CPU Caching mode"
131 default MN10300_CACHE_WBACK
133 This option determines the caching mode for the kernel.
135 Write-Back caching mode involves the all reads and writes causing
136 the affected cacheline to be read into the cache first before being
137 operated upon. Memory is not then updated by a write until the cache
138 is filled and a cacheline needs to be displaced from the cache to
139 make room. Only at that point is it written back.
141 Write-Through caching only fetches cachelines from memory on a
142 read. Writes always get written directly to memory. If the affected
143 cacheline is also in cache, it will be updated too.
145 The final option is to turn of caching entirely.
147 config MN10300_CACHE_WBACK
150 config MN10300_CACHE_WTHRU
153 config MN10300_CACHE_DISABLED
158 menu "Memory layout options"
160 config KERNEL_RAM_BASE_ADDRESS
161 hex "Base address of kernel RAM"
164 config INTERRUPT_VECTOR_BASE
165 hex "Base address of vector table"
168 The base address of the vector table will be programmed into
169 the TBR register. It must be on 16MiB address boundary.
171 config KERNEL_TEXT_ADDRESS
172 hex "Base address of kernel"
175 config KERNEL_ZIMAGE_BASE_ADDRESS
176 hex "Base address of compressed vmlinux image"
182 bool "Preemptible Kernel"
184 This option reduces the latency of the kernel when reacting to
185 real-time or interactive events by allowing a low priority process to
186 be preempted even if it is in kernel mode executing a system call.
187 This allows applications to run more reliably even when the system is
190 Say Y here if you are building a kernel for a desktop, embedded
191 or real-time system. Say N if you are unsure.
193 config MN10300_CURRENT_IN_E2
194 bool "Hold current task address in E2 register"
197 This option removes the E2/R2 register from the set available to gcc
198 for normal use and instead uses it to store the address of the
199 current process's task_struct whilst in the kernel.
201 This means the kernel doesn't need to calculate the address each time
202 "current" is used (take SP, AND with mask and dereference pointer
203 just to get the address), and instead can just use E2+offset
204 addressing each time.
206 This has no effect on userspace.
208 config MN10300_USING_JTAG
209 bool "Using JTAG to debug kernel"
212 This options indicates that JTAG will be used to debug the kernel. It
213 suppresses the use of certain hardware debugging features, such as
214 single-stepping, which are taken over completely by the JTAG unit.
217 bool "Using MN10300 RTC"
218 depends on MN10300_PROC_MN103E010
222 This option enables support for the RTC, thus enabling time to be
223 tracked, even when system is powered down. This is available on-chip
226 config MN10300_WD_TIMER
227 bool "Using MN10300 watchdog timer"
230 This options indicates that the watchdog timer will be used.
234 depends on MN10300_UNIT_ASB2305
237 Some systems (such as the ASB2305) have PCI onboard. If you have one
238 of these boards and you wish to use the PCI facilities, say Y here.
240 The PCI-HOWTO, available from
241 <http://www.tldp.org/docs.html#howto>, contains valuable
242 information about which PCI hardware does work under Linux and which
245 source "drivers/pci/Kconfig"
247 source "drivers/pcmcia/Kconfig"
249 menu "MN10300 internal serial options"
251 config MN10300_PROC_HAS_TTYSM0
255 config MN10300_PROC_HAS_TTYSM1
259 config MN10300_PROC_HAS_TTYSM2
264 bool "Support for ttySM serial ports"
269 This option enables support for the on-chip serial ports that the
270 MN10300 has available.
272 config MN10300_TTYSM_CONSOLE
273 bool "Support for console on ttySM serial ports"
274 depends on MN10300_TTYSM
275 select SERIAL_CORE_CONSOLE
277 This option enables support for a console on the on-chip serial ports
278 that the MN10300 has available.
283 config MN10300_TTYSM0
284 bool "Enable SIF0 (/dev/ttySM0)"
285 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM0
287 Enable access to SIF0 through /dev/ttySM0 or gdb-stub
290 prompt "Select the timer to supply the clock for SIF0"
291 default MN10300_TTYSM0_TIMER8
292 depends on MN10300_TTYSM0
294 config MN10300_TTYSM0_TIMER8
295 bool "Use timer 8 (16-bit)"
297 config MN10300_TTYSM0_TIMER2
298 bool "Use timer 2 (8-bit)"
305 config MN10300_TTYSM1
306 bool "Enable SIF1 (/dev/ttySM1)"
307 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM1
309 Enable access to SIF1 through /dev/ttySM1 or gdb-stub
312 prompt "Select the timer to supply the clock for SIF1"
313 default MN10300_TTYSM0_TIMER9
314 depends on MN10300_TTYSM1
316 config MN10300_TTYSM1_TIMER9
317 bool "Use timer 9 (16-bit)"
319 config MN10300_TTYSM1_TIMER3
320 bool "Use timer 3 (8-bit)"
327 config MN10300_TTYSM2
328 bool "Enable SIF2 (/dev/ttySM2)"
329 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM2
331 Enable access to SIF2 through /dev/ttySM2 or gdb-stub
334 prompt "Select the timer to supply the clock for SIF2"
335 default MN10300_TTYSM0_TIMER10
336 depends on MN10300_TTYSM2
338 config MN10300_TTYSM2_TIMER10
339 bool "Use timer 10 (16-bit)"
343 config MN10300_TTYSM2_CTS
344 bool "Enable the use of the CTS line /dev/ttySM2"
345 depends on MN10300_TTYSM2
351 menu "Power management options"
352 source kernel/power/Kconfig
358 menu "Executable formats"
360 source "fs/Kconfig.binfmt"
366 source "drivers/Kconfig"
370 source "arch/mn10300/Kconfig.debug"
372 source "security/Kconfig"
374 source "crypto/Kconfig"