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