2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
6 mainmenu "Linux Kernel Configuration"
26 config RWSEM_GENERIC_SPINLOCK
29 config RWSEM_XCHGADD_ALGORITHM
32 config GENERIC_HARDIRQS_NO__DO_IRQ
35 config GENERIC_CALIBRATE_DELAY
38 config GENERIC_FIND_NEXT_BIT
41 config GENERIC_HWEIGHT
53 config ARCH_HAS_ILOG2_U32
56 # Use the generic interrupt handling code in kernel/irq/
57 config GENERIC_HARDIRQS
67 mainmenu "Matsushita MN10300/AM33 Kernel Configuration"
72 menu "Matsushita MN10300 system setup"
76 default MN10300_UNIT_ASB2303
78 This option specifies board for which the kernel will be
79 compiled. It affects the external peripherals catered for.
81 config MN10300_UNIT_ASB2303
84 config MN10300_UNIT_ASB2305
90 prompt "Processor support"
91 default MN10300_PROC_MN103E010
93 This option specifies the processor for which the kernel will be
94 compiled. It affects the on-chip peripherals catered for.
96 config MN10300_PROC_MN103E010
98 depends on MN10300_UNIT_ASB2303 || MN10300_UNIT_ASB2305
99 select MN10300_PROC_HAS_TTYSM0
100 select MN10300_PROC_HAS_TTYSM1
101 select MN10300_PROC_HAS_TTYSM2
106 prompt "Processor core support"
107 default MN10300_CPU_AM33V2
109 This option specifies the processor core for which the kernel will be
110 compiled. It affects the instruction set used.
112 config MN10300_CPU_AM33V2
120 depends on MN10300_PROC_MN103E010
123 prompt "CPU Caching mode"
124 default MN10300_CACHE_WBACK
126 This option determines the caching mode for the kernel.
128 Write-Back caching mode involves the all reads and writes causing
129 the affected cacheline to be read into the cache first before being
130 operated upon. Memory is not then updated by a write until the cache
131 is filled and a cacheline needs to be displaced from the cache to
132 make room. Only at that point is it written back.
134 Write-Through caching only fetches cachelines from memory on a
135 read. Writes always get written directly to memory. If the affected
136 cacheline is also in cache, it will be updated too.
138 The final option is to turn of caching entirely.
140 config MN10300_CACHE_WBACK
143 config MN10300_CACHE_WTHRU
146 config MN10300_CACHE_DISABLED
151 menu "Memory layout options"
153 config KERNEL_RAM_BASE_ADDRESS
154 hex "Base address of kernel RAM"
157 config INTERRUPT_VECTOR_BASE
158 hex "Base address of vector table"
161 The base address of the vector table will be programmed into
162 the TBR register. It must be on 16MiB address boundary.
164 config KERNEL_TEXT_ADDRESS
165 hex "Base address of kernel"
168 config KERNEL_ZIMAGE_BASE_ADDRESS
169 hex "Base address of compressed vmlinux image"
175 bool "Preemptible Kernel"
177 This option reduces the latency of the kernel when reacting to
178 real-time or interactive events by allowing a low priority process to
179 be preempted even if it is in kernel mode executing a system call.
180 This allows applications to run more reliably even when the system is
183 Say Y here if you are building a kernel for a desktop, embedded
184 or real-time system. Say N if you are unsure.
186 config MN10300_CURRENT_IN_E2
187 bool "Hold current task address in E2 register"
190 This option removes the E2/R2 register from the set available to gcc
191 for normal use and instead uses it to store the address of the
192 current process's task_struct whilst in the kernel.
194 This means the kernel doesn't need to calculate the address each time
195 "current" is used (take SP, AND with mask and dereference pointer
196 just to get the address), and instead can just use E2+offset
197 addressing each time.
199 This has no effect on userspace.
201 config MN10300_USING_JTAG
202 bool "Using JTAG to debug kernel"
205 This options indicates that JTAG will be used to debug the kernel. It
206 suppresses the use of certain hardware debugging features, such as
207 single-stepping, which are taken over completely by the JTAG unit.
210 bool "Using MN10300 RTC"
211 depends on MN10300_PROC_MN103E010
215 This option enables support for the RTC, thus enabling time to be
216 tracked, even when system is powered down. This is available on-chip
219 config MN10300_WD_TIMER
220 bool "Using MN10300 watchdog timer"
223 This options indicates that the watchdog timer will be used.
227 depends on MN10300_UNIT_ASB2305
230 Some systems (such as the ASB2305) have PCI onboard. If you have one
231 of these boards and you wish to use the PCI facilities, say Y here.
233 The PCI-HOWTO, available from
234 <http://www.tldp.org/docs.html#howto>, contains valuable
235 information about which PCI hardware does work under Linux and which
238 source "drivers/pci/Kconfig"
240 source "drivers/pcmcia/Kconfig"
242 menu "MN10300 internal serial options"
244 config MN10300_PROC_HAS_TTYSM0
248 config MN10300_PROC_HAS_TTYSM1
252 config MN10300_PROC_HAS_TTYSM2
257 bool "Support for ttySM serial ports"
262 This option enables support for the on-chip serial ports that the
263 MN10300 has available.
265 config MN10300_TTYSM_CONSOLE
266 bool "Support for console on ttySM serial ports"
267 depends on MN10300_TTYSM
268 select SERIAL_CORE_CONSOLE
270 This option enables support for a console on the on-chip serial ports
271 that the MN10300 has available.
276 config MN10300_TTYSM0
277 bool "Enable SIF0 (/dev/ttySM0)"
278 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM0
280 Enable access to SIF0 through /dev/ttySM0 or gdb-stub
283 prompt "Select the timer to supply the clock for SIF0"
284 default MN10300_TTYSM0_TIMER8
285 depends on MN10300_TTYSM0
287 config MN10300_TTYSM0_TIMER8
288 bool "Use timer 8 (16-bit)"
290 config MN10300_TTYSM0_TIMER2
291 bool "Use timer 2 (8-bit)"
298 config MN10300_TTYSM1
299 bool "Enable SIF1 (/dev/ttySM1)"
300 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM1
302 Enable access to SIF1 through /dev/ttySM1 or gdb-stub
305 prompt "Select the timer to supply the clock for SIF1"
306 default MN10300_TTYSM0_TIMER9
307 depends on MN10300_TTYSM1
309 config MN10300_TTYSM1_TIMER9
310 bool "Use timer 9 (16-bit)"
312 config MN10300_TTYSM1_TIMER3
313 bool "Use timer 3 (8-bit)"
320 config MN10300_TTYSM2
321 bool "Enable SIF2 (/dev/ttySM2)"
322 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM2
324 Enable access to SIF2 through /dev/ttySM2 or gdb-stub
327 prompt "Select the timer to supply the clock for SIF2"
328 default MN10300_TTYSM0_TIMER10
329 depends on MN10300_TTYSM2
331 config MN10300_TTYSM2_TIMER10
332 bool "Use timer 10 (16-bit)"
336 config MN10300_TTYSM2_CTS
337 bool "Enable the use of the CTS line /dev/ttySM2"
338 depends on MN10300_TTYSM2
344 menu "Power management options"
345 source kernel/power/Kconfig
351 menu "Executable formats"
353 source "fs/Kconfig.binfmt"
359 source "drivers/Kconfig"
363 source "arch/mn10300/Kconfig.debug"
365 source "security/Kconfig"
367 source "crypto/Kconfig"
371 source "arch/mn10300/oprofile/Kconfig"