2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
6 mainmenu "Linux Kernel Configuration"
20 select MN10300_HAS_ATOMIC_OPS_UNIT
34 config RWSEM_GENERIC_SPINLOCK
37 config RWSEM_XCHGADD_ALGORITHM
40 config GENERIC_HARDIRQS_NO__DO_IRQ
43 config GENERIC_CALIBRATE_DELAY
46 config GENERIC_CMOS_UPDATE
49 config GENERIC_FIND_NEXT_BIT
52 config GENERIC_HWEIGHT
61 config ARCH_HAS_ILOG2_U32
64 # Use the generic interrupt handling code in kernel/irq/
65 config GENERIC_HARDIRQS
75 mainmenu "Matsushita MN10300/AM33 Kernel Configuration"
79 source "kernel/Kconfig.freezer"
82 menu "Matsushita MN10300 system setup"
86 default MN10300_UNIT_ASB2303
88 This option specifies board for which the kernel will be
89 compiled. It affects the external peripherals catered for.
91 config MN10300_UNIT_ASB2303
94 config MN10300_UNIT_ASB2305
100 prompt "Processor support"
101 default MN10300_PROC_MN103E010
103 This option specifies the processor for which the kernel will be
104 compiled. It affects the on-chip peripherals catered for.
106 config MN10300_PROC_MN103E010
108 depends on MN10300_UNIT_ASB2303 || MN10300_UNIT_ASB2305
110 select MN10300_PROC_HAS_TTYSM0
111 select MN10300_PROC_HAS_TTYSM1
112 select MN10300_PROC_HAS_TTYSM2
117 prompt "Processor core support"
118 default MN10300_CPU_AM33V2
120 This option specifies the processor core for which the kernel will be
121 compiled. It affects the instruction set used.
123 config MN10300_CPU_AM33V2
128 config MN10300_HAS_ATOMIC_OPS_UNIT
131 This should be enabled if the processor has an atomic ops unit
132 capable of doing LL/SC equivalent operations.
137 depends on MN10300_PROC_MN103E010
139 source "arch/mn10300/mm/Kconfig.cache"
141 menu "Memory layout options"
143 config KERNEL_RAM_BASE_ADDRESS
144 hex "Base address of kernel RAM"
147 config INTERRUPT_VECTOR_BASE
148 hex "Base address of vector table"
151 The base address of the vector table will be programmed into
152 the TBR register. It must be on 16MiB address boundary.
154 config KERNEL_TEXT_ADDRESS
155 hex "Base address of kernel"
158 config KERNEL_ZIMAGE_BASE_ADDRESS
159 hex "Base address of compressed vmlinux image"
165 bool "Preemptible Kernel"
167 This option reduces the latency of the kernel when reacting to
168 real-time or interactive events by allowing a low priority process to
169 be preempted even if it is in kernel mode executing a system call.
170 This allows applications to run more reliably even when the system is
173 Say Y here if you are building a kernel for a desktop, embedded
174 or real-time system. Say N if you are unsure.
176 config MN10300_CURRENT_IN_E2
177 bool "Hold current task address in E2 register"
180 This option removes the E2/R2 register from the set available to gcc
181 for normal use and instead uses it to store the address of the
182 current process's task_struct whilst in the kernel.
184 This means the kernel doesn't need to calculate the address each time
185 "current" is used (take SP, AND with mask and dereference pointer
186 just to get the address), and instead can just use E2+offset
187 addressing each time.
189 This has no effect on userspace.
191 config MN10300_USING_JTAG
192 bool "Using JTAG to debug kernel"
195 This options indicates that JTAG will be used to debug the kernel. It
196 suppresses the use of certain hardware debugging features, such as
197 single-stepping, which are taken over completely by the JTAG unit.
200 bool "Using MN10300 RTC"
201 depends on MN10300_PROC_MN103E010
205 This option enables support for the RTC, thus enabling time to be
206 tracked, even when system is powered down. This is available on-chip
209 config MN10300_WD_TIMER
210 bool "Using MN10300 watchdog timer"
213 This options indicates that the watchdog timer will be used.
217 depends on MN10300_UNIT_ASB2305
220 Some systems (such as the ASB2305) have PCI onboard. If you have one
221 of these boards and you wish to use the PCI facilities, say Y here.
223 The PCI-HOWTO, available from
224 <http://www.tldp.org/docs.html#howto>, contains valuable
225 information about which PCI hardware does work under Linux and which
228 source "drivers/pci/Kconfig"
230 source "drivers/pcmcia/Kconfig"
232 menu "MN10300 internal serial options"
234 config MN10300_PROC_HAS_TTYSM0
238 config MN10300_PROC_HAS_TTYSM1
242 config MN10300_PROC_HAS_TTYSM2
247 bool "Support for ttySM serial ports"
252 This option enables support for the on-chip serial ports that the
253 MN10300 has available.
255 config MN10300_TTYSM_CONSOLE
256 bool "Support for console on ttySM serial ports"
257 depends on MN10300_TTYSM
258 select SERIAL_CORE_CONSOLE
260 This option enables support for a console on the on-chip serial ports
261 that the MN10300 has available.
266 config MN10300_TTYSM0
267 bool "Enable SIF0 (/dev/ttySM0)"
268 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM0
270 Enable access to SIF0 through /dev/ttySM0 or gdb-stub
273 prompt "Select the timer to supply the clock for SIF0"
274 default MN10300_TTYSM0_TIMER8
275 depends on MN10300_TTYSM0
277 config MN10300_TTYSM0_TIMER8
278 bool "Use timer 8 (16-bit)"
280 config MN10300_TTYSM0_TIMER2
281 bool "Use timer 2 (8-bit)"
288 config MN10300_TTYSM1
289 bool "Enable SIF1 (/dev/ttySM1)"
290 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM1
292 Enable access to SIF1 through /dev/ttySM1 or gdb-stub
295 prompt "Select the timer to supply the clock for SIF1"
296 default MN10300_TTYSM0_TIMER9
297 depends on MN10300_TTYSM1
299 config MN10300_TTYSM1_TIMER9
300 bool "Use timer 9 (16-bit)"
302 config MN10300_TTYSM1_TIMER3
303 bool "Use timer 3 (8-bit)"
310 config MN10300_TTYSM2
311 bool "Enable SIF2 (/dev/ttySM2)"
312 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM2
314 Enable access to SIF2 through /dev/ttySM2 or gdb-stub
317 prompt "Select the timer to supply the clock for SIF2"
318 default MN10300_TTYSM0_TIMER10
319 depends on MN10300_TTYSM2
321 config MN10300_TTYSM2_TIMER10
322 bool "Use timer 10 (16-bit)"
326 config MN10300_TTYSM2_CTS
327 bool "Enable the use of the CTS line /dev/ttySM2"
328 depends on MN10300_TTYSM2
334 menu "Power management options"
335 source kernel/power/Kconfig
341 menu "Executable formats"
343 source "fs/Kconfig.binfmt"
349 source "drivers/Kconfig"
353 source "arch/mn10300/Kconfig.debug"
355 source "security/Kconfig"
357 source "crypto/Kconfig"