blob: 9a9f433588792f5030796b2686193f4983c98ce9 [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
David Howellsb920de12008-02-08 04:19:31 -080056# Use the generic interrupt handling code in kernel/irq/
57config GENERIC_HARDIRQS
58 def_bool y
59
60config HOTPLUG_CPU
61 def_bool n
62
David Howells860f7be2008-02-23 15:23:28 -080063config HZ
64 int
65 default 1000
66
David Howellsb920de12008-02-08 04:19:31 -080067mainmenu "Matsushita MN10300/AM33 Kernel Configuration"
68
69source "init/Kconfig"
70
Matt Helsleydc52ddc2008-10-18 20:27:21 -070071source "kernel/Kconfig.freezer"
72
David Howellsb920de12008-02-08 04:19:31 -080073
74menu "Matsushita MN10300 system setup"
75
76choice
77 prompt "Unit type"
78 default MN10300_UNIT_ASB2303
79 help
80 This option specifies board for which the kernel will be
81 compiled. It affects the external peripherals catered for.
82
83config MN10300_UNIT_ASB2303
84 bool "ASB2303"
85
86config MN10300_UNIT_ASB2305
87 bool "ASB2305"
88
89endchoice
90
91choice
92 prompt "Processor support"
93 default MN10300_PROC_MN103E010
94 help
95 This option specifies the processor for which the kernel will be
96 compiled. It affects the on-chip peripherals catered for.
97
98config MN10300_PROC_MN103E010
99 bool "MN103E010"
100 depends on MN10300_UNIT_ASB2303 || MN10300_UNIT_ASB2305
101 select MN10300_PROC_HAS_TTYSM0
102 select MN10300_PROC_HAS_TTYSM1
103 select MN10300_PROC_HAS_TTYSM2
104
105endchoice
106
107choice
108 prompt "Processor core support"
109 default MN10300_CPU_AM33V2
110 help
111 This option specifies the processor core for which the kernel will be
112 compiled. It affects the instruction set used.
113
114config MN10300_CPU_AM33V2
115 bool "AM33v2"
116
117endchoice
118
119config FPU
120 bool "FPU present"
121 default y
122 depends on MN10300_PROC_MN103E010
123
124choice
125 prompt "CPU Caching mode"
126 default MN10300_CACHE_WBACK
127 help
128 This option determines the caching mode for the kernel.
129
130 Write-Back caching mode involves the all reads and writes causing
131 the affected cacheline to be read into the cache first before being
132 operated upon. Memory is not then updated by a write until the cache
133 is filled and a cacheline needs to be displaced from the cache to
134 make room. Only at that point is it written back.
135
136 Write-Through caching only fetches cachelines from memory on a
137 read. Writes always get written directly to memory. If the affected
138 cacheline is also in cache, it will be updated too.
139
140 The final option is to turn of caching entirely.
141
142config MN10300_CACHE_WBACK
143 bool "Write-Back"
144
145config MN10300_CACHE_WTHRU
146 bool "Write-Through"
147
148config MN10300_CACHE_DISABLED
149 bool "Disabled"
150
151endchoice
152
153menu "Memory layout options"
154
155config KERNEL_RAM_BASE_ADDRESS
156 hex "Base address of kernel RAM"
157 default "0x90000000"
158
159config INTERRUPT_VECTOR_BASE
160 hex "Base address of vector table"
161 default "0x90000000"
162 help
163 The base address of the vector table will be programmed into
164 the TBR register. It must be on 16MiB address boundary.
165
166config KERNEL_TEXT_ADDRESS
167 hex "Base address of kernel"
168 default "0x90001000"
169
170config KERNEL_ZIMAGE_BASE_ADDRESS
171 hex "Base address of compressed vmlinux image"
172 default "0x90700000"
173
174endmenu
175
176config PREEMPT
177 bool "Preemptible Kernel"
178 help
179 This option reduces the latency of the kernel when reacting to
180 real-time or interactive events by allowing a low priority process to
181 be preempted even if it is in kernel mode executing a system call.
182 This allows applications to run more reliably even when the system is
183 under load.
184
185 Say Y here if you are building a kernel for a desktop, embedded
186 or real-time system. Say N if you are unsure.
187
David Howellsb920de12008-02-08 04:19:31 -0800188config MN10300_CURRENT_IN_E2
189 bool "Hold current task address in E2 register"
190 default y
191 help
192 This option removes the E2/R2 register from the set available to gcc
193 for normal use and instead uses it to store the address of the
194 current process's task_struct whilst in the kernel.
195
196 This means the kernel doesn't need to calculate the address each time
197 "current" is used (take SP, AND with mask and dereference pointer
198 just to get the address), and instead can just use E2+offset
199 addressing each time.
200
201 This has no effect on userspace.
202
203config MN10300_USING_JTAG
204 bool "Using JTAG to debug kernel"
205 default y
206 help
207 This options indicates that JTAG will be used to debug the kernel. It
208 suppresses the use of certain hardware debugging features, such as
209 single-stepping, which are taken over completely by the JTAG unit.
210
211config MN10300_RTC
212 bool "Using MN10300 RTC"
213 depends on MN10300_PROC_MN103E010
214 default n
215 help
216
217 This option enables support for the RTC, thus enabling time to be
218 tracked, even when system is powered down. This is available on-chip
219 on the MN103E010.
220
221config MN10300_WD_TIMER
222 bool "Using MN10300 watchdog timer"
223 default y
224 help
225 This options indicates that the watchdog timer will be used.
226
227config PCI
228 bool "Use PCI"
229 depends on MN10300_UNIT_ASB2305
230 default y
231 help
232 Some systems (such as the ASB2305) have PCI onboard. If you have one
233 of these boards and you wish to use the PCI facilities, say Y here.
234
235 The PCI-HOWTO, available from
236 <http://www.tldp.org/docs.html#howto>, contains valuable
237 information about which PCI hardware does work under Linux and which
238 doesn't.
239
240source "drivers/pci/Kconfig"
241
242source "drivers/pcmcia/Kconfig"
243
244menu "MN10300 internal serial options"
245
246config MN10300_PROC_HAS_TTYSM0
247 bool
248 default n
249
250config MN10300_PROC_HAS_TTYSM1
251 bool
252 default n
253
254config MN10300_PROC_HAS_TTYSM2
255 bool
256 default n
257
258config MN10300_TTYSM
259 bool "Support for ttySM serial ports"
260 depends on MN10300
261 default y
262 select SERIAL_CORE
263 help
264 This option enables support for the on-chip serial ports that the
265 MN10300 has available.
266
267config MN10300_TTYSM_CONSOLE
268 bool "Support for console on ttySM serial ports"
269 depends on MN10300_TTYSM
270 select SERIAL_CORE_CONSOLE
271 help
272 This option enables support for a console on the on-chip serial ports
273 that the MN10300 has available.
274
275#
276# /dev/ttySM0
277#
278config MN10300_TTYSM0
279 bool "Enable SIF0 (/dev/ttySM0)"
280 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM0
281 help
282 Enable access to SIF0 through /dev/ttySM0 or gdb-stub
283
284choice
285 prompt "Select the timer to supply the clock for SIF0"
286 default MN10300_TTYSM0_TIMER8
287 depends on MN10300_TTYSM0
288
289config MN10300_TTYSM0_TIMER8
290 bool "Use timer 8 (16-bit)"
291
292config MN10300_TTYSM0_TIMER2
293 bool "Use timer 2 (8-bit)"
294
295endchoice
296
297#
298# /dev/ttySM1
299#
300config MN10300_TTYSM1
301 bool "Enable SIF1 (/dev/ttySM1)"
302 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM1
303 help
304 Enable access to SIF1 through /dev/ttySM1 or gdb-stub
305
306choice
307 prompt "Select the timer to supply the clock for SIF1"
308 default MN10300_TTYSM0_TIMER9
309 depends on MN10300_TTYSM1
310
311config MN10300_TTYSM1_TIMER9
312 bool "Use timer 9 (16-bit)"
313
314config MN10300_TTYSM1_TIMER3
315 bool "Use timer 3 (8-bit)"
316
317endchoice
318
319#
320# /dev/ttySM2
321#
322config MN10300_TTYSM2
323 bool "Enable SIF2 (/dev/ttySM2)"
324 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM2
325 help
326 Enable access to SIF2 through /dev/ttySM2 or gdb-stub
327
328choice
329 prompt "Select the timer to supply the clock for SIF2"
330 default MN10300_TTYSM0_TIMER10
331 depends on MN10300_TTYSM2
332
333config MN10300_TTYSM2_TIMER10
334 bool "Use timer 10 (16-bit)"
335
336endchoice
337
338config MN10300_TTYSM2_CTS
339 bool "Enable the use of the CTS line /dev/ttySM2"
340 depends on MN10300_TTYSM2
341
342endmenu
343
344source "mm/Kconfig"
345
346menu "Power management options"
347source kernel/power/Kconfig
348endmenu
349
350endmenu
351
352
353menu "Executable formats"
354
355source "fs/Kconfig.binfmt"
356
357endmenu
358
359source "net/Kconfig"
360
361source "drivers/Kconfig"
362
363source "fs/Kconfig"
364
365source "arch/mn10300/Kconfig.debug"
366
367source "security/Kconfig"
368
369source "crypto/Kconfig"
370
371source "lib/Kconfig"
372
373source "arch/mn10300/oprofile/Kconfig"