86a05dbffc5b4f17acb2a438f696d005b2e6dc5f
[linux-2.6.git] / arch / cris / Kconfig
1 #
2 # For a description of the syntax of this configuration file,
3 # see the Configure script.
4 #
5
6 mainmenu "Linux/CRIS Kernel Configuration"
7
8 config MMU
9         bool
10         default y
11
12 config UID16
13         bool
14         default y
15
16 config RWSEM_GENERIC_SPINLOCK
17         bool
18         default y
19
20 config RWSEM_XCHGADD_ALGORITHM
21         bool
22
23 source "init/Kconfig"
24
25
26 menu "General setup"
27
28 source "fs/Kconfig.binfmt"
29
30 config ETRAX_KGDB
31         bool "Use kernel gdb debugger"
32         ---help---
33           The CRIS version of gdb can be used to remotely debug a running
34           Linux kernel via the serial debug port.  Provided you have gdb-cris
35           installed, run gdb-cris vmlinux, then type
36
37           (gdb) set remotebaud 115200           <- kgdb uses 115200 as default
38           (gdb) target remote /dev/ttyS0        <- maybe you use another port
39
40           This should connect you to your booted kernel (or boot it now if you
41           didn't before).  The kernel halts when it boots, waiting for gdb if
42           this option is turned on!
43
44 config ETRAX_WATCHDOG
45         bool "Enable ETRAX watchdog"
46         help
47           Enable the built-in watchdog timer support on ETRAX based embedded
48           network computers.
49
50 config ETRAX_WATCHDOG_NICE_DOGGY
51         bool "Disable watchdog during Oops printouts"
52         depends on ETRAX_WATCHDOG
53         help
54           By enabling this you make sure that the watchdog does not bite while
55           printing oopses. Recommended for development systems but not for
56           production releases.
57
58 config ETRAX_FAST_TIMER
59        bool "Enable ETRAX fast timer API"
60        help
61          This options enables the API to a fast timer implementation using
62          timer1 to get sub jiffie resolution timers (primarily one-shot 
63          timers).
64          This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
65
66 config PREEMPT
67         bool "Preemptible Kernel"
68         help
69           This option reduces the latency of the kernel when reacting to
70           real-time or interactive events by allowing a low priority process to
71           be preempted even if it is in kernel mode executing a system call.
72           This allows applications to run more reliably even when the system is
73           under load.
74
75           Say Y here if you are building a kernel for a desktop, embedded
76           or real-time system.  Say N if you are unsure.
77
78 endmenu
79
80
81 menu "Hardware setup"
82
83 choice
84         prompt "Processor type"
85         default ETRAX100LX
86
87 config ETRAX100LX
88         bool "ETRAX-100LX-v1"
89         help
90           Support version 1 of the ETRAX 100LX.
91
92 config ETRAX100LX_V2
93         bool "ETRAX-100LX-v2"
94         help
95           Support version 2 of the ETRAX 100LX.
96
97 config SVINTO_SIM
98         bool "ETRAX-100LX-for-xsim-simulator"
99         help
100           Support the xsim ETRAX Simulator.
101
102 config ETRAX200LX
103         bool "ETRAX-200LX-V32"
104         help
105           Support CRIS V32.
106
107 endchoice
108
109 config ETRAX_ARCH_V10
110        bool
111        default y if ETRAX100LX || ETRAX100LX_V2
112        default n if !(ETRAX100LX || ETRAX100LX_V2) 
113
114 config ETRAX_ARCH_V32
115        bool
116        default y if ETRAX200LX
117        default n if !(ETRAX200LX) 
118
119 config ETRAX_DRAM_SIZE
120         int "DRAM size (dec, in MB)"
121         default "8"
122         help
123           Size of DRAM (decimal in MB) typically 2, 8 or 16.
124
125 config ETRAX_FLASH_BUSWIDTH
126         int "Buswidth of flash in bytes"
127         default "2"
128         help
129           Width in bytes of the Flash bus (1, 2 or 4). Is usually 2.
130
131 config ETRAX_ROOT_DEVICE
132         string "Root device name"
133         default "/dev/mtdblock3"
134         help
135           Specifies the device that should be mounted as root file system
136           when booting from flash. The axisflashmap driver adds an additional
137           mtd partition for the appended root file system image, so this option
138           should normally be the mtdblock device for the partition after the
139           last partition in the partition table.
140
141 # duplicate choice configs are not yet supported, so the followinguse 
142 # doesn't work:
143
144 source arch/cris/arch-v10/Kconfig
145
146 endmenu
147
148 # bring in ETRAX built-in drivers
149 menu "Drivers for built-in interfaces"
150
151 source arch/cris/arch-v10/drivers/Kconfig
152
153 endmenu
154
155 source "drivers/base/Kconfig"
156
157 # bring in Etrax built-in drivers
158 source "arch/cris/drivers/Kconfig"
159
160 # standard linux drivers
161 source "drivers/mtd/Kconfig"
162
163 source "drivers/parport/Kconfig"
164
165 source "drivers/pnp/Kconfig"
166
167 source "drivers/block/Kconfig"
168
169 source "drivers/md/Kconfig"
170
171 source "drivers/ide/Kconfig"
172
173 source "drivers/scsi/Kconfig"
174
175 source "drivers/ieee1394/Kconfig"
176
177 source "drivers/message/i2o/Kconfig"
178
179 source "net/Kconfig"
180
181 source "drivers/isdn/Kconfig"
182
183 source "drivers/telephony/Kconfig"
184
185 source "drivers/cdrom/Kconfig"
186
187 #
188 # input before char - char/joystick depends on it. As does USB.
189 #
190 source "drivers/input/Kconfig"
191
192 source "drivers/char/Kconfig"
193
194 #source drivers/misc/Config.in
195 source "drivers/media/Kconfig"
196
197 source "fs/Kconfig"
198
199 source "sound/Kconfig"
200
201 source "drivers/usb/Kconfig"
202
203
204 menu "Kernel hacking"
205
206 #bool 'Debug kmalloc/kfree' CONFIG_DEBUG_MALLOC
207 config PROFILE
208         bool "Kernel profiling support"
209
210 config PROFILE_SHIFT
211         int "Profile shift count"
212         depends on PROFILE
213         default "2"
214
215 endmenu
216
217 source "security/Kconfig"
218
219 source "crypto/Kconfig"
220
221 source "lib/Kconfig"
222