2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
6 mainmenu "Linux Kernel Configuration"
27 config RWSEM_GENERIC_SPINLOCK
30 config RWSEM_XCHGADD_ALGORITHM
33 config GENERIC_HARDIRQS_NO__DO_IRQ
36 config GENERIC_CALIBRATE_DELAY
39 config GENERIC_FIND_NEXT_BIT
42 config GENERIC_HWEIGHT
54 config ARCH_HAS_ILOG2_U32
57 # Use the generic interrupt handling code in kernel/irq/
58 config GENERIC_HARDIRQS
68 mainmenu "Matsushita MN10300/AM33 Kernel Configuration"
72 source "kernel/Kconfig.freezer"
75 menu "Matsushita MN10300 system setup"
79 default MN10300_UNIT_ASB2303
81 This option specifies board for which the kernel will be
82 compiled. It affects the external peripherals catered for.
84 config MN10300_UNIT_ASB2303
87 config MN10300_UNIT_ASB2305
93 prompt "Processor support"
94 default MN10300_PROC_MN103E010
96 This option specifies the processor for which the kernel will be
97 compiled. It affects the on-chip peripherals catered for.
99 config MN10300_PROC_MN103E010
101 depends on MN10300_UNIT_ASB2303 || MN10300_UNIT_ASB2305
102 select MN10300_PROC_HAS_TTYSM0
103 select MN10300_PROC_HAS_TTYSM1
104 select MN10300_PROC_HAS_TTYSM2
109 prompt "Processor core support"
110 default MN10300_CPU_AM33V2
112 This option specifies the processor core for which the kernel will be
113 compiled. It affects the instruction set used.
115 config MN10300_CPU_AM33V2
123 depends on MN10300_PROC_MN103E010
126 prompt "CPU Caching mode"
127 default MN10300_CACHE_WBACK
129 This option determines the caching mode for the kernel.
131 Write-Back caching mode involves the all reads and writes causing
132 the affected cacheline to be read into the cache first before being
133 operated upon. Memory is not then updated by a write until the cache
134 is filled and a cacheline needs to be displaced from the cache to
135 make room. Only at that point is it written back.
137 Write-Through caching only fetches cachelines from memory on a
138 read. Writes always get written directly to memory. If the affected
139 cacheline is also in cache, it will be updated too.
141 The final option is to turn of caching entirely.
143 config MN10300_CACHE_WBACK
146 config MN10300_CACHE_WTHRU
149 config MN10300_CACHE_DISABLED
154 menu "Memory layout options"
156 config KERNEL_RAM_BASE_ADDRESS
157 hex "Base address of kernel RAM"
160 config INTERRUPT_VECTOR_BASE
161 hex "Base address of vector table"
164 The base address of the vector table will be programmed into
165 the TBR register. It must be on 16MiB address boundary.
167 config KERNEL_TEXT_ADDRESS
168 hex "Base address of kernel"
171 config KERNEL_ZIMAGE_BASE_ADDRESS
172 hex "Base address of compressed vmlinux image"
178 bool "Preemptible Kernel"
180 This option reduces the latency of the kernel when reacting to
181 real-time or interactive events by allowing a low priority process to
182 be preempted even if it is in kernel mode executing a system call.
183 This allows applications to run more reliably even when the system is
186 Say Y here if you are building a kernel for a desktop, embedded
187 or real-time system. Say N if you are unsure.
189 config MN10300_CURRENT_IN_E2
190 bool "Hold current task address in E2 register"
193 This option removes the E2/R2 register from the set available to gcc
194 for normal use and instead uses it to store the address of the
195 current process's task_struct whilst in the kernel.
197 This means the kernel doesn't need to calculate the address each time
198 "current" is used (take SP, AND with mask and dereference pointer
199 just to get the address), and instead can just use E2+offset
200 addressing each time.
202 This has no effect on userspace.
204 config MN10300_USING_JTAG
205 bool "Using JTAG to debug kernel"
208 This options indicates that JTAG will be used to debug the kernel. It
209 suppresses the use of certain hardware debugging features, such as
210 single-stepping, which are taken over completely by the JTAG unit.
213 bool "Using MN10300 RTC"
214 depends on MN10300_PROC_MN103E010
218 This option enables support for the RTC, thus enabling time to be
219 tracked, even when system is powered down. This is available on-chip
222 config MN10300_WD_TIMER
223 bool "Using MN10300 watchdog timer"
226 This options indicates that the watchdog timer will be used.
230 depends on MN10300_UNIT_ASB2305
233 Some systems (such as the ASB2305) have PCI onboard. If you have one
234 of these boards and you wish to use the PCI facilities, say Y here.
236 The PCI-HOWTO, available from
237 <http://www.tldp.org/docs.html#howto>, contains valuable
238 information about which PCI hardware does work under Linux and which
241 source "drivers/pci/Kconfig"
243 source "drivers/pcmcia/Kconfig"
245 menu "MN10300 internal serial options"
247 config MN10300_PROC_HAS_TTYSM0
251 config MN10300_PROC_HAS_TTYSM1
255 config MN10300_PROC_HAS_TTYSM2
260 bool "Support for ttySM serial ports"
265 This option enables support for the on-chip serial ports that the
266 MN10300 has available.
268 config MN10300_TTYSM_CONSOLE
269 bool "Support for console on ttySM serial ports"
270 depends on MN10300_TTYSM
271 select SERIAL_CORE_CONSOLE
273 This option enables support for a console on the on-chip serial ports
274 that the MN10300 has available.
279 config MN10300_TTYSM0
280 bool "Enable SIF0 (/dev/ttySM0)"
281 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM0
283 Enable access to SIF0 through /dev/ttySM0 or gdb-stub
286 prompt "Select the timer to supply the clock for SIF0"
287 default MN10300_TTYSM0_TIMER8
288 depends on MN10300_TTYSM0
290 config MN10300_TTYSM0_TIMER8
291 bool "Use timer 8 (16-bit)"
293 config MN10300_TTYSM0_TIMER2
294 bool "Use timer 2 (8-bit)"
301 config MN10300_TTYSM1
302 bool "Enable SIF1 (/dev/ttySM1)"
303 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM1
305 Enable access to SIF1 through /dev/ttySM1 or gdb-stub
308 prompt "Select the timer to supply the clock for SIF1"
309 default MN10300_TTYSM0_TIMER9
310 depends on MN10300_TTYSM1
312 config MN10300_TTYSM1_TIMER9
313 bool "Use timer 9 (16-bit)"
315 config MN10300_TTYSM1_TIMER3
316 bool "Use timer 3 (8-bit)"
323 config MN10300_TTYSM2
324 bool "Enable SIF2 (/dev/ttySM2)"
325 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM2
327 Enable access to SIF2 through /dev/ttySM2 or gdb-stub
330 prompt "Select the timer to supply the clock for SIF2"
331 default MN10300_TTYSM0_TIMER10
332 depends on MN10300_TTYSM2
334 config MN10300_TTYSM2_TIMER10
335 bool "Use timer 10 (16-bit)"
339 config MN10300_TTYSM2_CTS
340 bool "Enable the use of the CTS line /dev/ttySM2"
341 depends on MN10300_TTYSM2
347 menu "Power management options"
348 source kernel/power/Kconfig
354 menu "Executable formats"
356 source "fs/Kconfig.binfmt"
362 source "drivers/Kconfig"
366 source "arch/mn10300/Kconfig.debug"
368 source "security/Kconfig"
370 source "crypto/Kconfig"
374 source "arch/mn10300/oprofile/Kconfig"