]> bbs.cooldavid.org Git - net-next-2.6.git/blob - arch/mn10300/Kconfig
kbuild: migrate all arch to the kconfig mainmenu upgrade
[net-next-2.6.git] / arch / mn10300 / Kconfig
1 config MN10300
2         def_bool y
3         select HAVE_OPROFILE
4         select HAVE_ARCH_TRACEHOOK
5
6 config AM33
7         def_bool y
8
9 config MMU
10         def_bool y
11
12 config HIGHMEM
13         def_bool n
14
15 config NUMA
16         def_bool n
17
18 config UID16
19         def_bool y
20
21 config RWSEM_GENERIC_SPINLOCK
22         def_bool y
23
24 config RWSEM_XCHGADD_ALGORITHM
25         bool
26
27 config GENERIC_HARDIRQS_NO__DO_IRQ
28         def_bool y
29
30 config GENERIC_CALIBRATE_DELAY
31         def_bool y
32
33 config GENERIC_CMOS_UPDATE
34         def_bool y
35
36 config GENERIC_FIND_NEXT_BIT
37         def_bool y
38
39 config GENERIC_HWEIGHT
40         def_bool y
41
42 config GENERIC_TIME
43         def_bool y
44
45 config GENERIC_BUG
46         def_bool y
47
48 config QUICKLIST
49         def_bool y
50
51 config ARCH_HAS_ILOG2_U32
52         def_bool y
53
54 # Use the generic interrupt handling code in kernel/irq/
55 config GENERIC_HARDIRQS
56         def_bool y
57
58 config HOTPLUG_CPU
59         def_bool n
60
61 config HZ
62         int
63         default 1000
64
65 source "init/Kconfig"
66
67 source "kernel/Kconfig.freezer"
68
69
70 menu "Matsushita MN10300 system setup"
71
72 choice
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
79 config MN10300_UNIT_ASB2303
80         bool "ASB2303"
81
82 config MN10300_UNIT_ASB2305
83         bool "ASB2305"
84
85 endchoice
86
87 choice
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
94 config 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
101 endchoice
102
103 choice
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
110 config MN10300_CPU_AM33V2
111         bool "AM33v2"
112
113 endchoice
114
115 config FPU
116         bool "FPU present"
117         default y
118         depends on MN10300_PROC_MN103E010
119
120 choice
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
138 config MN10300_CACHE_WBACK
139         bool "Write-Back"
140
141 config MN10300_CACHE_WTHRU
142         bool "Write-Through"
143
144 config MN10300_CACHE_DISABLED
145         bool "Disabled"
146
147 endchoice
148
149 menu "Memory layout options"
150
151 config KERNEL_RAM_BASE_ADDRESS
152         hex "Base address of kernel RAM"
153         default "0x90000000"
154
155 config 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
162 config KERNEL_TEXT_ADDRESS
163         hex "Base address of kernel"
164         default "0x90001000"
165
166 config KERNEL_ZIMAGE_BASE_ADDRESS
167         hex "Base address of compressed vmlinux image"
168         default "0x90700000"
169
170 endmenu
171
172 config 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
184 config 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
199 config 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
207 config 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
217 config 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
223 config 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
236 source "drivers/pci/Kconfig"
237
238 source "drivers/pcmcia/Kconfig"
239
240 menu "MN10300 internal serial options"
241
242 config MN10300_PROC_HAS_TTYSM0
243         bool
244         default n
245
246 config MN10300_PROC_HAS_TTYSM1
247         bool
248         default n
249
250 config MN10300_PROC_HAS_TTYSM2
251         bool
252         default n
253
254 config 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
263 config 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 #
274 config 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
280 choice
281         prompt "Select the timer to supply the clock for SIF0"
282         default MN10300_TTYSM0_TIMER8
283         depends on MN10300_TTYSM0
284
285 config MN10300_TTYSM0_TIMER8
286         bool "Use timer 8 (16-bit)"
287
288 config MN10300_TTYSM0_TIMER2
289         bool "Use timer 2 (8-bit)"
290
291 endchoice
292
293 #
294 # /dev/ttySM1
295 #
296 config 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
302 choice
303         prompt "Select the timer to supply the clock for SIF1"
304         default MN10300_TTYSM0_TIMER9
305         depends on MN10300_TTYSM1
306
307 config MN10300_TTYSM1_TIMER9
308         bool "Use timer 9 (16-bit)"
309
310 config MN10300_TTYSM1_TIMER3
311         bool "Use timer 3 (8-bit)"
312
313 endchoice
314
315 #
316 # /dev/ttySM2
317 #
318 config 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
324 choice
325         prompt "Select the timer to supply the clock for SIF2"
326         default MN10300_TTYSM0_TIMER10
327         depends on MN10300_TTYSM2
328
329 config MN10300_TTYSM2_TIMER10
330         bool "Use timer 10 (16-bit)"
331
332 endchoice
333
334 config MN10300_TTYSM2_CTS
335         bool "Enable the use of the CTS line /dev/ttySM2"
336         depends on MN10300_TTYSM2
337
338 endmenu
339
340 source "mm/Kconfig"
341
342 menu "Power management options"
343 source kernel/power/Kconfig
344 endmenu
345
346 endmenu
347
348
349 menu "Executable formats"
350
351 source "fs/Kconfig.binfmt"
352
353 endmenu
354
355 source "net/Kconfig"
356
357 source "drivers/Kconfig"
358
359 source "fs/Kconfig"
360
361 source "arch/mn10300/Kconfig.debug"
362
363 source "security/Kconfig"
364
365 source "crypto/Kconfig"
366
367 source "lib/Kconfig"