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 config ARCH_SUPPORTS_AOUT
59 # Use the generic interrupt handling code in kernel/irq/
60 config GENERIC_HARDIRQS
66 <<<<<<< HEAD:arch/mn10300/Kconfig
72 >>>>>>> 264e3e889d86e552b4191d69bb60f4f3b383135a:arch/mn10300/Kconfig
73 mainmenu "Matsushita MN10300/AM33 Kernel Configuration"
78 menu "Matsushita MN10300 system setup"
82 default MN10300_UNIT_ASB2303
84 This option specifies board for which the kernel will be
85 compiled. It affects the external peripherals catered for.
87 config MN10300_UNIT_ASB2303
90 config MN10300_UNIT_ASB2305
96 prompt "Processor support"
97 default MN10300_PROC_MN103E010
99 This option specifies the processor for which the kernel will be
100 compiled. It affects the on-chip peripherals catered for.
102 config MN10300_PROC_MN103E010
104 depends on MN10300_UNIT_ASB2303 || MN10300_UNIT_ASB2305
105 select MN10300_PROC_HAS_TTYSM0
106 select MN10300_PROC_HAS_TTYSM1
107 select MN10300_PROC_HAS_TTYSM2
112 prompt "Processor core support"
113 default MN10300_CPU_AM33V2
115 This option specifies the processor core for which the kernel will be
116 compiled. It affects the instruction set used.
118 config MN10300_CPU_AM33V2
126 depends on MN10300_PROC_MN103E010
129 prompt "CPU Caching mode"
130 default MN10300_CACHE_WBACK
132 This option determines the caching mode for the kernel.
134 Write-Back caching mode involves the all reads and writes causing
135 the affected cacheline to be read into the cache first before being
136 operated upon. Memory is not then updated by a write until the cache
137 is filled and a cacheline needs to be displaced from the cache to
138 make room. Only at that point is it written back.
140 Write-Through caching only fetches cachelines from memory on a
141 read. Writes always get written directly to memory. If the affected
142 cacheline is also in cache, it will be updated too.
144 The final option is to turn of caching entirely.
146 config MN10300_CACHE_WBACK
149 config MN10300_CACHE_WTHRU
152 config MN10300_CACHE_DISABLED
157 menu "Memory layout options"
159 config KERNEL_RAM_BASE_ADDRESS
160 hex "Base address of kernel RAM"
163 config INTERRUPT_VECTOR_BASE
164 hex "Base address of vector table"
167 The base address of the vector table will be programmed into
168 the TBR register. It must be on 16MiB address boundary.
170 config KERNEL_TEXT_ADDRESS
171 hex "Base address of kernel"
174 config KERNEL_ZIMAGE_BASE_ADDRESS
175 hex "Base address of compressed vmlinux image"
181 bool "Preemptible Kernel"
183 This option reduces the latency of the kernel when reacting to
184 real-time or interactive events by allowing a low priority process to
185 be preempted even if it is in kernel mode executing a system call.
186 This allows applications to run more reliably even when the system is
189 Say Y here if you are building a kernel for a desktop, embedded
190 or real-time system. Say N if you are unsure.
193 bool "Preempt The Big Kernel Lock"
197 This option reduces the latency of the kernel by making the
198 big kernel lock preemptible.
200 Say Y here if you are building a kernel for a desktop system.
201 Say N if you are unsure.
203 config MN10300_CURRENT_IN_E2
204 bool "Hold current task address in E2 register"
207 This option removes the E2/R2 register from the set available to gcc
208 for normal use and instead uses it to store the address of the
209 current process's task_struct whilst in the kernel.
211 This means the kernel doesn't need to calculate the address each time
212 "current" is used (take SP, AND with mask and dereference pointer
213 just to get the address), and instead can just use E2+offset
214 addressing each time.
216 This has no effect on userspace.
218 config MN10300_USING_JTAG
219 bool "Using JTAG to debug kernel"
222 This options indicates that JTAG will be used to debug the kernel. It
223 suppresses the use of certain hardware debugging features, such as
224 single-stepping, which are taken over completely by the JTAG unit.
227 bool "Using MN10300 RTC"
228 depends on MN10300_PROC_MN103E010
232 This option enables support for the RTC, thus enabling time to be
233 tracked, even when system is powered down. This is available on-chip
236 config MN10300_WD_TIMER
237 bool "Using MN10300 watchdog timer"
240 This options indicates that the watchdog timer will be used.
244 depends on MN10300_UNIT_ASB2305
247 Some systems (such as the ASB2305) have PCI onboard. If you have one
248 of these boards and you wish to use the PCI facilities, say Y here.
250 The PCI-HOWTO, available from
251 <http://www.tldp.org/docs.html#howto>, contains valuable
252 information about which PCI hardware does work under Linux and which
255 source "drivers/pci/Kconfig"
257 source "drivers/pcmcia/Kconfig"
259 menu "MN10300 internal serial options"
261 config MN10300_PROC_HAS_TTYSM0
265 config MN10300_PROC_HAS_TTYSM1
269 config MN10300_PROC_HAS_TTYSM2
274 bool "Support for ttySM serial ports"
279 This option enables support for the on-chip serial ports that the
280 MN10300 has available.
282 config MN10300_TTYSM_CONSOLE
283 bool "Support for console on ttySM serial ports"
284 depends on MN10300_TTYSM
285 select SERIAL_CORE_CONSOLE
287 This option enables support for a console on the on-chip serial ports
288 that the MN10300 has available.
293 config MN10300_TTYSM0
294 bool "Enable SIF0 (/dev/ttySM0)"
295 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM0
297 Enable access to SIF0 through /dev/ttySM0 or gdb-stub
300 prompt "Select the timer to supply the clock for SIF0"
301 default MN10300_TTYSM0_TIMER8
302 depends on MN10300_TTYSM0
304 config MN10300_TTYSM0_TIMER8
305 bool "Use timer 8 (16-bit)"
307 config MN10300_TTYSM0_TIMER2
308 bool "Use timer 2 (8-bit)"
315 config MN10300_TTYSM1
316 bool "Enable SIF1 (/dev/ttySM1)"
317 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM1
319 Enable access to SIF1 through /dev/ttySM1 or gdb-stub
322 prompt "Select the timer to supply the clock for SIF1"
323 default MN10300_TTYSM0_TIMER9
324 depends on MN10300_TTYSM1
326 config MN10300_TTYSM1_TIMER9
327 bool "Use timer 9 (16-bit)"
329 config MN10300_TTYSM1_TIMER3
330 bool "Use timer 3 (8-bit)"
337 config MN10300_TTYSM2
338 bool "Enable SIF2 (/dev/ttySM2)"
339 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM2
341 Enable access to SIF2 through /dev/ttySM2 or gdb-stub
344 prompt "Select the timer to supply the clock for SIF2"
345 default MN10300_TTYSM0_TIMER10
346 depends on MN10300_TTYSM2
348 config MN10300_TTYSM2_TIMER10
349 bool "Use timer 10 (16-bit)"
353 config MN10300_TTYSM2_CTS
354 bool "Enable the use of the CTS line /dev/ttySM2"
355 depends on MN10300_TTYSM2
361 menu "Power management options"
362 source kernel/power/Kconfig
368 menu "Executable formats"
370 source "fs/Kconfig.binfmt"
376 source "drivers/Kconfig"
380 source "arch/mn10300/Kconfig.debug"
382 source "security/Kconfig"
384 source "crypto/Kconfig"
388 source "arch/mn10300/oprofile/Kconfig"