patch-2_6_7-vs1_9_1_12
[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_CMDLINE
31         string "Kernel command line"
32         default "root=/dev/mtdblock3"
33         help
34           Pass additional commands to the kernel.
35
36 config ETRAX_WATCHDOG
37         bool "Enable ETRAX watchdog"
38         help
39           Enable the built-in watchdog timer support on ETRAX based embedded
40           network computers.
41
42 config ETRAX_WATCHDOG_NICE_DOGGY
43         bool "Disable watchdog during Oops printouts"
44         depends on ETRAX_WATCHDOG
45         help
46           By enabling this you make sure that the watchdog does not bite while
47           printing oopses. Recommended for development systems but not for
48           production releases.
49
50 config ETRAX_FAST_TIMER
51        bool "Enable ETRAX fast timer API"
52        help
53          This options enables the API to a fast timer implementation using
54          timer1 to get sub jiffie resolution timers (primarily one-shot 
55          timers).
56          This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
57
58 config PREEMPT
59         bool "Preemptible Kernel"
60         help
61           This option reduces the latency of the kernel when reacting to
62           real-time or interactive events by allowing a low priority process to
63           be preempted even if it is in kernel mode executing a system call.
64           This allows applications to run more reliably even when the system is
65           under load.
66
67           Say Y here if you are building a kernel for a desktop, embedded
68           or real-time system.  Say N if you are unsure.
69
70 endmenu
71
72
73 menu "Hardware setup"
74
75 choice
76         prompt "Processor type"
77         default ETRAX100LX
78
79 config ETRAX100LX
80         bool "ETRAX-100LX-v1"
81         help
82           Support version 1 of the ETRAX 100LX.
83
84 config ETRAX100LX_V2
85         bool "ETRAX-100LX-v2"
86         help
87           Support version 2 of the ETRAX 100LX.
88
89 config SVINTO_SIM
90         bool "ETRAX-100LX-for-xsim-simulator"
91         help
92           Support the xsim ETRAX Simulator.
93
94 endchoice
95
96 config ETRAX_ARCH_V10
97        bool
98        default y if ETRAX100LX || ETRAX100LX_V2
99        default n if !(ETRAX100LX || ETRAX100LX_V2) 
100
101 config ETRAX_DRAM_SIZE
102         int "DRAM size (dec, in MB)"
103         default "8"
104         help
105           Size of DRAM (decimal in MB) typically 2, 8 or 16.
106
107 config ETRAX_FLASH_BUSWIDTH
108         int "Buswidth of flash in bytes"
109         default "2"
110         help
111           Width in bytes of the Flash bus (1, 2 or 4). Is usually 2.
112
113 source arch/cris/arch-v10/Kconfig
114
115 endmenu
116
117 # bring in ETRAX built-in drivers
118 menu "Drivers for built-in interfaces"
119 source arch/cris/arch-v10/drivers/Kconfig
120
121 endmenu
122
123 source "drivers/base/Kconfig"
124
125 # standard linux drivers
126 source "drivers/mtd/Kconfig"
127
128 source "drivers/parport/Kconfig"
129
130 source "drivers/pnp/Kconfig"
131
132 source "drivers/block/Kconfig"
133
134 source "drivers/md/Kconfig"
135
136 source "drivers/ide/Kconfig"
137
138 source "drivers/scsi/Kconfig"
139
140 source "drivers/ieee1394/Kconfig"
141
142 source "drivers/message/i2o/Kconfig"
143
144 source "net/Kconfig"
145
146 source "drivers/isdn/Kconfig"
147
148 source "drivers/telephony/Kconfig"
149
150 source "drivers/cdrom/Kconfig"
151
152 #
153 # input before char - char/joystick depends on it. As does USB.
154 #
155 source "drivers/input/Kconfig"
156
157 source "drivers/char/Kconfig"
158
159 #source drivers/misc/Config.in
160 source "drivers/media/Kconfig"
161
162 source "fs/Kconfig"
163
164 source "sound/Kconfig"
165
166 source "drivers/usb/Kconfig"
167
168
169 menu "Kernel hacking"
170
171 #bool 'Debug kmalloc/kfree' CONFIG_DEBUG_MALLOC
172 config PROFILE
173         bool "Kernel profiling support"
174
175 config PROFILE_SHIFT
176         int "Profile shift count"
177         depends on PROFILE
178         default "2"
179
180 config ETRAX_KGDB
181         bool "Use kernel GDB debugger"
182         ---help---
183           The CRIS version of gdb can be used to remotely debug a running
184           Linux kernel via the serial debug port.  Provided you have gdb-cris
185           installed, run gdb-cris vmlinux, then type
186
187           (gdb) set remotebaud 115200           <- kgdb uses 115200 as default
188           (gdb) target remote /dev/ttyS0        <- maybe you use another port
189
190           This should connect you to your booted kernel (or boot it now if you
191           didn't before).  The kernel halts when it boots, waiting for gdb if
192           this option is turned on!
193
194
195 config DEBUG_INFO
196         bool "Compile the kernel with debug info"
197         help
198           If you say Y here the resulting kernel image will include
199           debugging info resulting in a larger kernel image.
200           Say Y here only if you plan to use gdb to debug the kernel.
201           If you don't debug the kernel, you can say N.
202
203 config FRAME_POINTER
204         bool "Compile the kernel with frame pointers"
205         help
206           If you say Y here the resulting kernel image will be slightly larger
207           and slower, but it will give very useful debugging information.
208           If you don't debug the kernel, you can say N, but we may not be able
209           to solve problems without frame pointers.
210
211 endmenu
212
213 source "kernel/vserver/Kconfig"
214
215 source "security/Kconfig"
216
217 source "crypto/Kconfig"
218
219 source "lib/Kconfig"
220