4 select GENERIC_HARDIRQS
14 select MN10300_HAS_ATOMIC_OPS_UNIT
15 select MN10300_HAS_CACHE_SNOOP
17 config ERRATUM_NEED_TO_RELOAD_MMUCTR
18 def_bool y if AM33_3 || AM34_2
32 config RWSEM_GENERIC_SPINLOCK
35 config RWSEM_XCHGADD_ALGORITHM
38 config GENERIC_CALIBRATE_DELAY
41 config GENERIC_CMOS_UPDATE
44 config GENERIC_FIND_NEXT_BIT
47 config GENERIC_HWEIGHT
53 config GENERIC_CLOCKEVENTS
56 config GENERIC_CLOCKEVENTS_BUILD
58 depends on GENERIC_CLOCKEVENTS
60 config GENERIC_CLOCKEVENTS_BROADCAST
65 depends on GENERIC_CLOCKEVENTS
69 depends on GENERIC_TIME
77 config ARCH_HAS_ILOG2_U32
85 source "kernel/Kconfig.freezer"
88 menu "Panasonic MN10300 system setup"
92 default MN10300_UNIT_ASB2303
94 This option specifies board for which the kernel will be
95 compiled. It affects the external peripherals catered for.
97 config MN10300_UNIT_ASB2303
100 config MN10300_UNIT_ASB2305
103 config MN10300_UNIT_ASB2364
105 select SMSC911X_ARCH_HOOKS if SMSC911X
110 prompt "Processor support"
111 default MN10300_PROC_MN103E010
113 This option specifies the processor for which the kernel will be
114 compiled. It affects the on-chip peripherals catered for.
116 config MN10300_PROC_MN103E010
118 depends on MN10300_UNIT_ASB2303 || MN10300_UNIT_ASB2305
120 select MN10300_PROC_HAS_TTYSM0
121 select MN10300_PROC_HAS_TTYSM1
122 select MN10300_PROC_HAS_TTYSM2
124 config MN10300_PROC_MN2WS0050
126 depends on MN10300_UNIT_ASB2364
128 select MN10300_PROC_HAS_TTYSM0
129 select MN10300_PROC_HAS_TTYSM1
130 select MN10300_PROC_HAS_TTYSM2
134 config MN10300_HAS_ATOMIC_OPS_UNIT
137 This should be enabled if the processor has an atomic ops unit
138 capable of doing LL/SC equivalent operations.
143 depends on MN10300_PROC_MN103E010 || MN10300_PROC_MN2WS0050
146 bool "Save FPU state lazily"
148 depends on FPU && !SMP
150 Enable this to be lazy in the saving of the FPU state to the owning
151 task's thread struct. This is useful if most tasks on the system
152 don't use the FPU as only those tasks that use it will pass it
153 between them, and the state needn't be saved for a task that isn't
156 This can't be so easily used on SMP as the process that owns the FPU
157 state on a CPU may be currently running on another CPU, so for the
158 moment, it is disabled.
160 source "arch/mn10300/mm/Kconfig.cache"
162 config MN10300_TLB_USE_PIDR
165 menu "Memory layout options"
167 config KERNEL_RAM_BASE_ADDRESS
168 hex "Base address of kernel RAM"
171 config INTERRUPT_VECTOR_BASE
172 hex "Base address of vector table"
175 The base address of the vector table will be programmed into
176 the TBR register. It must be on 16MiB address boundary.
178 config KERNEL_TEXT_ADDRESS
179 hex "Base address of kernel"
182 config KERNEL_ZIMAGE_BASE_ADDRESS
183 hex "Base address of compressed vmlinux image"
186 config BOOT_STACK_OFFSET
188 default "0xF00" if SMP
189 default "0xFF0" if !SMP
191 config BOOT_STACK_SIZE
198 bool "Symmetric multi-processing support"
200 select USE_GENERIC_SMP_HELPERS
201 depends on MN10300_PROC_MN2WS0038 || MN10300_PROC_MN2WS0050
203 This enables support for systems with more than one CPU. If you have
204 a system with only one CPU, like most personal computers, say N. If
205 you have a system with more than one CPU, say Y.
207 If you say N here, the kernel will run on single and multiprocessor
208 machines, but will use only one CPU of a multiprocessor machine. If
209 you say Y here, the kernel will run on many, but not all,
210 singleprocessor machines. On a singleprocessor machine, the kernel
211 will run faster if you say N here.
213 See also <file:Documentation/i386/IO-APIC.txt>,
214 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at
215 <http://www.tldp.org/docs.html#howto>.
217 If you don't know what to do here, say N.
224 source "kernel/Kconfig.preempt"
226 config MN10300_CURRENT_IN_E2
227 bool "Hold current task address in E2 register"
231 This option removes the E2/R2 register from the set available to gcc
232 for normal use and instead uses it to store the address of the
233 current process's task_struct whilst in the kernel.
235 This means the kernel doesn't need to calculate the address each time
236 "current" is used (take SP, AND with mask and dereference pointer
237 just to get the address), and instead can just use E2+offset
238 addressing each time.
240 This has no effect on userspace.
242 config MN10300_USING_JTAG
243 bool "Using JTAG to debug kernel"
246 This options indicates that JTAG will be used to debug the kernel. It
247 suppresses the use of certain hardware debugging features, such as
248 single-stepping, which are taken over completely by the JTAG unit.
250 source "kernel/Kconfig.hz"
251 source "kernel/time/Kconfig"
254 bool "Using MN10300 RTC"
255 depends on MN10300_PROC_MN103E010 || MN10300_PROC_MN2WS0050
256 select GENERIC_CMOS_UPDATE
259 This option enables support for the RTC, thus enabling time to be
260 tracked, even when system is powered down. This is available on-chip
263 config MN10300_WD_TIMER
264 bool "Using MN10300 watchdog timer"
267 This options indicates that the watchdog timer will be used.
271 depends on MN10300_UNIT_ASB2305
274 Some systems (such as the ASB2305) have PCI onboard. If you have one
275 of these boards and you wish to use the PCI facilities, say Y here.
277 The PCI-HOWTO, available from
278 <http://www.tldp.org/docs.html#howto>, contains valuable
279 information about which PCI hardware does work under Linux and which
282 source "drivers/pci/Kconfig"
284 source "drivers/pcmcia/Kconfig"
286 menu "MN10300 internal serial options"
288 config MN10300_PROC_HAS_TTYSM0
292 config MN10300_PROC_HAS_TTYSM1
296 config MN10300_PROC_HAS_TTYSM2
301 bool "Support for ttySM serial ports"
306 This option enables support for the on-chip serial ports that the
307 MN10300 has available.
309 config MN10300_TTYSM_CONSOLE
310 bool "Support for console on ttySM serial ports"
311 depends on MN10300_TTYSM
312 select SERIAL_CORE_CONSOLE
314 This option enables support for a console on the on-chip serial ports
315 that the MN10300 has available.
320 config MN10300_TTYSM0
321 bool "Enable SIF0 (/dev/ttySM0)"
322 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM0
324 Enable access to SIF0 through /dev/ttySM0 or gdb-stub
327 prompt "Select the timer to supply the clock for SIF0"
328 default MN10300_TTYSM0_TIMER8
329 depends on MN10300_TTYSM0
331 config MN10300_TTYSM0_TIMER8
332 bool "Use timer 8 (16-bit)"
334 config MN10300_TTYSM0_TIMER2
335 bool "Use timer 2 (8-bit)"
342 config MN10300_TTYSM1
343 bool "Enable SIF1 (/dev/ttySM1)"
344 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM1
346 Enable access to SIF1 through /dev/ttySM1 or gdb-stub
349 prompt "Select the timer to supply the clock for SIF1"
350 default MN10300_TTYSM1_TIMER12 \
351 if !(AM33_2 || AM33_3)
352 default MN10300_TTYSM1_TIMER9 \
354 depends on MN10300_TTYSM1
356 config MN10300_TTYSM1_TIMER12
357 bool "Use timer 12 (16-bit)"
358 depends on !(AM33_2 || AM33_3)
360 config MN10300_TTYSM1_TIMER9
361 bool "Use timer 9 (16-bit)"
362 depends on AM33_2 || AM33_3
364 config MN10300_TTYSM1_TIMER3
365 bool "Use timer 3 (8-bit)"
366 depends on AM33_2 || AM33_3
373 config MN10300_TTYSM2
374 bool "Enable SIF2 (/dev/ttySM2)"
375 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM2
377 Enable access to SIF2 through /dev/ttySM2 or gdb-stub
380 prompt "Select the timer to supply the clock for SIF2"
381 default MN10300_TTYSM2_TIMER3 \
382 if !(AM33_2 || AM33_3)
383 default MN10300_TTYSM2_TIMER10 \
385 depends on MN10300_TTYSM2
387 config MN10300_TTYSM2_TIMER9
388 bool "Use timer 9 (16-bit)"
389 depends on !(AM33_2 || AM33_3)
391 config MN10300_TTYSM2_TIMER1
392 bool "Use timer 1 (8-bit)"
393 depends on !(AM33_2 || AM33_3)
395 config MN10300_TTYSM2_TIMER3
396 bool "Use timer 3 (8-bit)"
397 depends on !(AM33_2 || AM33_3)
399 config MN10300_TTYSM2_TIMER10
400 bool "Use timer 10 (16-bit)"
401 depends on AM33_2 || AM33_3
405 config MN10300_TTYSM2_CTS
406 bool "Enable the use of the CTS line /dev/ttySM2"
407 depends on MN10300_TTYSM2 && AM33_2
411 menu "Interrupt request priority options"
413 comment "[!] NOTE: A lower number/level indicates a higher priority (0 is highest, 6 is lowest)"
415 comment "____Non-maskable interrupt levels____"
416 comment "The following must be set to a higher priority than local_irq_disable() and on-chip serial"
418 config GDBSTUB_IRQ_LEVEL
419 int "GDBSTUB interrupt priority"
421 range 0 1 if LINUX_CLI_LEVEL = 2
422 range 0 2 if LINUX_CLI_LEVEL = 3
423 range 0 3 if LINUX_CLI_LEVEL = 4
424 range 0 4 if LINUX_CLI_LEVEL = 5
425 range 0 5 if LINUX_CLI_LEVEL = 6
428 comment "The following must be set to a higher priority than local_irq_disable()"
430 config MN10300_SERIAL_IRQ_LEVEL
431 int "MN10300 on-chip serial interrupt priority"
432 depends on MN10300_TTYSM
433 range 1 1 if LINUX_CLI_LEVEL = 2
434 range 1 2 if LINUX_CLI_LEVEL = 3
435 range 1 3 if LINUX_CLI_LEVEL = 4
436 range 1 4 if LINUX_CLI_LEVEL = 5
437 range 1 5 if LINUX_CLI_LEVEL = 6
441 comment "____Maskable interrupt levels____"
443 config LINUX_CLI_LEVEL
444 int "The highest interrupt priority excluded by local_irq_disable() (2-6)"
448 local_irq_disable() doesn't actually disable maskable interrupts -
449 what it does is restrict the levels of interrupt which are permitted
450 (a lower level indicates a higher priority) by lowering the value in
451 EPSW.IM from 7. Any interrupt is permitted for which the level is
454 Certain interrupts, such as GDBSTUB and virtual MN10300 on-chip
455 serial DMA interrupts are allowed to interrupt normal disabled
458 comment "The following must be set to a equal to or lower priority than LINUX_CLI_LEVEL"
460 config TIMER_IRQ_LEVEL
461 int "Kernel timer interrupt priority"
462 range LINUX_CLI_LEVEL 6
466 int "PCI interrupt priority"
468 range LINUX_CLI_LEVEL 6
471 config ETHERNET_IRQ_LEVEL
472 int "Ethernet interrupt priority"
473 depends on SMC91X || SMC911X || SMSC911X
474 range LINUX_CLI_LEVEL 6
477 config EXT_SERIAL_IRQ_LEVEL
478 int "External serial port interrupt priority"
479 depends on SERIAL_8250
480 range LINUX_CLI_LEVEL 6
487 menu "Power management options"
488 source kernel/power/Kconfig
494 menu "Executable formats"
496 source "fs/Kconfig.binfmt"
502 source "drivers/Kconfig"
506 source "arch/mn10300/Kconfig.debug"
508 source "security/Kconfig"
510 source "crypto/Kconfig"