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