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
23 config ERRATUM_NEED_TO_RELOAD_MMUCTR
24 def_bool y if AM33_3 || AM34_2
38 config RWSEM_GENERIC_SPINLOCK
41 config RWSEM_XCHGADD_ALGORITHM
44 config GENERIC_HARDIRQS_NO__DO_IRQ
47 config GENERIC_CALIBRATE_DELAY
50 config GENERIC_CMOS_UPDATE
53 config GENERIC_FIND_NEXT_BIT
56 config GENERIC_HWEIGHT
65 config ARCH_HAS_ILOG2_U32
68 # Use the generic interrupt handling code in kernel/irq/
69 config GENERIC_HARDIRQS
79 mainmenu "Matsushita MN10300/AM33 Kernel Configuration"
83 source "kernel/Kconfig.freezer"
86 menu "Matsushita MN10300 system setup"
90 default MN10300_UNIT_ASB2303
92 This option specifies board for which the kernel will be
93 compiled. It affects the external peripherals catered for.
95 config MN10300_UNIT_ASB2303
98 config MN10300_UNIT_ASB2305
104 prompt "Processor support"
105 default MN10300_PROC_MN103E010
107 This option specifies the processor for which the kernel will be
108 compiled. It affects the on-chip peripherals catered for.
110 config MN10300_PROC_MN103E010
112 depends on MN10300_UNIT_ASB2303 || MN10300_UNIT_ASB2305
114 select MN10300_PROC_HAS_TTYSM0
115 select MN10300_PROC_HAS_TTYSM1
116 select MN10300_PROC_HAS_TTYSM2
121 prompt "Processor core support"
122 default MN10300_CPU_AM33V2
124 This option specifies the processor core for which the kernel will be
125 compiled. It affects the instruction set used.
127 config MN10300_CPU_AM33V2
132 config MN10300_HAS_ATOMIC_OPS_UNIT
135 This should be enabled if the processor has an atomic ops unit
136 capable of doing LL/SC equivalent operations.
141 depends on MN10300_PROC_MN103E010
143 source "arch/mn10300/mm/Kconfig.cache"
145 menu "Memory layout options"
147 config KERNEL_RAM_BASE_ADDRESS
148 hex "Base address of kernel RAM"
151 config INTERRUPT_VECTOR_BASE
152 hex "Base address of vector table"
155 The base address of the vector table will be programmed into
156 the TBR register. It must be on 16MiB address boundary.
158 config KERNEL_TEXT_ADDRESS
159 hex "Base address of kernel"
162 config KERNEL_ZIMAGE_BASE_ADDRESS
163 hex "Base address of compressed vmlinux image"
169 bool "Preemptible Kernel"
171 This option reduces the latency of the kernel when reacting to
172 real-time or interactive events by allowing a low priority process to
173 be preempted even if it is in kernel mode executing a system call.
174 This allows applications to run more reliably even when the system is
177 Say Y here if you are building a kernel for a desktop, embedded
178 or real-time system. Say N if you are unsure.
180 config MN10300_CURRENT_IN_E2
181 bool "Hold current task address in E2 register"
184 This option removes the E2/R2 register from the set available to gcc
185 for normal use and instead uses it to store the address of the
186 current process's task_struct whilst in the kernel.
188 This means the kernel doesn't need to calculate the address each time
189 "current" is used (take SP, AND with mask and dereference pointer
190 just to get the address), and instead can just use E2+offset
191 addressing each time.
193 This has no effect on userspace.
195 config MN10300_USING_JTAG
196 bool "Using JTAG to debug kernel"
199 This options indicates that JTAG will be used to debug the kernel. It
200 suppresses the use of certain hardware debugging features, such as
201 single-stepping, which are taken over completely by the JTAG unit.
204 bool "Using MN10300 RTC"
205 depends on MN10300_PROC_MN103E010
209 This option enables support for the RTC, thus enabling time to be
210 tracked, even when system is powered down. This is available on-chip
213 config MN10300_WD_TIMER
214 bool "Using MN10300 watchdog timer"
217 This options indicates that the watchdog timer will be used.
221 depends on MN10300_UNIT_ASB2305
224 Some systems (such as the ASB2305) have PCI onboard. If you have one
225 of these boards and you wish to use the PCI facilities, say Y here.
227 The PCI-HOWTO, available from
228 <http://www.tldp.org/docs.html#howto>, contains valuable
229 information about which PCI hardware does work under Linux and which
232 source "drivers/pci/Kconfig"
234 source "drivers/pcmcia/Kconfig"
236 menu "MN10300 internal serial options"
238 config MN10300_PROC_HAS_TTYSM0
242 config MN10300_PROC_HAS_TTYSM1
246 config MN10300_PROC_HAS_TTYSM2
251 bool "Support for ttySM serial ports"
256 This option enables support for the on-chip serial ports that the
257 MN10300 has available.
259 config MN10300_TTYSM_CONSOLE
260 bool "Support for console on ttySM serial ports"
261 depends on MN10300_TTYSM
262 select SERIAL_CORE_CONSOLE
264 This option enables support for a console on the on-chip serial ports
265 that the MN10300 has available.
270 config MN10300_TTYSM0
271 bool "Enable SIF0 (/dev/ttySM0)"
272 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM0
274 Enable access to SIF0 through /dev/ttySM0 or gdb-stub
277 prompt "Select the timer to supply the clock for SIF0"
278 default MN10300_TTYSM0_TIMER8
279 depends on MN10300_TTYSM0
281 config MN10300_TTYSM0_TIMER8
282 bool "Use timer 8 (16-bit)"
284 config MN10300_TTYSM0_TIMER2
285 bool "Use timer 2 (8-bit)"
292 config MN10300_TTYSM1
293 bool "Enable SIF1 (/dev/ttySM1)"
294 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM1
296 Enable access to SIF1 through /dev/ttySM1 or gdb-stub
299 prompt "Select the timer to supply the clock for SIF1"
300 default MN10300_TTYSM0_TIMER9
301 depends on MN10300_TTYSM1
303 config MN10300_TTYSM1_TIMER9
304 bool "Use timer 9 (16-bit)"
306 config MN10300_TTYSM1_TIMER3
307 bool "Use timer 3 (8-bit)"
314 config MN10300_TTYSM2
315 bool "Enable SIF2 (/dev/ttySM2)"
316 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM2
318 Enable access to SIF2 through /dev/ttySM2 or gdb-stub
321 prompt "Select the timer to supply the clock for SIF2"
322 default MN10300_TTYSM0_TIMER10
323 depends on MN10300_TTYSM2
325 config MN10300_TTYSM2_TIMER10
326 bool "Use timer 10 (16-bit)"
330 config MN10300_TTYSM2_CTS
331 bool "Enable the use of the CTS line /dev/ttySM2"
332 depends on MN10300_TTYSM2
338 menu "Power management options"
339 source kernel/power/Kconfig
345 menu "Executable formats"
347 source "fs/Kconfig.binfmt"
353 source "drivers/Kconfig"
357 source "arch/mn10300/Kconfig.debug"
359 source "security/Kconfig"
361 source "crypto/Kconfig"