MN10300: AM34: Add cacheflushing by using the AM34 purge registers
[linux-2.6-block.git] / arch / mn10300 / Kconfig
CommitLineData
b920de1b
DH
1#
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
58bafe72 10 select HAVE_OPROFILE
b920de1b 11
22d4225f
AT
12config AM33_2
13 def_bool n
14
15config AM33_3
16 def_bool n
17
18config AM34_2
19 def_bool n
8fbbf7c7 20 select MN10300_HAS_ATOMIC_OPS_UNIT
b920de1b
DH
21
22config MMU
23 def_bool y
24
25config HIGHMEM
26 def_bool n
27
28config NUMA
29 def_bool n
30
31config UID16
32 def_bool y
33
34config RWSEM_GENERIC_SPINLOCK
35 def_bool y
36
37config RWSEM_XCHGADD_ALGORITHM
38 bool
39
40config GENERIC_HARDIRQS_NO__DO_IRQ
41 def_bool y
42
43config GENERIC_CALIBRATE_DELAY
44 def_bool y
45
f7a56575
JS
46config GENERIC_CMOS_UPDATE
47 def_bool y
48
b920de1b
DH
49config GENERIC_FIND_NEXT_BIT
50 def_bool y
51
52config GENERIC_HWEIGHT
53 def_bool y
54
b920de1b
DH
55config GENERIC_BUG
56 def_bool y
57
58config QUICKLIST
59 def_bool y
60
61config ARCH_HAS_ILOG2_U32
62 def_bool y
63
b920de1b
DH
64# Use the generic interrupt handling code in kernel/irq/
65config GENERIC_HARDIRQS
66 def_bool y
67
68config HOTPLUG_CPU
69 def_bool n
70
860f7be2
DH
71config HZ
72 int
73 default 1000
74
b920de1b
DH
75mainmenu "Matsushita MN10300/AM33 Kernel Configuration"
76
77source "init/Kconfig"
78
dc52ddc0
MH
79source "kernel/Kconfig.freezer"
80
b920de1b
DH
81
82menu "Matsushita MN10300 system setup"
83
84choice
85 prompt "Unit type"
86 default MN10300_UNIT_ASB2303
87 help
88 This option specifies board for which the kernel will be
89 compiled. It affects the external peripherals catered for.
90
91config MN10300_UNIT_ASB2303
92 bool "ASB2303"
93
94config MN10300_UNIT_ASB2305
95 bool "ASB2305"
96
97endchoice
98
99choice
100 prompt "Processor support"
101 default MN10300_PROC_MN103E010
102 help
103 This option specifies the processor for which the kernel will be
104 compiled. It affects the on-chip peripherals catered for.
105
106config MN10300_PROC_MN103E010
107 bool "MN103E010"
108 depends on MN10300_UNIT_ASB2303 || MN10300_UNIT_ASB2305
22d4225f 109 select AM33_2
b920de1b
DH
110 select MN10300_PROC_HAS_TTYSM0
111 select MN10300_PROC_HAS_TTYSM1
112 select MN10300_PROC_HAS_TTYSM2
113
114endchoice
115
116choice
117 prompt "Processor core support"
118 default MN10300_CPU_AM33V2
119 help
120 This option specifies the processor core for which the kernel will be
121 compiled. It affects the instruction set used.
122
123config MN10300_CPU_AM33V2
124 bool "AM33v2"
125
126endchoice
127
8fbbf7c7
AT
128config MN10300_HAS_ATOMIC_OPS_UNIT
129 def_bool n
130 help
131 This should be enabled if the processor has an atomic ops unit
132 capable of doing LL/SC equivalent operations.
133
b920de1b
DH
134config FPU
135 bool "FPU present"
136 default y
137 depends on MN10300_PROC_MN103E010
138
0bc42d7f 139source "arch/mn10300/mm/Kconfig.cache"
b920de1b
DH
140
141menu "Memory layout options"
142
143config KERNEL_RAM_BASE_ADDRESS
144 hex "Base address of kernel RAM"
145 default "0x90000000"
146
147config INTERRUPT_VECTOR_BASE
148 hex "Base address of vector table"
149 default "0x90000000"
150 help
151 The base address of the vector table will be programmed into
152 the TBR register. It must be on 16MiB address boundary.
153
154config KERNEL_TEXT_ADDRESS
155 hex "Base address of kernel"
156 default "0x90001000"
157
158config KERNEL_ZIMAGE_BASE_ADDRESS
159 hex "Base address of compressed vmlinux image"
160 default "0x90700000"
161
162endmenu
163
164config PREEMPT
165 bool "Preemptible Kernel"
166 help
167 This option reduces the latency of the kernel when reacting to
168 real-time or interactive events by allowing a low priority process to
169 be preempted even if it is in kernel mode executing a system call.
170 This allows applications to run more reliably even when the system is
171 under load.
172
173 Say Y here if you are building a kernel for a desktop, embedded
174 or real-time system. Say N if you are unsure.
175
b920de1b
DH
176config MN10300_CURRENT_IN_E2
177 bool "Hold current task address in E2 register"
178 default y
179 help
180 This option removes the E2/R2 register from the set available to gcc
181 for normal use and instead uses it to store the address of the
182 current process's task_struct whilst in the kernel.
183
184 This means the kernel doesn't need to calculate the address each time
185 "current" is used (take SP, AND with mask and dereference pointer
186 just to get the address), and instead can just use E2+offset
187 addressing each time.
188
189 This has no effect on userspace.
190
191config MN10300_USING_JTAG
192 bool "Using JTAG to debug kernel"
193 default y
194 help
195 This options indicates that JTAG will be used to debug the kernel. It
196 suppresses the use of certain hardware debugging features, such as
197 single-stepping, which are taken over completely by the JTAG unit.
198
199config MN10300_RTC
200 bool "Using MN10300 RTC"
201 depends on MN10300_PROC_MN103E010
202 default n
203 help
204
205 This option enables support for the RTC, thus enabling time to be
206 tracked, even when system is powered down. This is available on-chip
207 on the MN103E010.
208
209config MN10300_WD_TIMER
210 bool "Using MN10300 watchdog timer"
211 default y
212 help
213 This options indicates that the watchdog timer will be used.
214
215config PCI
216 bool "Use PCI"
217 depends on MN10300_UNIT_ASB2305
218 default y
219 help
220 Some systems (such as the ASB2305) have PCI onboard. If you have one
221 of these boards and you wish to use the PCI facilities, say Y here.
222
223 The PCI-HOWTO, available from
224 <http://www.tldp.org/docs.html#howto>, contains valuable
225 information about which PCI hardware does work under Linux and which
226 doesn't.
227
228source "drivers/pci/Kconfig"
229
230source "drivers/pcmcia/Kconfig"
231
232menu "MN10300 internal serial options"
233
234config MN10300_PROC_HAS_TTYSM0
235 bool
236 default n
237
238config MN10300_PROC_HAS_TTYSM1
239 bool
240 default n
241
242config MN10300_PROC_HAS_TTYSM2
243 bool
244 default n
245
246config MN10300_TTYSM
247 bool "Support for ttySM serial ports"
248 depends on MN10300
249 default y
250 select SERIAL_CORE
251 help
252 This option enables support for the on-chip serial ports that the
253 MN10300 has available.
254
255config MN10300_TTYSM_CONSOLE
256 bool "Support for console on ttySM serial ports"
257 depends on MN10300_TTYSM
258 select SERIAL_CORE_CONSOLE
259 help
260 This option enables support for a console on the on-chip serial ports
261 that the MN10300 has available.
262
263#
264# /dev/ttySM0
265#
266config MN10300_TTYSM0
267 bool "Enable SIF0 (/dev/ttySM0)"
268 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM0
269 help
270 Enable access to SIF0 through /dev/ttySM0 or gdb-stub
271
272choice
273 prompt "Select the timer to supply the clock for SIF0"
274 default MN10300_TTYSM0_TIMER8
275 depends on MN10300_TTYSM0
276
277config MN10300_TTYSM0_TIMER8
278 bool "Use timer 8 (16-bit)"
279
280config MN10300_TTYSM0_TIMER2
281 bool "Use timer 2 (8-bit)"
282
283endchoice
284
285#
286# /dev/ttySM1
287#
288config MN10300_TTYSM1
289 bool "Enable SIF1 (/dev/ttySM1)"
290 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM1
291 help
292 Enable access to SIF1 through /dev/ttySM1 or gdb-stub
293
294choice
295 prompt "Select the timer to supply the clock for SIF1"
296 default MN10300_TTYSM0_TIMER9
297 depends on MN10300_TTYSM1
298
299config MN10300_TTYSM1_TIMER9
300 bool "Use timer 9 (16-bit)"
301
302config MN10300_TTYSM1_TIMER3
303 bool "Use timer 3 (8-bit)"
304
305endchoice
306
307#
308# /dev/ttySM2
309#
310config MN10300_TTYSM2
311 bool "Enable SIF2 (/dev/ttySM2)"
312 depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM2
313 help
314 Enable access to SIF2 through /dev/ttySM2 or gdb-stub
315
316choice
317 prompt "Select the timer to supply the clock for SIF2"
318 default MN10300_TTYSM0_TIMER10
319 depends on MN10300_TTYSM2
320
321config MN10300_TTYSM2_TIMER10
322 bool "Use timer 10 (16-bit)"
323
324endchoice
325
326config MN10300_TTYSM2_CTS
327 bool "Enable the use of the CTS line /dev/ttySM2"
328 depends on MN10300_TTYSM2
329
330endmenu
331
332source "mm/Kconfig"
333
334menu "Power management options"
335source kernel/power/Kconfig
336endmenu
337
338endmenu
339
340
341menu "Executable formats"
342
343source "fs/Kconfig.binfmt"
344
345endmenu
346
347source "net/Kconfig"
348
349source "drivers/Kconfig"
350
351source "fs/Kconfig"
352
353source "arch/mn10300/Kconfig.debug"
354
355source "security/Kconfig"
356
357source "crypto/Kconfig"
358
359source "lib/Kconfig"