cris build fixes: irq fixes
[safe/jmp/linux-2.6] / 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 ZONE_DMA
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 config ARCH_HAS_ILOG2_U32
24         bool
25         default n
26
27 config ARCH_HAS_ILOG2_U64
28         bool
29         default n
30
31 config GENERIC_FIND_NEXT_BIT
32         bool
33         default y
34
35 config GENERIC_HWEIGHT
36         bool
37         default y
38
39 config GENERIC_CALIBRATE_DELAY
40         bool
41         default y
42
43 config IRQ_PER_CPU
44         bool
45         default y
46
47 config NO_IOPORT
48         def_bool y
49
50 config CRIS
51         bool
52         default y
53
54 source "init/Kconfig"
55
56 menu "General setup"
57
58 source "fs/Kconfig.binfmt"
59
60 config GENERIC_HARDIRQS
61         bool
62         default y
63
64 config ETRAX_CMDLINE
65         string "Kernel command line"
66         default "root=/dev/mtdblock3"
67         help
68           Pass additional commands to the kernel.
69
70 config ETRAX_WATCHDOG
71         bool "Enable ETRAX watchdog"
72         help
73           Enable the built-in watchdog timer support on ETRAX based embedded
74           network computers.
75
76 config ETRAX_WATCHDOG_NICE_DOGGY
77         bool "Disable watchdog during Oops printouts"
78         depends on ETRAX_WATCHDOG
79         help
80           By enabling this you make sure that the watchdog does not bite while
81           printing oopses. Recommended for development systems but not for
82           production releases.
83
84 config ETRAX_FAST_TIMER
85        bool "Enable ETRAX fast timer API"
86        help
87          This options enables the API to a fast timer implementation using
88          timer1 to get sub jiffie resolution timers (primarily one-shot
89          timers).
90          This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
91
92 config PREEMPT
93         bool "Preemptible Kernel"
94         help
95           This option reduces the latency of the kernel when reacting to
96           real-time or interactive events by allowing a low priority process to
97           be preempted even if it is in kernel mode executing a system call.
98           This allows applications to run more reliably even when the system is
99           under load.
100
101           Say Y here if you are building a kernel for a desktop, embedded
102           or real-time system.  Say N if you are unsure.
103
104 source mm/Kconfig
105
106 endmenu
107
108 menu "Hardware setup"
109
110 choice
111         prompt "Processor type"
112         default ETRAX100LX
113
114 config ETRAX100LX
115         bool "ETRAX-100LX-v1"
116         help
117           Support version 1 of the ETRAX 100LX.
118
119 config ETRAX100LX_V2
120         bool "ETRAX-100LX-v2"
121         help
122           Support version 2 of the ETRAX 100LX.
123
124 config SVINTO_SIM
125         bool "ETRAX-100LX-for-xsim-simulator"
126         help
127           Support the xsim ETRAX Simulator.
128
129 endchoice
130
131 config ETRAX_ARCH_V10
132        bool
133        default y if ETRAX100LX || ETRAX100LX_V2
134        default n if !(ETRAX100LX || ETRAX100LX_V2)
135
136 config ETRAX_DRAM_SIZE
137         int "DRAM size (dec, in MB)"
138         default "8"
139         help
140           Size of DRAM (decimal in MB) typically 2, 8 or 16.
141
142 config ETRAX_FLASH_BUSWIDTH
143         int "Buswidth of flash in bytes"
144         default "2"
145         help
146           Width in bytes of the Flash bus (1, 2 or 4). Is usually 2.
147
148 source arch/cris/arch-v10/Kconfig
149
150 endmenu
151
152 source "net/Kconfig"
153
154 # bring in ETRAX built-in drivers
155 menu "Drivers for built-in interfaces"
156 source arch/cris/arch-v10/drivers/Kconfig
157
158 endmenu
159
160 source "drivers/base/Kconfig"
161
162 # standard linux drivers
163 source "drivers/mtd/Kconfig"
164
165 source "drivers/parport/Kconfig"
166
167 source "drivers/pnp/Kconfig"
168
169 source "drivers/block/Kconfig"
170
171 source "drivers/md/Kconfig"
172
173 source "drivers/ide/Kconfig"
174
175 source "drivers/scsi/Kconfig"
176
177 source "drivers/ieee1394/Kconfig"
178
179 source "drivers/message/i2o/Kconfig"
180
181 source "drivers/net/Kconfig"
182
183 source "drivers/isdn/Kconfig"
184
185 source "drivers/telephony/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 source "kernel/Kconfig.instrumentation"
204
205 source "arch/cris/Kconfig.debug"
206
207 source "security/Kconfig"
208
209 source "crypto/Kconfig"
210
211 source "lib/Kconfig"