556863890a72f143b342d7ed7b42b4773d7c16c2
[linux-2.6.git] / arch / h8300 / Kconfig
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/config-language.txt.
4 #
5
6 mainmenu "uClinux/h8300 (w/o MMU) Kernel Configuration"
7
8 config H8300
9         bool
10         default y
11
12 config MMU
13         bool
14         default n
15
16 config SWAP
17         bool
18         default n
19
20 config FPU
21         bool
22         default n
23
24 config UID16
25         bool
26         default y
27
28 config RWSEM_GENERIC_SPINLOCK
29         bool
30         default y
31
32 config RWSEM_XCHGADD_ALGORITHM
33         bool
34         default n
35
36 config ISA
37         bool
38         default y
39
40 config PCI
41         bool
42         default n
43
44 source "init/Kconfig"
45
46 menu "Processor type and features"
47
48 choice
49         prompt "H8/300 platform"
50         default H8300H_GENERIC
51
52 config H8300H_GENERIC
53         bool "Generic"
54         help
55           H8/300H CPU Generic Hardware Support
56
57 config H8300H_AKI3068NET
58         bool "AE-3068/69"
59         help
60           AKI-H8/3068F / AKI-H8/3069F Flashmicom LAN Board Support
61           More Information. (Japanese Only)
62           <http://akizukidensi.com/catalog/h8.html>
63           AE-3068/69 Evaluation Board Support
64           More Information.
65           <http://www.microtronique.com/ae3069lan.htm>
66
67 config H8300H_H8MAX
68         bool "H8MAX"
69         help
70           H8MAX Evaluation Board Support
71           More Information. (Japanese Only)
72           <http://strawberry-linux.com/h8/index.html>
73
74 config H8300H_SIM
75         bool "H8/300H Simulator"
76         help
77           GDB Simulator Support
78           More Information.
79           arch/h8300/Doc/simulator.txt
80
81 config H8S_EDOSK2674
82         bool "EDOSK-2674"
83         help
84           Renesas EDOSK-2674 Evaluation Board Support
85           More Information.
86           <http://www.azpower.com/H8-uClinux/index.html>
87           <http://www.eu.renesas.com/tools/edk/support/edosk2674.html>
88
89 config H8S_SIM
90         bool "H8S Simulator"
91         help
92           GDB Simulator Support
93           More Information.
94           arch/h8300/Doc/simulator.txt
95
96 endchoice
97
98 choice 
99         prompt "CPU Selection"
100
101 config H83002
102         bool "H8/3001,3002,3003"
103         depends on H8300H_GENERIC
104
105 config H83007
106         bool "H8/3006,3007"
107         depends on (H8300H_GENERIC || H8300H_SIM)
108
109 config H83048
110         bool "H8/3044,3045,3046,3047,3048,3052"
111         depends on H8300H_GENERIC
112
113 config H83068
114         bool "H8/3065,3066,3067,3068,3069"
115         depends on (H8300H_GENERIC || H8300H_AKI3068NET || H8300H_H8MAX)
116
117 config H8S2678
118         bool "H8S/2670,2673,2674R,2675,2676"
119         depends on (H8S_GENERIC || H8S_EDOSK2674 || H8S_SIM)
120
121 endchoice
122
123 config CPU_H8300H
124         bool
125         depends on (H8300H_GENERIC || H8300H_AKI3068NET || H8300H_H8MAX || H8300H_SIM)
126         default y
127
128 config CPU_H8S
129         bool
130         depends on (H8S_GENERIC || H8S_EDOSK2674 || H8S_SIM)
131         default y
132
133 config CPU_CLOCK
134         int "CPU Clock Frequency (/1KHz)"       
135         default "20000" if H8300H_AKI3068NET
136         default "25000" if H8300H_H8MAX
137         default "16000" if H8300H_SIM
138         default "16000" if H8300H_GENERIC
139         default "33000" if H8S_GENERIC
140         default "33000" if H8S_SIM
141         default "33000" if H8S_EDOSK2674
142         help
143           CPU Clock Frequency divide to 1000
144 choice
145         prompt "Kernel executes from"
146         ---help---
147           Choose the memory type that the kernel will be running in.
148
149 config RAMKERNEL
150         bool "RAM"
151         help
152           The kernel will be resident in RAM when running.
153
154 config ROMKERNEL
155         bool "ROM"
156         help
157           The kernel will be resident in FLASH/ROM when running.
158
159 endchoice
160
161 endmenu
162
163 menu "Executable file formats"
164
165 source "fs/Kconfig.binfmt"
166
167 endmenu
168
169 source "drivers/base/Kconfig"
170
171 source "drivers/mtd/Kconfig"
172
173 source "drivers/block/Kconfig"
174
175 source "drivers/ide/Kconfig"
176
177 source "arch/h8300/Kconfig.ide"
178
179 source "net/Kconfig"
180
181 #
182 # input - input/joystick depends on it. As does USB.
183 #
184 source "drivers/input/Kconfig"
185
186 menu "Character devices"
187
188 config VT
189         bool "Virtual terminal"
190         ---help---
191           If you say Y here, you will get support for terminal devices with
192           display and keyboard devices. These are called "virtual" because you
193           can run several virtual terminals (also called virtual consoles) on
194           one physical terminal. This is rather useful, for example one
195           virtual terminal can collect system messages and warnings, another
196           one can be used for a text-mode user session, and a third could run
197           an X session, all in parallel. Switching between virtual terminals
198           is done with certain key combinations, usually Alt-<function key>.
199
200           The setterm command ("man setterm") can be used to change the
201           properties (such as colors or beeping) of a virtual terminal. The
202           man page console_codes(4) ("man console_codes") contains the special
203           character sequences that can be used to change those properties
204           directly. The fonts used on virtual terminals can be changed with
205           the setfont ("man setfont") command and the key bindings are defined
206           with the loadkeys ("man loadkeys") command.
207
208           You need at least one virtual terminal device in order to make use
209           of your keyboard and monitor. Therefore, only people configuring an
210           embedded system would want to say N here in order to save some
211           memory; the only way to log into such a system is then via a serial
212           or network connection.
213
214           If unsure, say Y, or else you won't be able to do much with your new
215           shiny Linux system :-)
216
217 config VT_CONSOLE
218         bool "Support for console on virtual terminal"
219         depends on VT
220         ---help---
221           The system console is the device which receives all kernel messages
222           and warnings and which allows logins in single user mode. If you
223           answer Y here, a virtual terminal (the device used to interact with
224           a physical terminal) can be used as system console. This is the most
225           common mode of operations, so you should say Y here unless you want
226           the kernel messages be output only to a serial port (in which case
227           you should say Y to "Console on serial port", below).
228
229           If you do say Y here, by default the currently visible virtual
230           terminal (/dev/tty0) will be used as system console. You can change
231           that with a kernel command line option such as "console=tty3" which
232           would use the third virtual terminal as system console. (Try "man
233           bootparam" or see the documentation of your boot loader (lilo or
234           loadlin) about how to pass options to the kernel at boot time.)
235
236           If unsure, say Y.
237
238 config HW_CONSOLE
239         bool
240         depends on VT && !S390 && !UM
241         default y
242
243 comment "Unix98 PTY support"
244
245 config UNIX98_PTYS
246         bool "Unix98 PTY support"
247         ---help---
248           A pseudo terminal (PTY) is a software device consisting of two
249           halves: a master and a slave. The slave device behaves identical to
250           a physical terminal; the master device is used by a process to
251           read data from and write data to the slave, thereby emulating a
252           terminal. Typical programs for the master side are telnet servers
253           and xterms.
254
255           Linux has traditionally used the BSD-like names /dev/ptyxx for
256           masters and /dev/ttyxx for slaves of pseudo terminals. This scheme
257           has a number of problems. The GNU C library glibc 2.1 and later,
258           however, supports the Unix98 naming standard: in order to acquire a
259           pseudo terminal, a process opens /dev/ptmx; the number of the pseudo
260           terminal is then made available to the process and the pseudo
261           terminal slave can be accessed as /dev/pts/<number>. What was
262           traditionally /dev/ttyp2 will then be /dev/pts/2, for example.
263
264           The entries in /dev/pts/ are created on the fly by a virtual
265           file system; therefore, if you say Y here you should say Y to
266           "/dev/pts file system for Unix98 PTYs" as well.
267
268           If you want to say Y here, you need to have the C library glibc 2.1
269           or later (equal to libc-6.1, check with "ls -l /lib/libc.so.*").
270           Read the instructions in <file:Documentation/Changes> pertaining to
271           pseudo terminals. It's safe to say N.
272
273 config UNIX98_PTY_COUNT
274         int "Maximum number of Unix98 PTYs in use (0-2048)"
275         depends on UNIX98_PTYS
276         default "256"
277         help
278           The maximum number of Unix98 PTYs that can be used at any one time.
279           The default is 256, and should be enough for desktop systems. Server
280           machines which support incoming telnet/rlogin/ssh connections and/or
281           serve several X terminals may want to increase this: every incoming
282           connection and every xterm uses up one PTY.
283
284           When not in use, each additional set of 256 PTYs occupy
285           approximately 8 KB of kernel memory on 32-bit architectures.
286
287 source "drivers/char/pcmcia/Kconfig"
288
289 source "drivers/serial/Kconfig"
290
291 source "drivers/i2c/Kconfig"
292
293 source "drivers/usb/Kconfig"
294  
295 endmenu
296
297 source "fs/Kconfig"
298
299 menu "Kernel hacking"
300
301 config FULLDEBUG
302         bool "Full Symbolic/Source Debugging support"
303         help
304           Enable debugging symbols on kernel build.
305
306 config MAGIC_SYSRQ
307         bool "Magic SysRq key"
308         help
309           Enables console device to interprent special characters as
310           commands to dump state information.
311
312 config HIGHPROFILE
313         bool "Use fast second timer for profiling"
314         help
315           Use a fast secondary clock to produce profiling information.
316
317 config NO_KERNEL_MSG
318         bool "Suppress Kernel BUG Messages"
319         help
320           Do not output any debug BUG messages within the kernel.
321
322 config GDB_MAGICPRINT
323         bool "Message Output for GDB MagicPrint service"
324         depends on (H8300H_SIM || H8S_SIM)
325         help
326           kernel messages output useing MagicPrint service from GDB
327
328 config SYSCALL_PRINT
329         bool "SystemCall trace print"
330         help
331           outout history of systemcall
332
333 config GDB_DEBUG
334         bool "Use gdb stub"
335         depends on (!H8300H_SIM && !H8S_SIM)
336         help
337           gdb stub exception support
338
339 config CONFIG_SH_STANDARD_BIOS
340         bool "Use gdb protocol serial console"
341         depends on (!H8300H_SIM && H8S_SIM)
342         help
343           serial console output using GDB protocol.
344           Require eCos/RedBoot
345
346 config DEFAULT_CMDLINE
347         bool "Use buildin commandline"
348         default n
349         help
350           buildin kernel commandline enabled.
351
352 config KERNEL_COMMAND
353         string "Buildin commmand string"
354         depends on DEFAULT_CMDLINE
355         help
356           buildin kernel commandline strings.
357
358 config BLKDEV_RESERVE
359         bool "BLKDEV Reserved Memory"
360         default n
361         help
362           Reserved BLKDEV area.
363
364 config CONFIG_BLKDEV_RESERVE_ADDRESS
365         hex 'start address'
366         depends on BLKDEV_RESERVE
367         help
368           BLKDEV start address.
369 endmenu
370
371 source "security/Kconfig"
372
373 source "crypto/Kconfig"
374
375 source "lib/Kconfig"
376