4 select HAVE_ARCH_TRACEHOOK
21 config RWSEM_GENERIC_SPINLOCK
24 config RWSEM_XCHGADD_ALGORITHM
27 config GENERIC_HARDIRQS_NO__DO_IRQ
30 config GENERIC_CALIBRATE_DELAY
33 config GENERIC_CMOS_UPDATE
36 config GENERIC_FIND_NEXT_BIT
39 config GENERIC_HWEIGHT
51 config ARCH_HAS_ILOG2_U32
54 # Use the generic interrupt handling code in kernel/irq/
55 config GENERIC_HARDIRQS
67 source "kernel/Kconfig.freezer"
70 menu "Matsushita MN10300 system setup"
74 default MN10300_UNIT_ASB2303
76 This option specifies board for which the kernel will be
77 compiled. It affects the external peripherals catered for.
79 config MN10300_UNIT_ASB2303
82 config MN10300_UNIT_ASB2305
88 prompt "Processor support"
89 default MN10300_PROC_MN103E010
91 This option specifies the processor for which the kernel will be
92 compiled. It affects the on-chip peripherals catered for.
94 config MN10300_PROC_MN103E010
96 depends on MN10300_UNIT_ASB2303 || MN10300_UNIT_ASB2305
97 select MN10300_PROC_HAS_TTYSM0
98 select MN10300_PROC_HAS_TTYSM1
99 select MN10300_PROC_HAS_TTYSM2
104 prompt "Processor core support"
105 default MN10300_CPU_AM33V2
107 This option specifies the processor core for which the kernel will be
108 compiled. It affects the instruction set used.
110 config MN10300_CPU_AM33V2
118 depends on MN10300_PROC_MN103E010
121 prompt "CPU Caching mode"
122 default MN10300_CACHE_WBACK
124 This option determines the caching mode for the kernel.
126 Write-Back caching mode involves the all reads and writes causing
127 the affected cacheline to be read into the cache first before being
128 operated upon. Memory is not then updated by a write until the cache
129 is filled and a cacheline needs to be displaced from the cache to
130 make room. Only at that point is it written back.
132 Write-Through caching only fetches cachelines from memory on a
133 read. Writes always get written directly to memory. If the affected
134 cacheline is also in cache, it will be updated too.
136 The final option is to turn of caching entirely.
138 config MN10300_CACHE_WBACK
141 config MN10300_CACHE_WTHRU
144 config MN10300_CACHE_DISABLED
149 menu "Memory layout options"
151 config KERNEL_RAM_BASE_ADDRESS
152 hex "Base address of kernel RAM"
155 config INTERRUPT_VECTOR_BASE
156 hex "Base address of vector table"
159 The base address of the vector table will be programmed into
160 the TBR register. It must be on 16MiB address boundary.
162 config KERNEL_TEXT_ADDRESS
163 hex "Base address of kernel"
166 config KERNEL_ZIMAGE_BASE_ADDRESS
167 hex "Base address of compressed vmlinux image"
173 bool "Preemptible Kernel"
175 This option reduces the latency of the kernel when reacting to
176 real-time or interactive events by allowing a low priority process to
177 be preempted even if it is in kernel mode executing a system call.
178 This allows applications to run more reliably even when the system is
181 Say Y here if you are building a kernel for a desktop, embedded
182 or real-time system. Say N if you are unsure.
184 config MN10300_CURRENT_IN_E2
185 bool "Hold current task address in E2 register"
188 This option removes the E2/R2 register from the set available to gcc
189 for normal use and instead uses it to store the address of the
190 current process's task_struct whilst in the kernel.
192 This means the kernel doesn't need to calculate the address each time
193 "current" is used (take SP, AND with mask and dereference pointer
194 just to get the address), and instead can just use E2+offset
195 addressing each time.
197 This has no effect on userspace.
199 config MN10300_USING_JTAG
200 bool "Using JTAG to debug kernel"
203 This options indicates that JTAG will be used to debug the kernel. It
204 suppresses the use of certain hardware debugging features, such as
205 single-stepping, which are taken over completely by the JTAG unit.
208 bool "Using MN10300 RTC"
209 depends on MN10300_PROC_MN103E010
213 This option enables support for the RTC, thus enabling time to be
214 tracked, even when system is powered down. This is available on-chip
217 config MN10300_WD_TIMER
218 bool "Using MN10300 watchdog timer"
221 This options indicates that the watchdog timer will be used.
225 depends on MN10300_UNIT_ASB2305
228 Some systems (such as the ASB2305) have PCI onboard. If you have one
229 of these boards and you wish to use the PCI facilities, say Y here.
231 The PCI-HOWTO, available from
232 <http://www.tldp.org/docs.html#howto>, contains valuable
233 information about which PCI hardware does work under Linux and which
236 source "drivers/pci/Kconfig"
238 source "drivers/pcmcia/Kconfig"
240 menu "MN10300 internal serial options"
242 config MN10300_PROC_HAS_TTYSM0
246 config MN10300_PROC_HAS_TTYSM1
250 config MN10300_PROC_HAS_TTYSM2
255 bool "Support for ttySM serial ports"
260 This option enables support for the on-chip serial ports that the
261 MN10300 has available.
263 config MN10300_TTYSM_CONSOLE
264 bool "Support for console on ttySM serial ports"
265 depends on MN10300_TTYSM
266 select SERIAL_CORE_CONSOLE
268 This option enables support for a console on the on-chip serial ports
269 that the MN10300 has available.
274 config MN10300_TTYSM0
275 bool "Enable SIF0 (/dev/ttySM0)"
276 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM0
278 Enable access to SIF0 through /dev/ttySM0 or gdb-stub
281 prompt "Select the timer to supply the clock for SIF0"
282 default MN10300_TTYSM0_TIMER8
283 depends on MN10300_TTYSM0
285 config MN10300_TTYSM0_TIMER8
286 bool "Use timer 8 (16-bit)"
288 config MN10300_TTYSM0_TIMER2
289 bool "Use timer 2 (8-bit)"
296 config MN10300_TTYSM1
297 bool "Enable SIF1 (/dev/ttySM1)"
298 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM1
300 Enable access to SIF1 through /dev/ttySM1 or gdb-stub
303 prompt "Select the timer to supply the clock for SIF1"
304 default MN10300_TTYSM0_TIMER9
305 depends on MN10300_TTYSM1
307 config MN10300_TTYSM1_TIMER9
308 bool "Use timer 9 (16-bit)"
310 config MN10300_TTYSM1_TIMER3
311 bool "Use timer 3 (8-bit)"
318 config MN10300_TTYSM2
319 bool "Enable SIF2 (/dev/ttySM2)"
320 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM2
322 Enable access to SIF2 through /dev/ttySM2 or gdb-stub
325 prompt "Select the timer to supply the clock for SIF2"
326 default MN10300_TTYSM0_TIMER10
327 depends on MN10300_TTYSM2
329 config MN10300_TTYSM2_TIMER10
330 bool "Use timer 10 (16-bit)"
334 config MN10300_TTYSM2_CTS
335 bool "Enable the use of the CTS line /dev/ttySM2"
336 depends on MN10300_TTYSM2
342 menu "Power management options"
343 source kernel/power/Kconfig
349 menu "Executable formats"
351 source "fs/Kconfig.binfmt"
357 source "drivers/Kconfig"
361 source "arch/mn10300/Kconfig.debug"
363 source "security/Kconfig"
365 source "crypto/Kconfig"