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
21 select MN10300_HAS_CACHE_SNOOP
35 config RWSEM_GENERIC_SPINLOCK
38 config RWSEM_XCHGADD_ALGORITHM
41 config GENERIC_HARDIRQS_NO__DO_IRQ
44 config GENERIC_CALIBRATE_DELAY
47 config GENERIC_CMOS_UPDATE
50 config GENERIC_FIND_NEXT_BIT
53 config GENERIC_HWEIGHT
62 config ARCH_HAS_ILOG2_U32
65 # Use the generic interrupt handling code in kernel/irq/
66 config GENERIC_HARDIRQS
76 mainmenu "Matsushita MN10300/AM33 Kernel Configuration"
80 source "kernel/Kconfig.freezer"
83 menu "Matsushita MN10300 system setup"
87 default MN10300_UNIT_ASB2303
89 This option specifies board for which the kernel will be
90 compiled. It affects the external peripherals catered for.
92 config MN10300_UNIT_ASB2303
95 config MN10300_UNIT_ASB2305
101 prompt "Processor support"
102 default MN10300_PROC_MN103E010
104 This option specifies the processor for which the kernel will be
105 compiled. It affects the on-chip peripherals catered for.
107 config MN10300_PROC_MN103E010
109 depends on MN10300_UNIT_ASB2303 || MN10300_UNIT_ASB2305
111 select MN10300_PROC_HAS_TTYSM0
112 select MN10300_PROC_HAS_TTYSM1
113 select MN10300_PROC_HAS_TTYSM2
118 prompt "Processor core support"
119 default MN10300_CPU_AM33V2
121 This option specifies the processor core for which the kernel will be
122 compiled. It affects the instruction set used.
124 config MN10300_CPU_AM33V2
129 config MN10300_HAS_ATOMIC_OPS_UNIT
132 This should be enabled if the processor has an atomic ops unit
133 capable of doing LL/SC equivalent operations.
138 depends on MN10300_PROC_MN103E010
140 source "arch/mn10300/mm/Kconfig.cache"
142 menu "Memory layout options"
144 config KERNEL_RAM_BASE_ADDRESS
145 hex "Base address of kernel RAM"
148 config INTERRUPT_VECTOR_BASE
149 hex "Base address of vector table"
152 The base address of the vector table will be programmed into
153 the TBR register. It must be on 16MiB address boundary.
155 config KERNEL_TEXT_ADDRESS
156 hex "Base address of kernel"
159 config KERNEL_ZIMAGE_BASE_ADDRESS
160 hex "Base address of compressed vmlinux image"
166 bool "Preemptible Kernel"
168 This option reduces the latency of the kernel when reacting to
169 real-time or interactive events by allowing a low priority process to
170 be preempted even if it is in kernel mode executing a system call.
171 This allows applications to run more reliably even when the system is
174 Say Y here if you are building a kernel for a desktop, embedded
175 or real-time system. Say N if you are unsure.
177 config MN10300_CURRENT_IN_E2
178 bool "Hold current task address in E2 register"
181 This option removes the E2/R2 register from the set available to gcc
182 for normal use and instead uses it to store the address of the
183 current process's task_struct whilst in the kernel.
185 This means the kernel doesn't need to calculate the address each time
186 "current" is used (take SP, AND with mask and dereference pointer
187 just to get the address), and instead can just use E2+offset
188 addressing each time.
190 This has no effect on userspace.
192 config MN10300_USING_JTAG
193 bool "Using JTAG to debug kernel"
196 This options indicates that JTAG will be used to debug the kernel. It
197 suppresses the use of certain hardware debugging features, such as
198 single-stepping, which are taken over completely by the JTAG unit.
201 bool "Using MN10300 RTC"
202 depends on MN10300_PROC_MN103E010
206 This option enables support for the RTC, thus enabling time to be
207 tracked, even when system is powered down. This is available on-chip
210 config MN10300_WD_TIMER
211 bool "Using MN10300 watchdog timer"
214 This options indicates that the watchdog timer will be used.
218 depends on MN10300_UNIT_ASB2305
221 Some systems (such as the ASB2305) have PCI onboard. If you have one
222 of these boards and you wish to use the PCI facilities, say Y here.
224 The PCI-HOWTO, available from
225 <http://www.tldp.org/docs.html#howto>, contains valuable
226 information about which PCI hardware does work under Linux and which
229 source "drivers/pci/Kconfig"
231 source "drivers/pcmcia/Kconfig"
233 menu "MN10300 internal serial options"
235 config MN10300_PROC_HAS_TTYSM0
239 config MN10300_PROC_HAS_TTYSM1
243 config MN10300_PROC_HAS_TTYSM2
248 bool "Support for ttySM serial ports"
253 This option enables support for the on-chip serial ports that the
254 MN10300 has available.
256 config MN10300_TTYSM_CONSOLE
257 bool "Support for console on ttySM serial ports"
258 depends on MN10300_TTYSM
259 select SERIAL_CORE_CONSOLE
261 This option enables support for a console on the on-chip serial ports
262 that the MN10300 has available.
267 config MN10300_TTYSM0
268 bool "Enable SIF0 (/dev/ttySM0)"
269 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM0
271 Enable access to SIF0 through /dev/ttySM0 or gdb-stub
274 prompt "Select the timer to supply the clock for SIF0"
275 default MN10300_TTYSM0_TIMER8
276 depends on MN10300_TTYSM0
278 config MN10300_TTYSM0_TIMER8
279 bool "Use timer 8 (16-bit)"
281 config MN10300_TTYSM0_TIMER2
282 bool "Use timer 2 (8-bit)"
289 config MN10300_TTYSM1
290 bool "Enable SIF1 (/dev/ttySM1)"
291 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM1
293 Enable access to SIF1 through /dev/ttySM1 or gdb-stub
296 prompt "Select the timer to supply the clock for SIF1"
297 default MN10300_TTYSM0_TIMER9
298 depends on MN10300_TTYSM1
300 config MN10300_TTYSM1_TIMER9
301 bool "Use timer 9 (16-bit)"
303 config MN10300_TTYSM1_TIMER3
304 bool "Use timer 3 (8-bit)"
311 config MN10300_TTYSM2
312 bool "Enable SIF2 (/dev/ttySM2)"
313 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM2
315 Enable access to SIF2 through /dev/ttySM2 or gdb-stub
318 prompt "Select the timer to supply the clock for SIF2"
319 default MN10300_TTYSM0_TIMER10
320 depends on MN10300_TTYSM2
322 config MN10300_TTYSM2_TIMER10
323 bool "Use timer 10 (16-bit)"
327 config MN10300_TTYSM2_CTS
328 bool "Enable the use of the CTS line /dev/ttySM2"
329 depends on MN10300_TTYSM2
335 menu "Power management options"
336 source kernel/power/Kconfig
342 menu "Executable formats"
344 source "fs/Kconfig.binfmt"
350 source "drivers/Kconfig"
354 source "arch/mn10300/Kconfig.debug"
356 source "security/Kconfig"
358 source "crypto/Kconfig"