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 config MN10300_TLB_USE_PIDR
148 menu "Memory layout options"
150 config KERNEL_RAM_BASE_ADDRESS
151 hex "Base address of kernel RAM"
154 config INTERRUPT_VECTOR_BASE
155 hex "Base address of vector table"
158 The base address of the vector table will be programmed into
159 the TBR register. It must be on 16MiB address boundary.
161 config KERNEL_TEXT_ADDRESS
162 hex "Base address of kernel"
165 config KERNEL_ZIMAGE_BASE_ADDRESS
166 hex "Base address of compressed vmlinux image"
172 bool "Preemptible Kernel"
174 This option reduces the latency of the kernel when reacting to
175 real-time or interactive events by allowing a low priority process to
176 be preempted even if it is in kernel mode executing a system call.
177 This allows applications to run more reliably even when the system is
180 Say Y here if you are building a kernel for a desktop, embedded
181 or real-time system. Say N if you are unsure.
183 config MN10300_CURRENT_IN_E2
184 bool "Hold current task address in E2 register"
187 This option removes the E2/R2 register from the set available to gcc
188 for normal use and instead uses it to store the address of the
189 current process's task_struct whilst in the kernel.
191 This means the kernel doesn't need to calculate the address each time
192 "current" is used (take SP, AND with mask and dereference pointer
193 just to get the address), and instead can just use E2+offset
194 addressing each time.
196 This has no effect on userspace.
198 config MN10300_USING_JTAG
199 bool "Using JTAG to debug kernel"
202 This options indicates that JTAG will be used to debug the kernel. It
203 suppresses the use of certain hardware debugging features, such as
204 single-stepping, which are taken over completely by the JTAG unit.
207 bool "Using MN10300 RTC"
208 depends on MN10300_PROC_MN103E010
212 This option enables support for the RTC, thus enabling time to be
213 tracked, even when system is powered down. This is available on-chip
216 config MN10300_WD_TIMER
217 bool "Using MN10300 watchdog timer"
220 This options indicates that the watchdog timer will be used.
224 depends on MN10300_UNIT_ASB2305
227 Some systems (such as the ASB2305) have PCI onboard. If you have one
228 of these boards and you wish to use the PCI facilities, say Y here.
230 The PCI-HOWTO, available from
231 <http://www.tldp.org/docs.html#howto>, contains valuable
232 information about which PCI hardware does work under Linux and which
235 source "drivers/pci/Kconfig"
237 source "drivers/pcmcia/Kconfig"
239 menu "MN10300 internal serial options"
241 config MN10300_PROC_HAS_TTYSM0
245 config MN10300_PROC_HAS_TTYSM1
249 config MN10300_PROC_HAS_TTYSM2
254 bool "Support for ttySM serial ports"
259 This option enables support for the on-chip serial ports that the
260 MN10300 has available.
262 config MN10300_TTYSM_CONSOLE
263 bool "Support for console on ttySM serial ports"
264 depends on MN10300_TTYSM
265 select SERIAL_CORE_CONSOLE
267 This option enables support for a console on the on-chip serial ports
268 that the MN10300 has available.
273 config MN10300_TTYSM0
274 bool "Enable SIF0 (/dev/ttySM0)"
275 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM0
277 Enable access to SIF0 through /dev/ttySM0 or gdb-stub
280 prompt "Select the timer to supply the clock for SIF0"
281 default MN10300_TTYSM0_TIMER8
282 depends on MN10300_TTYSM0
284 config MN10300_TTYSM0_TIMER8
285 bool "Use timer 8 (16-bit)"
287 config MN10300_TTYSM0_TIMER2
288 bool "Use timer 2 (8-bit)"
295 config MN10300_TTYSM1
296 bool "Enable SIF1 (/dev/ttySM1)"
297 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM1
299 Enable access to SIF1 through /dev/ttySM1 or gdb-stub
302 prompt "Select the timer to supply the clock for SIF1"
303 default MN10300_TTYSM0_TIMER9
304 depends on MN10300_TTYSM1
306 config MN10300_TTYSM1_TIMER9
307 bool "Use timer 9 (16-bit)"
309 config MN10300_TTYSM1_TIMER3
310 bool "Use timer 3 (8-bit)"
317 config MN10300_TTYSM2
318 bool "Enable SIF2 (/dev/ttySM2)"
319 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM2
321 Enable access to SIF2 through /dev/ttySM2 or gdb-stub
324 prompt "Select the timer to supply the clock for SIF2"
325 default MN10300_TTYSM0_TIMER10
326 depends on MN10300_TTYSM2
328 config MN10300_TTYSM2_TIMER10
329 bool "Use timer 10 (16-bit)"
333 config MN10300_TTYSM2_CTS
334 bool "Enable the use of the CTS line /dev/ttySM2"
335 depends on MN10300_TTYSM2
341 menu "Power management options"
342 source kernel/power/Kconfig
348 menu "Executable formats"
350 source "fs/Kconfig.binfmt"
356 source "drivers/Kconfig"
360 source "arch/mn10300/Kconfig.debug"
362 source "security/Kconfig"
364 source "crypto/Kconfig"