blob: 4379f43505efafe27f1c50dca47b970f3fdad3df [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#############################################################################
2#
3# For a description of the syntax of this configuration file,
4# see Documentation/kbuild/kconfig-language.txt.
5#
6#############################################################################
7
8mainmenu "uClinux/v850 (w/o MMU) Kernel Configuration"
9
10config MMU
11 bool
12 default n
Christoph Lameter66701b12007-02-10 01:43:09 -080013config ZONE_DMA
14 bool
15 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -070016config RWSEM_GENERIC_SPINLOCK
17 bool
18 default y
19config RWSEM_XCHGADD_ALGORITHM
20 bool
21 default n
Akinobu Mitaa58259c2006-03-26 01:39:41 -080022config GENERIC_FIND_NEXT_BIT
23 bool
24 default y
25config GENERIC_HWEIGHT
26 bool
27 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -070028config GENERIC_CALIBRATE_DELAY
29 bool
30 default y
31
Christoph Hellwig0c535082005-11-15 00:09:18 -080032config GENERIC_HARDIRQS
33 bool
34 default y
35
36config GENERIC_IRQ_PROBE
37 bool
38 default y
39
john stultzee17b362007-05-06 14:51:53 -070040config GENERIC_TIME
41 bool
42 default y
43
Ingo Molnar06027bd2006-02-14 13:53:15 -080044config TIME_LOW_RES
45 bool
46 default y
47
David Howellsf0d1b0b2006-12-08 02:37:49 -080048config ARCH_HAS_ILOG2_U32
49 bool
50 default n
51
52config ARCH_HAS_ILOG2_U64
53 bool
54 default n
55
David Howellsb0b933c2008-02-08 04:19:27 -080056config ARCH_SUPPORTS_AOUT
57 def_bool y
58
Linus Torvalds1da177e2005-04-16 15:20:36 -070059# Turn off some random 386 crap that can affect device config
60config ISA
61 bool
62 default n
63config ISAPNP
64 bool
65 default n
66config EISA
67 bool
68 default n
69config MCA
70 bool
71 default n
72
73
74#############################################################################
75#### v850-specific config
76
77# Define the architecture
78config V850
79 bool
80 default y
Sam Ravnborgec7748b2008-02-09 10:46:40 +010081 select HAVE_IDE
Linus Torvalds1da177e2005-04-16 15:20:36 -070082
83menu "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
Robert P. J. Daybef1f402006-12-12 20:04:19 +0100119 depends on RTE_CB_MA1
Linus Torvalds1da177e2005-04-16 15:20:36 -0700120 default y
121 # Similarly for the RTE-V850E/NB85E-CB - V850E/TEG
122 config V850E_TEG
123 bool
Robert P. J. Daybef1f402006-12-12 20:04:19 +0100124 depends on RTE_CB_NB85E
Linus Torvalds1da177e2005-04-16 15:20:36 -0700125 default y
126 # ... and the RTE-V850E/ME2-CB - V850E/ME2
127 config V850E_ME2
128 bool
Robert P. J. Daybef1f402006-12-12 20:04:19 +0100129 depends on RTE_CB_ME2
Linus Torvalds1da177e2005-04-16 15:20:36 -0700130 default y
131
132
133 #### sim85e2-specific config
134
135 config V850E2_SIM85E2
136 bool
Robert P. J. Daybef1f402006-12-12 20:04:19 +0100137 depends on V850E2_SIM85E2C || V850E2_SIM85E2S
Linus Torvalds1da177e2005-04-16 15:20:36 -0700138 default y
139
140
141 #### V850E2 processor-specific config
142
143 # V850E2 processors
144 config V850E2
145 bool
Robert P. J. Daybef1f402006-12-12 20:04:19 +0100146 depends on V850E2_SIM85E2 || V850E2_FPGA85E2C || V850E2_ANNA
Linus Torvalds1da177e2005-04-16 15:20:36 -0700147 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
Robert P. J. Daybef1f402006-12-12 20:04:19 +0100155 depends on RTE_CB_MA1 || RTE_CB_NB85E || RTE_CB_ME2
Linus Torvalds1da177e2005-04-16 15:20:36 -0700156 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
Robert P. J. Daybef1f402006-12-12 20:04:19 +0100163 depends on RTE_CB_MA1 || RTE_CB_NB85E
Linus Torvalds1da177e2005-04-16 15:20:36 -0700164 default y
165
166 config RTE_CB_MULTI_DBTRAP
167 bool "Pass illegal insn trap / dbtrap to kernel"
Robert P. J. Daybef1f402006-12-12 20:04:19 +0100168 depends on RTE_CB_MULTI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700169 default n
170
171 config RTE_CB_MA1_KSRAM
172 bool "Kernel in SRAM (limits size of kernel)"
Robert P. J. Daybef1f402006-12-12 20:04:19 +0100173 depends on RTE_CB_MA1 && RTE_CB_MULTI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700174 default n
175
176 config RTE_MB_A_PCI
177 bool "Mother-A PCI support"
Robert P. J. Daybef1f402006-12-12 20:04:19 +0100178 depends on RTE_CB
Linus Torvalds1da177e2005-04-16 15:20:36 -0700179 default y
180
181 # The GBUS is used to talk to the RTE-MOTHER-A board
182 config RTE_GBUS_INT
183 bool
Robert P. J. Daybef1f402006-12-12 20:04:19 +0100184 depends on RTE_MB_A_PCI
Linus Torvalds1da177e2005-04-16 15:20:36 -0700185 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
H. Peter Anvinbdc80782008-02-08 04:21:26 -0800219 # 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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700226 #### Misc config
227
228 config ROM_KERNEL
229 bool "Kernel in ROM"
Robert P. J. Daybef1f402006-12-12 20:04:19 +0100230 depends on V850E2_ANNA || V850E_AS85EP1 || RTE_CB_ME2
Linus Torvalds1da177e2005-04-16 15:20:36 -0700231
232 # Some platforms pre-zero memory, in which case the kernel doesn't need to
233 config ZERO_BSS
234 bool
Robert P. J. Day6340aa62007-02-17 19:05:24 +0100235 depends on !V850E2_SIM85E2C
Linus Torvalds1da177e2005-04-16 15:20:36 -0700236 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"
Robert P. J. Daybef1f402006-12-12 20:04:19 +0100246 depends on V850E_TIMER_D
Linus Torvalds1da177e2005-04-16 15:20:36 -0700247 config TIME_BOOTUP
248 bool "Time bootup"
Robert P. J. Daybef1f402006-12-12 20:04:19 +0100249 depends on V850E_HIGHRES_TIMER
Linus Torvalds1da177e2005-04-16 15:20:36 -0700250
251 config RESET_GUARD
252 bool "Reset Guard"
253
Dave Hansen3f22ab22005-06-23 00:07:43 -0700254source "mm/Kconfig"
255
Linus Torvalds1da177e2005-04-16 15:20:36 -0700256endmenu
257
258
259#############################################################################
260
261source init/Kconfig
262
263#############################################################################
264
265menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
266
267# config PCI
268# bool "PCI support"
269# help
270# Support for PCI bus.
271
272source "drivers/pci/Kconfig"
273
274source "drivers/pcmcia/Kconfig"
275
276source "drivers/pci/hotplug/Kconfig"
277
278endmenu
279
280menu "Executable file formats"
281
282source "fs/Kconfig.binfmt"
283
284endmenu
285
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700286source "net/Kconfig"
287
Linus Torvalds1da177e2005-04-16 15:20:36 -0700288#############################################################################
289
290source "drivers/base/Kconfig"
291
292source drivers/mtd/Kconfig
293
294source drivers/parport/Kconfig
295
296#source drivers/pnp/Kconfig
297
298source drivers/block/Kconfig
299
300#############################################################################
301
302menu "Disk device support"
303
304source "drivers/ide/Kconfig"
305
306source "drivers/scsi/Kconfig"
307
308endmenu
309
310#############################################################################
311
312
313source "drivers/md/Kconfig"
314
315source "drivers/message/fusion/Kconfig"
316
317source "drivers/ieee1394/Kconfig"
318
319source "drivers/message/i2o/Kconfig"
320
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700321source "drivers/net/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700322
323source "drivers/isdn/Kconfig"
324
325#source "drivers/telephony/Kconfig"
326
327#
328# input before char - char/joystick depends on it. As does USB.
329#
330source "drivers/input/Kconfig"
331
332source "drivers/char/Kconfig"
333
334#source drivers/misc/Config.in
335source "drivers/media/Kconfig"
336
337source "fs/Kconfig"
338
339source "drivers/video/Kconfig"
340
341source "sound/Kconfig"
342
343source "drivers/usb/Kconfig"
344
Linus Torvalds1da177e2005-04-16 15:20:36 -0700345source "arch/v850/Kconfig.debug"
346
347source "security/Kconfig"
348
349source "crypto/Kconfig"
350
351source "lib/Kconfig"
352
353#############################################################################