blob: e856218da90d36098e719602be9ffaa78c28f606 [file] [log] [blame]
David Howellsb920de12008-02-08 04:19:31 -08001#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/kconfig-language.txt.
4#
5
6mainmenu "Linux Kernel Configuration"
7
8config MN10300
9 def_bool y
10
11config AM33
12 def_bool y
13
14config MMU
15 def_bool y
16
17config HIGHMEM
18 def_bool n
19
20config NUMA
21 def_bool n
22
23config UID16
24 def_bool y
25
26config RWSEM_GENERIC_SPINLOCK
27 def_bool y
28
29config RWSEM_XCHGADD_ALGORITHM
30 bool
31
32config GENERIC_HARDIRQS_NO__DO_IRQ
33 def_bool y
34
35config GENERIC_CALIBRATE_DELAY
36 def_bool y
37
38config GENERIC_FIND_NEXT_BIT
39 def_bool y
40
41config GENERIC_HWEIGHT
42 def_bool y
43
44config GENERIC_TIME
45 def_bool y
46
47config GENERIC_BUG
48 def_bool y
49
50config QUICKLIST
51 def_bool y
52
53config ARCH_HAS_ILOG2_U32
54 def_bool y
55
56config ARCH_SUPPORTS_AOUT
57 def_bool n
58
59# Use the generic interrupt handling code in kernel/irq/
60config GENERIC_HARDIRQS
61 def_bool y
62
63config HOTPLUG_CPU
64 def_bool n
65
David Howells860f7be2008-02-23 15:23:28 -080066config HZ
67 int
68 default 1000
69
David Howellsb920de12008-02-08 04:19:31 -080070mainmenu "Matsushita MN10300/AM33 Kernel Configuration"
71
72source "init/Kconfig"
73
74
75menu "Matsushita MN10300 system setup"
76
77choice
78 prompt "Unit type"
79 default MN10300_UNIT_ASB2303
80 help
81 This option specifies board for which the kernel will be
82 compiled. It affects the external peripherals catered for.
83
84config MN10300_UNIT_ASB2303
85 bool "ASB2303"
86
87config MN10300_UNIT_ASB2305
88 bool "ASB2305"
89
90endchoice
91
92choice
93 prompt "Processor support"
94 default MN10300_PROC_MN103E010
95 help
96 This option specifies the processor for which the kernel will be
97 compiled. It affects the on-chip peripherals catered for.
98
99config MN10300_PROC_MN103E010
100 bool "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
105
106endchoice
107
108choice
109 prompt "Processor core support"
110 default MN10300_CPU_AM33V2
111 help
112 This option specifies the processor core for which the kernel will be
113 compiled. It affects the instruction set used.
114
115config MN10300_CPU_AM33V2
116 bool "AM33v2"
117
118endchoice
119
120config FPU
121 bool "FPU present"
122 default y
123 depends on MN10300_PROC_MN103E010
124
125choice
126 prompt "CPU Caching mode"
127 default MN10300_CACHE_WBACK
128 help
129 This option determines the caching mode for the kernel.
130
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.
136
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.
140
141 The final option is to turn of caching entirely.
142
143config MN10300_CACHE_WBACK
144 bool "Write-Back"
145
146config MN10300_CACHE_WTHRU
147 bool "Write-Through"
148
149config MN10300_CACHE_DISABLED
150 bool "Disabled"
151
152endchoice
153
154menu "Memory layout options"
155
156config KERNEL_RAM_BASE_ADDRESS
157 hex "Base address of kernel RAM"
158 default "0x90000000"
159
160config INTERRUPT_VECTOR_BASE
161 hex "Base address of vector table"
162 default "0x90000000"
163 help
164 The base address of the vector table will be programmed into
165 the TBR register. It must be on 16MiB address boundary.
166
167config KERNEL_TEXT_ADDRESS
168 hex "Base address of kernel"
169 default "0x90001000"
170
171config KERNEL_ZIMAGE_BASE_ADDRESS
172 hex "Base address of compressed vmlinux image"
173 default "0x90700000"
174
175endmenu
176
177config PREEMPT
178 bool "Preemptible Kernel"
179 help
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
184 under load.
185
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.
188
David Howellsb920de12008-02-08 04:19:31 -0800189config MN10300_CURRENT_IN_E2
190 bool "Hold current task address in E2 register"
191 default y
192 help
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.
196
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.
201
202 This has no effect on userspace.
203
204config MN10300_USING_JTAG
205 bool "Using JTAG to debug kernel"
206 default y
207 help
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.
211
212config MN10300_RTC
213 bool "Using MN10300 RTC"
214 depends on MN10300_PROC_MN103E010
215 default n
216 help
217
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
220 on the MN103E010.
221
222config MN10300_WD_TIMER
223 bool "Using MN10300 watchdog timer"
224 default y
225 help
226 This options indicates that the watchdog timer will be used.
227
228config PCI
229 bool "Use PCI"
230 depends on MN10300_UNIT_ASB2305
231 default y
232 help
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.
235
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
239 doesn't.
240
241source "drivers/pci/Kconfig"
242
243source "drivers/pcmcia/Kconfig"
244
245menu "MN10300 internal serial options"
246
247config MN10300_PROC_HAS_TTYSM0
248 bool
249 default n
250
251config MN10300_PROC_HAS_TTYSM1
252 bool
253 default n
254
255config MN10300_PROC_HAS_TTYSM2
256 bool
257 default n
258
259config MN10300_TTYSM
260 bool "Support for ttySM serial ports"
261 depends on MN10300
262 default y
263 select SERIAL_CORE
264 help
265 This option enables support for the on-chip serial ports that the
266 MN10300 has available.
267
268config MN10300_TTYSM_CONSOLE
269 bool "Support for console on ttySM serial ports"
270 depends on MN10300_TTYSM
271 select SERIAL_CORE_CONSOLE
272 help
273 This option enables support for a console on the on-chip serial ports
274 that the MN10300 has available.
275
276#
277# /dev/ttySM0
278#
279config MN10300_TTYSM0
280 bool "Enable SIF0 (/dev/ttySM0)"
281 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM0
282 help
283 Enable access to SIF0 through /dev/ttySM0 or gdb-stub
284
285choice
286 prompt "Select the timer to supply the clock for SIF0"
287 default MN10300_TTYSM0_TIMER8
288 depends on MN10300_TTYSM0
289
290config MN10300_TTYSM0_TIMER8
291 bool "Use timer 8 (16-bit)"
292
293config MN10300_TTYSM0_TIMER2
294 bool "Use timer 2 (8-bit)"
295
296endchoice
297
298#
299# /dev/ttySM1
300#
301config MN10300_TTYSM1
302 bool "Enable SIF1 (/dev/ttySM1)"
303 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM1
304 help
305 Enable access to SIF1 through /dev/ttySM1 or gdb-stub
306
307choice
308 prompt "Select the timer to supply the clock for SIF1"
309 default MN10300_TTYSM0_TIMER9
310 depends on MN10300_TTYSM1
311
312config MN10300_TTYSM1_TIMER9
313 bool "Use timer 9 (16-bit)"
314
315config MN10300_TTYSM1_TIMER3
316 bool "Use timer 3 (8-bit)"
317
318endchoice
319
320#
321# /dev/ttySM2
322#
323config MN10300_TTYSM2
324 bool "Enable SIF2 (/dev/ttySM2)"
325 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM2
326 help
327 Enable access to SIF2 through /dev/ttySM2 or gdb-stub
328
329choice
330 prompt "Select the timer to supply the clock for SIF2"
331 default MN10300_TTYSM0_TIMER10
332 depends on MN10300_TTYSM2
333
334config MN10300_TTYSM2_TIMER10
335 bool "Use timer 10 (16-bit)"
336
337endchoice
338
339config MN10300_TTYSM2_CTS
340 bool "Enable the use of the CTS line /dev/ttySM2"
341 depends on MN10300_TTYSM2
342
343endmenu
344
345source "mm/Kconfig"
346
347menu "Power management options"
348source kernel/power/Kconfig
349endmenu
350
351endmenu
352
353
354menu "Executable formats"
355
356source "fs/Kconfig.binfmt"
357
358endmenu
359
360source "net/Kconfig"
361
362source "drivers/Kconfig"
363
364source "fs/Kconfig"
365
366source "arch/mn10300/Kconfig.debug"
367
368source "security/Kconfig"
369
370source "crypto/Kconfig"
371
372source "lib/Kconfig"
373
374source "arch/mn10300/oprofile/Kconfig"