V4L/DVB (7460): bttv: Bt832 - fix possible NULL pointer deref
[sfrench/cifs-2.6.git] / arch / v850 / Kconfig
1 #############################################################################
2 #
3 # For a description of the syntax of this configuration file,
4 # see Documentation/kbuild/kconfig-language.txt.
5 #
6 #############################################################################
7
8 mainmenu "uClinux/v850 (w/o MMU) Kernel Configuration"
9
10 config MMU
11         bool
12         default n
13 config ZONE_DMA
14         bool
15         default y
16 config RWSEM_GENERIC_SPINLOCK
17         bool
18         default y
19 config RWSEM_XCHGADD_ALGORITHM
20         bool
21         default n
22 config GENERIC_FIND_NEXT_BIT
23         bool
24         default y
25 config GENERIC_HWEIGHT
26         bool
27         default y
28 config GENERIC_CALIBRATE_DELAY
29         bool
30         default y
31
32 config GENERIC_HARDIRQS
33         bool
34         default y
35
36 config GENERIC_IRQ_PROBE
37         bool
38         default y
39
40 config GENERIC_TIME
41         bool
42         default y
43
44 config TIME_LOW_RES
45         bool
46         default y
47
48 config ARCH_HAS_ILOG2_U32
49         bool
50         default n
51
52 config ARCH_HAS_ILOG2_U64
53         bool
54         default n
55
56 config ARCH_SUPPORTS_AOUT
57         def_bool y
58
59 # Turn off some random 386 crap that can affect device config
60 config ISA
61         bool
62         default n
63 config ISAPNP
64         bool
65         default n
66 config EISA
67         bool
68         default n
69 config MCA
70         bool
71         default n
72
73
74 #############################################################################
75 #### v850-specific config
76
77 # Define the architecture
78 config V850
79         bool
80         default y
81         select HAVE_IDE
82
83 menu "Processor type and features"
84
85    choice
86           prompt "Platform"
87           default GDB
88       config V850E_SIM
89              bool "GDB"
90       config RTE_CB_MA1
91              bool "RTE-V850E/MA1-CB"
92       config RTE_CB_NB85E
93              bool "RTE-V850E/NB85E-CB"
94       config RTE_CB_ME2
95              bool "RTE-V850E/ME2-CB"
96       config V850E_AS85EP1
97              bool "AS85EP1"
98       config V850E2_SIM85E2C
99              bool "sim85e2c"
100       config V850E2_SIM85E2S
101              bool "sim85e2s"
102       config V850E2_FPGA85E2C
103              bool "NA85E2C-FPGA"
104       config V850E2_ANNA
105              bool "Anna"
106    endchoice
107
108    #### V850E processor-specific config
109
110    # All CPUs currently supported use the v850e architecture
111    config V850E
112           bool
113           default y
114
115    # The RTE-V850E/MA1-CB is the only type of V850E/MA1 platform we
116    # currently support
117    config V850E_MA1
118           bool
119           depends on RTE_CB_MA1
120           default y
121    # Similarly for the RTE-V850E/NB85E-CB - V850E/TEG
122    config V850E_TEG
123           bool
124           depends on RTE_CB_NB85E
125           default y
126    # ... and the RTE-V850E/ME2-CB - V850E/ME2
127    config V850E_ME2
128           bool
129           depends on RTE_CB_ME2
130           default y
131
132
133    #### sim85e2-specific config
134
135    config V850E2_SIM85E2
136           bool
137           depends on V850E2_SIM85E2C || V850E2_SIM85E2S
138           default y
139
140
141    #### V850E2 processor-specific config
142
143    # V850E2 processors
144    config V850E2
145           bool
146           depends on V850E2_SIM85E2 || V850E2_FPGA85E2C || V850E2_ANNA
147           default y
148
149
150    #### RTE-CB platform-specific config
151
152    # Boards in the RTE-x-CB series
153    config RTE_CB
154           bool
155           depends on RTE_CB_MA1 || RTE_CB_NB85E || RTE_CB_ME2
156           default y
157
158    config RTE_CB_MULTI
159           bool
160           # RTE_CB_NB85E can either have multi ROM support or not, but
161           # other platforms (currently only RTE_CB_MA1) require it.
162           prompt "Multi monitor ROM support" if RTE_CB_NB85E
163           depends on RTE_CB_MA1 || RTE_CB_NB85E
164           default y
165
166    config RTE_CB_MULTI_DBTRAP
167           bool "Pass illegal insn trap / dbtrap to kernel"
168           depends on RTE_CB_MULTI
169           default n
170
171    config RTE_CB_MA1_KSRAM
172           bool "Kernel in SRAM (limits size of kernel)"
173           depends on RTE_CB_MA1 && RTE_CB_MULTI
174           default n
175
176    config RTE_MB_A_PCI
177           bool "Mother-A PCI support"
178           depends on RTE_CB
179           default y
180
181    # The GBUS is used to talk to the RTE-MOTHER-A board
182    config RTE_GBUS_INT
183           bool
184           depends on RTE_MB_A_PCI
185           default y
186
187    # The only PCI bus we support is on the RTE-MOTHER-A board
188    config PCI
189           bool
190           default RTE_MB_A_PCI
191
192    #### Some feature-specific configs
193
194    # Everything except for the GDB simulator uses the same interrupt controller
195    config V850E_INTC
196           bool
197           default !V850E_SIM
198
199    # Everything except for the various simulators uses the "Timer D" unit
200    config V850E_TIMER_D
201           bool
202           default !V850E_SIM && !V850E2_SIM85E2
203
204    # Cache control used on some v850e1 processors
205    config V850E_CACHE
206           bool
207           default V850E_TEG || V850E_ME2
208
209    # Cache control used on v850e2 processors; I think this should
210    # actually apply to more, but currently only the SIM85E2S uses it
211    config V850E2_CACHE
212           bool
213           default V850E2_SIM85E2S
214
215    config NO_CACHE
216           bool
217           default !V850E_CACHE && !V850E2_CACHE
218
219    # HZ depends on the platform
220    config HZ
221           int
222           default 24  if V850E_SIM || V850E2_SIM85E2
223           default 122 if V850E2_FPGA85E2C
224           default 100
225
226    #### Misc config
227
228    config ROM_KERNEL
229           bool "Kernel in ROM"
230           depends on V850E2_ANNA || V850E_AS85EP1 || RTE_CB_ME2
231
232    # Some platforms pre-zero memory, in which case the kernel doesn't need to
233    config ZERO_BSS
234           bool
235           depends on !V850E2_SIM85E2C
236           default y
237
238    # The crappy-ass zone allocator requires that the start of allocatable
239    # memory be aligned to the largest possible allocation.
240    config FORCE_MAX_ZONEORDER
241           int
242           default 8 if V850E2_SIM85E2C || V850E2_FPGA85E2C
243
244    config V850E_HIGHRES_TIMER
245           bool "High resolution timer support"
246           depends on V850E_TIMER_D
247    config TIME_BOOTUP
248           bool "Time bootup"
249           depends on V850E_HIGHRES_TIMER
250
251    config RESET_GUARD
252           bool "Reset Guard"
253
254 source "mm/Kconfig"
255
256 endmenu
257
258
259 #############################################################################
260
261 source init/Kconfig
262
263 #############################################################################
264
265 menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
266
267 #    config PCI
268 #          bool "PCI support"
269 #          help
270 #            Support for PCI bus.
271
272 source "drivers/pci/Kconfig"
273
274 source "drivers/pcmcia/Kconfig"
275
276 source "drivers/pci/hotplug/Kconfig"
277
278 endmenu
279
280 menu "Executable file formats"
281
282 source "fs/Kconfig.binfmt"
283
284 endmenu
285
286 source "net/Kconfig"
287
288 #############################################################################
289
290 source "drivers/base/Kconfig"
291
292 source drivers/mtd/Kconfig
293
294 source drivers/parport/Kconfig
295
296 #source drivers/pnp/Kconfig
297
298 source drivers/block/Kconfig
299
300 #############################################################################
301
302 menu "Disk device support"
303
304 source "drivers/ide/Kconfig"
305
306 source "drivers/scsi/Kconfig"
307
308 endmenu
309
310 #############################################################################
311
312
313 source "drivers/md/Kconfig"
314
315 source "drivers/message/fusion/Kconfig"
316
317 source "drivers/ieee1394/Kconfig"
318
319 source "drivers/message/i2o/Kconfig"
320
321 source "drivers/net/Kconfig"
322
323 source "drivers/isdn/Kconfig"
324
325 #source "drivers/telephony/Kconfig"
326
327 #
328 # input before char - char/joystick depends on it. As does USB.
329 #
330 source "drivers/input/Kconfig"
331
332 source "drivers/char/Kconfig"
333
334 #source drivers/misc/Config.in
335 source "drivers/media/Kconfig"
336
337 source "fs/Kconfig"
338
339 source "drivers/video/Kconfig"
340
341 source "sound/Kconfig"
342
343 source "drivers/usb/Kconfig"
344
345 source "arch/v850/Kconfig.debug"
346
347 source "security/Kconfig"
348
349 source "crypto/Kconfig"
350
351 source "lib/Kconfig"
352
353 #############################################################################