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