2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
6 mainmenu "Linux Kernel Configuration"
26 config RWSEM_GENERIC_SPINLOCK
29 config RWSEM_XCHGADD_ALGORITHM
32 config GENERIC_HARDIRQS_NO__DO_IRQ
35 config GENERIC_CALIBRATE_DELAY
38 config GENERIC_FIND_NEXT_BIT
41 config GENERIC_HWEIGHT
53 config ARCH_HAS_ILOG2_U32
56 config ARCH_SUPPORTS_AOUT
59 # Use the generic interrupt handling code in kernel/irq/
60 config GENERIC_HARDIRQS
66 mainmenu "Matsushita MN10300/AM33 Kernel Configuration"
71 menu "Matsushita MN10300 system setup"
75 default MN10300_UNIT_ASB2303
77 This option specifies board for which the kernel will be
78 compiled. It affects the external peripherals catered for.
80 config MN10300_UNIT_ASB2303
83 config MN10300_UNIT_ASB2305
89 prompt "Processor support"
90 default MN10300_PROC_MN103E010
92 This option specifies the processor for which the kernel will be
93 compiled. It affects the on-chip peripherals catered for.
95 config MN10300_PROC_MN103E010
97 depends on MN10300_UNIT_ASB2303 || MN10300_UNIT_ASB2305
98 select MN10300_PROC_HAS_TTYSM0
99 select MN10300_PROC_HAS_TTYSM1
100 select MN10300_PROC_HAS_TTYSM2
105 prompt "Processor core support"
106 default MN10300_CPU_AM33V2
108 This option specifies the processor core for which the kernel will be
109 compiled. It affects the instruction set used.
111 config MN10300_CPU_AM33V2
119 depends on MN10300_PROC_MN103E010
122 prompt "CPU Caching mode"
123 default MN10300_CACHE_WBACK
125 This option determines the caching mode for the kernel.
127 Write-Back caching mode involves the all reads and writes causing
128 the affected cacheline to be read into the cache first before being
129 operated upon. Memory is not then updated by a write until the cache
130 is filled and a cacheline needs to be displaced from the cache to
131 make room. Only at that point is it written back.
133 Write-Through caching only fetches cachelines from memory on a
134 read. Writes always get written directly to memory. If the affected
135 cacheline is also in cache, it will be updated too.
137 The final option is to turn of caching entirely.
139 config MN10300_CACHE_WBACK
142 config MN10300_CACHE_WTHRU
145 config MN10300_CACHE_DISABLED
150 menu "Memory layout options"
152 config KERNEL_RAM_BASE_ADDRESS
153 hex "Base address of kernel RAM"
156 config INTERRUPT_VECTOR_BASE
157 hex "Base address of vector table"
160 The base address of the vector table will be programmed into
161 the TBR register. It must be on 16MiB address boundary.
163 config KERNEL_TEXT_ADDRESS
164 hex "Base address of kernel"
167 config KERNEL_ZIMAGE_BASE_ADDRESS
168 hex "Base address of compressed vmlinux image"
174 bool "Preemptible Kernel"
176 This option reduces the latency of the kernel when reacting to
177 real-time or interactive events by allowing a low priority process to
178 be preempted even if it is in kernel mode executing a system call.
179 This allows applications to run more reliably even when the system is
182 Say Y here if you are building a kernel for a desktop, embedded
183 or real-time system. Say N if you are unsure.
186 bool "Preempt The Big Kernel Lock"
190 This option reduces the latency of the kernel by making the
191 big kernel lock preemptible.
193 Say Y here if you are building a kernel for a desktop system.
194 Say N if you are unsure.
196 config MN10300_CURRENT_IN_E2
197 bool "Hold current task address in E2 register"
200 This option removes the E2/R2 register from the set available to gcc
201 for normal use and instead uses it to store the address of the
202 current process's task_struct whilst in the kernel.
204 This means the kernel doesn't need to calculate the address each time
205 "current" is used (take SP, AND with mask and dereference pointer
206 just to get the address), and instead can just use E2+offset
207 addressing each time.
209 This has no effect on userspace.
211 config MN10300_USING_JTAG
212 bool "Using JTAG to debug kernel"
215 This options indicates that JTAG will be used to debug the kernel. It
216 suppresses the use of certain hardware debugging features, such as
217 single-stepping, which are taken over completely by the JTAG unit.
220 bool "Using MN10300 RTC"
221 depends on MN10300_PROC_MN103E010
225 This option enables support for the RTC, thus enabling time to be
226 tracked, even when system is powered down. This is available on-chip
229 config MN10300_WD_TIMER
230 bool "Using MN10300 watchdog timer"
233 This options indicates that the watchdog timer will be used.
237 depends on MN10300_UNIT_ASB2305
240 Some systems (such as the ASB2305) have PCI onboard. If you have one
241 of these boards and you wish to use the PCI facilities, say Y here.
243 The PCI-HOWTO, available from
244 <http://www.tldp.org/docs.html#howto>, contains valuable
245 information about which PCI hardware does work under Linux and which
248 source "drivers/pci/Kconfig"
250 source "drivers/pcmcia/Kconfig"
252 menu "MN10300 internal serial options"
254 config MN10300_PROC_HAS_TTYSM0
258 config MN10300_PROC_HAS_TTYSM1
262 config MN10300_PROC_HAS_TTYSM2
267 bool "Support for ttySM serial ports"
272 This option enables support for the on-chip serial ports that the
273 MN10300 has available.
275 config MN10300_TTYSM_CONSOLE
276 bool "Support for console on ttySM serial ports"
277 depends on MN10300_TTYSM
278 select SERIAL_CORE_CONSOLE
280 This option enables support for a console on the on-chip serial ports
281 that the MN10300 has available.
286 config MN10300_TTYSM0
287 bool "Enable SIF0 (/dev/ttySM0)"
288 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM0
290 Enable access to SIF0 through /dev/ttySM0 or gdb-stub
293 prompt "Select the timer to supply the clock for SIF0"
294 default MN10300_TTYSM0_TIMER8
295 depends on MN10300_TTYSM0
297 config MN10300_TTYSM0_TIMER8
298 bool "Use timer 8 (16-bit)"
300 config MN10300_TTYSM0_TIMER2
301 bool "Use timer 2 (8-bit)"
308 config MN10300_TTYSM1
309 bool "Enable SIF1 (/dev/ttySM1)"
310 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM1
312 Enable access to SIF1 through /dev/ttySM1 or gdb-stub
315 prompt "Select the timer to supply the clock for SIF1"
316 default MN10300_TTYSM0_TIMER9
317 depends on MN10300_TTYSM1
319 config MN10300_TTYSM1_TIMER9
320 bool "Use timer 9 (16-bit)"
322 config MN10300_TTYSM1_TIMER3
323 bool "Use timer 3 (8-bit)"
330 config MN10300_TTYSM2
331 bool "Enable SIF2 (/dev/ttySM2)"
332 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM2
334 Enable access to SIF2 through /dev/ttySM2 or gdb-stub
337 prompt "Select the timer to supply the clock for SIF2"
338 default MN10300_TTYSM0_TIMER10
339 depends on MN10300_TTYSM2
341 config MN10300_TTYSM2_TIMER10
342 bool "Use timer 10 (16-bit)"
346 config MN10300_TTYSM2_CTS
347 bool "Enable the use of the CTS line /dev/ttySM2"
348 depends on MN10300_TTYSM2
354 menu "Power management options"
355 source kernel/power/Kconfig
361 menu "Executable formats"
363 source "fs/Kconfig.binfmt"
369 source "drivers/Kconfig"
373 source "arch/mn10300/Kconfig.debug"
375 source "security/Kconfig"
377 source "crypto/Kconfig"
381 source "arch/mn10300/oprofile/Kconfig"