4 select HAVE_ARCH_TRACEHOOK
21 config RWSEM_GENERIC_SPINLOCK
24 config RWSEM_XCHGADD_ALGORITHM
27 config GENERIC_HARDIRQS_NO__DO_IRQ
30 config GENERIC_CALIBRATE_DELAY
33 config GENERIC_CMOS_UPDATE
36 config GENERIC_FIND_NEXT_BIT
39 config GENERIC_HWEIGHT
48 config ARCH_HAS_ILOG2_U32
51 # Use the generic interrupt handling code in kernel/irq/
52 config GENERIC_HARDIRQS
64 source "kernel/Kconfig.freezer"
67 menu "Matsushita MN10300 system setup"
71 default MN10300_UNIT_ASB2303
73 This option specifies board for which the kernel will be
74 compiled. It affects the external peripherals catered for.
76 config MN10300_UNIT_ASB2303
79 config MN10300_UNIT_ASB2305
85 prompt "Processor support"
86 default MN10300_PROC_MN103E010
88 This option specifies the processor for which the kernel will be
89 compiled. It affects the on-chip peripherals catered for.
91 config MN10300_PROC_MN103E010
93 depends on MN10300_UNIT_ASB2303 || MN10300_UNIT_ASB2305
94 select MN10300_PROC_HAS_TTYSM0
95 select MN10300_PROC_HAS_TTYSM1
96 select MN10300_PROC_HAS_TTYSM2
101 prompt "Processor core support"
102 default MN10300_CPU_AM33V2
104 This option specifies the processor core for which the kernel will be
105 compiled. It affects the instruction set used.
107 config MN10300_CPU_AM33V2
115 depends on MN10300_PROC_MN103E010
118 prompt "CPU Caching mode"
119 default MN10300_CACHE_WBACK
121 This option determines the caching mode for the kernel.
123 Write-Back caching mode involves the all reads and writes causing
124 the affected cacheline to be read into the cache first before being
125 operated upon. Memory is not then updated by a write until the cache
126 is filled and a cacheline needs to be displaced from the cache to
127 make room. Only at that point is it written back.
129 Write-Through caching only fetches cachelines from memory on a
130 read. Writes always get written directly to memory. If the affected
131 cacheline is also in cache, it will be updated too.
133 The final option is to turn of caching entirely.
135 config MN10300_CACHE_WBACK
138 config MN10300_CACHE_WTHRU
141 config MN10300_CACHE_DISABLED
146 menu "Memory layout options"
148 config KERNEL_RAM_BASE_ADDRESS
149 hex "Base address of kernel RAM"
152 config INTERRUPT_VECTOR_BASE
153 hex "Base address of vector table"
156 The base address of the vector table will be programmed into
157 the TBR register. It must be on 16MiB address boundary.
159 config KERNEL_TEXT_ADDRESS
160 hex "Base address of kernel"
163 config KERNEL_ZIMAGE_BASE_ADDRESS
164 hex "Base address of compressed vmlinux image"
170 bool "Preemptible Kernel"
172 This option reduces the latency of the kernel when reacting to
173 real-time or interactive events by allowing a low priority process to
174 be preempted even if it is in kernel mode executing a system call.
175 This allows applications to run more reliably even when the system is
178 Say Y here if you are building a kernel for a desktop, embedded
179 or real-time system. Say N if you are unsure.
181 config MN10300_CURRENT_IN_E2
182 bool "Hold current task address in E2 register"
185 This option removes the E2/R2 register from the set available to gcc
186 for normal use and instead uses it to store the address of the
187 current process's task_struct whilst in the kernel.
189 This means the kernel doesn't need to calculate the address each time
190 "current" is used (take SP, AND with mask and dereference pointer
191 just to get the address), and instead can just use E2+offset
192 addressing each time.
194 This has no effect on userspace.
196 config MN10300_USING_JTAG
197 bool "Using JTAG to debug kernel"
200 This options indicates that JTAG will be used to debug the kernel. It
201 suppresses the use of certain hardware debugging features, such as
202 single-stepping, which are taken over completely by the JTAG unit.
205 bool "Using MN10300 RTC"
206 depends on MN10300_PROC_MN103E010
210 This option enables support for the RTC, thus enabling time to be
211 tracked, even when system is powered down. This is available on-chip
214 config MN10300_WD_TIMER
215 bool "Using MN10300 watchdog timer"
218 This options indicates that the watchdog timer will be used.
222 depends on MN10300_UNIT_ASB2305
225 Some systems (such as the ASB2305) have PCI onboard. If you have one
226 of these boards and you wish to use the PCI facilities, say Y here.
228 The PCI-HOWTO, available from
229 <http://www.tldp.org/docs.html#howto>, contains valuable
230 information about which PCI hardware does work under Linux and which
233 source "drivers/pci/Kconfig"
235 source "drivers/pcmcia/Kconfig"
237 menu "MN10300 internal serial options"
239 config MN10300_PROC_HAS_TTYSM0
243 config MN10300_PROC_HAS_TTYSM1
247 config MN10300_PROC_HAS_TTYSM2
252 bool "Support for ttySM serial ports"
257 This option enables support for the on-chip serial ports that the
258 MN10300 has available.
260 config MN10300_TTYSM_CONSOLE
261 bool "Support for console on ttySM serial ports"
262 depends on MN10300_TTYSM
263 select SERIAL_CORE_CONSOLE
265 This option enables support for a console on the on-chip serial ports
266 that the MN10300 has available.
271 config MN10300_TTYSM0
272 bool "Enable SIF0 (/dev/ttySM0)"
273 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM0
275 Enable access to SIF0 through /dev/ttySM0 or gdb-stub
278 prompt "Select the timer to supply the clock for SIF0"
279 default MN10300_TTYSM0_TIMER8
280 depends on MN10300_TTYSM0
282 config MN10300_TTYSM0_TIMER8
283 bool "Use timer 8 (16-bit)"
285 config MN10300_TTYSM0_TIMER2
286 bool "Use timer 2 (8-bit)"
293 config MN10300_TTYSM1
294 bool "Enable SIF1 (/dev/ttySM1)"
295 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM1
297 Enable access to SIF1 through /dev/ttySM1 or gdb-stub
300 prompt "Select the timer to supply the clock for SIF1"
301 default MN10300_TTYSM0_TIMER9
302 depends on MN10300_TTYSM1
304 config MN10300_TTYSM1_TIMER9
305 bool "Use timer 9 (16-bit)"
307 config MN10300_TTYSM1_TIMER3
308 bool "Use timer 3 (8-bit)"
315 config MN10300_TTYSM2
316 bool "Enable SIF2 (/dev/ttySM2)"
317 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM2
319 Enable access to SIF2 through /dev/ttySM2 or gdb-stub
322 prompt "Select the timer to supply the clock for SIF2"
323 default MN10300_TTYSM0_TIMER10
324 depends on MN10300_TTYSM2
326 config MN10300_TTYSM2_TIMER10
327 bool "Use timer 10 (16-bit)"
331 config MN10300_TTYSM2_CTS
332 bool "Enable the use of the CTS line /dev/ttySM2"
333 depends on MN10300_TTYSM2
339 menu "Power management options"
340 source kernel/power/Kconfig
346 menu "Executable formats"
348 source "fs/Kconfig.binfmt"
354 source "drivers/Kconfig"
358 source "arch/mn10300/Kconfig.debug"
360 source "security/Kconfig"
362 source "crypto/Kconfig"