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