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 # Use the generic interrupt handling code in kernel/irq/
57 config GENERIC_HARDIRQS
67 mainmenu "Matsushita MN10300/AM33 Kernel Configuration"
71 source "kernel/Kconfig.freezer"
74 menu "Matsushita MN10300 system setup"
78 default MN10300_UNIT_ASB2303
80 This option specifies board for which the kernel will be
81 compiled. It affects the external peripherals catered for.
83 config MN10300_UNIT_ASB2303
86 config MN10300_UNIT_ASB2305
92 prompt "Processor support"
93 default MN10300_PROC_MN103E010
95 This option specifies the processor for which the kernel will be
96 compiled. It affects the on-chip peripherals catered for.
98 config MN10300_PROC_MN103E010
100 depends on MN10300_UNIT_ASB2303 || MN10300_UNIT_ASB2305
101 select MN10300_PROC_HAS_TTYSM0
102 select MN10300_PROC_HAS_TTYSM1
103 select MN10300_PROC_HAS_TTYSM2
108 prompt "Processor core support"
109 default MN10300_CPU_AM33V2
111 This option specifies the processor core for which the kernel will be
112 compiled. It affects the instruction set used.
114 config MN10300_CPU_AM33V2
122 depends on MN10300_PROC_MN103E010
125 prompt "CPU Caching mode"
126 default MN10300_CACHE_WBACK
128 This option determines the caching mode for the kernel.
130 Write-Back caching mode involves the all reads and writes causing
131 the affected cacheline to be read into the cache first before being
132 operated upon. Memory is not then updated by a write until the cache
133 is filled and a cacheline needs to be displaced from the cache to
134 make room. Only at that point is it written back.
136 Write-Through caching only fetches cachelines from memory on a
137 read. Writes always get written directly to memory. If the affected
138 cacheline is also in cache, it will be updated too.
140 The final option is to turn of caching entirely.
142 config MN10300_CACHE_WBACK
145 config MN10300_CACHE_WTHRU
148 config MN10300_CACHE_DISABLED
153 menu "Memory layout options"
155 config KERNEL_RAM_BASE_ADDRESS
156 hex "Base address of kernel RAM"
159 config INTERRUPT_VECTOR_BASE
160 hex "Base address of vector table"
163 The base address of the vector table will be programmed into
164 the TBR register. It must be on 16MiB address boundary.
166 config KERNEL_TEXT_ADDRESS
167 hex "Base address of kernel"
170 config KERNEL_ZIMAGE_BASE_ADDRESS
171 hex "Base address of compressed vmlinux image"
177 bool "Preemptible Kernel"
179 This option reduces the latency of the kernel when reacting to
180 real-time or interactive events by allowing a low priority process to
181 be preempted even if it is in kernel mode executing a system call.
182 This allows applications to run more reliably even when the system is
185 Say Y here if you are building a kernel for a desktop, embedded
186 or real-time system. Say N if you are unsure.
188 config MN10300_CURRENT_IN_E2
189 bool "Hold current task address in E2 register"
192 This option removes the E2/R2 register from the set available to gcc
193 for normal use and instead uses it to store the address of the
194 current process's task_struct whilst in the kernel.
196 This means the kernel doesn't need to calculate the address each time
197 "current" is used (take SP, AND with mask and dereference pointer
198 just to get the address), and instead can just use E2+offset
199 addressing each time.
201 This has no effect on userspace.
203 config MN10300_USING_JTAG
204 bool "Using JTAG to debug kernel"
207 This options indicates that JTAG will be used to debug the kernel. It
208 suppresses the use of certain hardware debugging features, such as
209 single-stepping, which are taken over completely by the JTAG unit.
212 bool "Using MN10300 RTC"
213 depends on MN10300_PROC_MN103E010
217 This option enables support for the RTC, thus enabling time to be
218 tracked, even when system is powered down. This is available on-chip
221 config MN10300_WD_TIMER
222 bool "Using MN10300 watchdog timer"
225 This options indicates that the watchdog timer will be used.
229 depends on MN10300_UNIT_ASB2305
232 Some systems (such as the ASB2305) have PCI onboard. If you have one
233 of these boards and you wish to use the PCI facilities, say Y here.
235 The PCI-HOWTO, available from
236 <http://www.tldp.org/docs.html#howto>, contains valuable
237 information about which PCI hardware does work under Linux and which
240 source "drivers/pci/Kconfig"
242 source "drivers/pcmcia/Kconfig"
244 menu "MN10300 internal serial options"
246 config MN10300_PROC_HAS_TTYSM0
250 config MN10300_PROC_HAS_TTYSM1
254 config MN10300_PROC_HAS_TTYSM2
259 bool "Support for ttySM serial ports"
264 This option enables support for the on-chip serial ports that the
265 MN10300 has available.
267 config MN10300_TTYSM_CONSOLE
268 bool "Support for console on ttySM serial ports"
269 depends on MN10300_TTYSM
270 select SERIAL_CORE_CONSOLE
272 This option enables support for a console on the on-chip serial ports
273 that the MN10300 has available.
278 config MN10300_TTYSM0
279 bool "Enable SIF0 (/dev/ttySM0)"
280 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM0
282 Enable access to SIF0 through /dev/ttySM0 or gdb-stub
285 prompt "Select the timer to supply the clock for SIF0"
286 default MN10300_TTYSM0_TIMER8
287 depends on MN10300_TTYSM0
289 config MN10300_TTYSM0_TIMER8
290 bool "Use timer 8 (16-bit)"
292 config MN10300_TTYSM0_TIMER2
293 bool "Use timer 2 (8-bit)"
300 config MN10300_TTYSM1
301 bool "Enable SIF1 (/dev/ttySM1)"
302 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM1
304 Enable access to SIF1 through /dev/ttySM1 or gdb-stub
307 prompt "Select the timer to supply the clock for SIF1"
308 default MN10300_TTYSM0_TIMER9
309 depends on MN10300_TTYSM1
311 config MN10300_TTYSM1_TIMER9
312 bool "Use timer 9 (16-bit)"
314 config MN10300_TTYSM1_TIMER3
315 bool "Use timer 3 (8-bit)"
322 config MN10300_TTYSM2
323 bool "Enable SIF2 (/dev/ttySM2)"
324 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM2
326 Enable access to SIF2 through /dev/ttySM2 or gdb-stub
329 prompt "Select the timer to supply the clock for SIF2"
330 default MN10300_TTYSM0_TIMER10
331 depends on MN10300_TTYSM2
333 config MN10300_TTYSM2_TIMER10
334 bool "Use timer 10 (16-bit)"
338 config MN10300_TTYSM2_CTS
339 bool "Enable the use of the CTS line /dev/ttySM2"
340 depends on MN10300_TTYSM2
346 menu "Power management options"
347 source kernel/power/Kconfig
353 menu "Executable formats"
355 source "fs/Kconfig.binfmt"
361 source "drivers/Kconfig"
365 source "arch/mn10300/Kconfig.debug"
367 source "security/Kconfig"
369 source "crypto/Kconfig"
373 source "arch/mn10300/oprofile/Kconfig"