Commit | Line | Data |
---|---|---|
1da177e4 LT |
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 | |
66701b14 CL |
13 | config ZONE_DMA |
14 | bool | |
15 | default y | |
1da177e4 LT |
16 | config RWSEM_GENERIC_SPINLOCK |
17 | bool | |
18 | default y | |
19 | config RWSEM_XCHGADD_ALGORITHM | |
20 | bool | |
21 | default n | |
a58259cd AM |
22 | config GENERIC_FIND_NEXT_BIT |
23 | bool | |
24 | default y | |
25 | config GENERIC_HWEIGHT | |
26 | bool | |
27 | default y | |
1da177e4 LT |
28 | config GENERIC_CALIBRATE_DELAY |
29 | bool | |
30 | default y | |
31 | ||
0c535089 CH |
32 | config GENERIC_HARDIRQS |
33 | bool | |
34 | default y | |
35 | ||
36 | config GENERIC_IRQ_PROBE | |
37 | bool | |
38 | default y | |
39 | ||
ee17b36f | 40 | config GENERIC_TIME |
41 | bool | |
42 | default y | |
43 | ||
06027bdd IM |
44 | config TIME_LOW_RES |
45 | bool | |
46 | default y | |
47 | ||
f0d1b0b3 DH |
48 | config ARCH_HAS_ILOG2_U32 |
49 | bool | |
50 | default n | |
51 | ||
52 | config ARCH_HAS_ILOG2_U64 | |
53 | bool | |
54 | default n | |
55 | ||
1da177e4 LT |
56 | # Turn off some random 386 crap that can affect device config |
57 | config ISA | |
58 | bool | |
59 | default n | |
60 | config ISAPNP | |
61 | bool | |
62 | default n | |
63 | config EISA | |
64 | bool | |
65 | default n | |
66 | config MCA | |
67 | bool | |
68 | default n | |
69 | ||
70 | ||
71 | ############################################################################# | |
72 | #### v850-specific config | |
73 | ||
74 | # Define the architecture | |
75 | config V850 | |
76 | bool | |
77 | default y | |
78 | ||
79 | menu "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 | |
bef1f402 | 115 | depends on RTE_CB_MA1 |
1da177e4 LT |
116 | default y |
117 | # Similarly for the RTE-V850E/NB85E-CB - V850E/TEG | |
118 | config V850E_TEG | |
119 | bool | |
bef1f402 | 120 | depends on RTE_CB_NB85E |
1da177e4 LT |
121 | default y |
122 | # ... and the RTE-V850E/ME2-CB - V850E/ME2 | |
123 | config V850E_ME2 | |
124 | bool | |
bef1f402 | 125 | depends on RTE_CB_ME2 |
1da177e4 LT |
126 | default y |
127 | ||
128 | ||
129 | #### sim85e2-specific config | |
130 | ||
131 | config V850E2_SIM85E2 | |
132 | bool | |
bef1f402 | 133 | depends on V850E2_SIM85E2C || V850E2_SIM85E2S |
1da177e4 LT |
134 | default y |
135 | ||
136 | ||
137 | #### V850E2 processor-specific config | |
138 | ||
139 | # V850E2 processors | |
140 | config V850E2 | |
141 | bool | |
bef1f402 | 142 | depends on V850E2_SIM85E2 || V850E2_FPGA85E2C || V850E2_ANNA |
1da177e4 LT |
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 | |
bef1f402 | 151 | depends on RTE_CB_MA1 || RTE_CB_NB85E || RTE_CB_ME2 |
1da177e4 LT |
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 | |
bef1f402 | 159 | depends on RTE_CB_MA1 || RTE_CB_NB85E |
1da177e4 LT |
160 | default y |
161 | ||
162 | config RTE_CB_MULTI_DBTRAP | |
163 | bool "Pass illegal insn trap / dbtrap to kernel" | |
bef1f402 | 164 | depends on RTE_CB_MULTI |
1da177e4 LT |
165 | default n |
166 | ||
167 | config RTE_CB_MA1_KSRAM | |
168 | bool "Kernel in SRAM (limits size of kernel)" | |
bef1f402 | 169 | depends on RTE_CB_MA1 && RTE_CB_MULTI |
1da177e4 LT |
170 | default n |
171 | ||
172 | config RTE_MB_A_PCI | |
173 | bool "Mother-A PCI support" | |
bef1f402 | 174 | depends on RTE_CB |
1da177e4 LT |
175 | default y |
176 | ||
177 | # The GBUS is used to talk to the RTE-MOTHER-A board | |
178 | config RTE_GBUS_INT | |
179 | bool | |
bef1f402 | 180 | depends on RTE_MB_A_PCI |
1da177e4 LT |
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" | |
bef1f402 | 219 | depends on V850E2_ANNA || V850E_AS85EP1 || RTE_CB_ME2 |
1da177e4 LT |
220 | |
221 | # Some platforms pre-zero memory, in which case the kernel doesn't need to | |
222 | config ZERO_BSS | |
223 | bool | |
6340aa61 | 224 | depends on !V850E2_SIM85E2C |
1da177e4 LT |
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" | |
bef1f402 | 235 | depends on V850E_TIMER_D |
1da177e4 LT |
236 | config TIME_BOOTUP |
237 | bool "Time bootup" | |
bef1f402 | 238 | depends on V850E_HIGHRES_TIMER |
1da177e4 LT |
239 | |
240 | config RESET_GUARD | |
241 | bool "Reset Guard" | |
242 | ||
3f22ab27 DH |
243 | source "mm/Kconfig" |
244 | ||
1da177e4 LT |
245 | endmenu |
246 | ||
247 | ||
248 | ############################################################################# | |
249 | ||
250 | source init/Kconfig | |
251 | ||
252 | ############################################################################# | |
253 | ||
254 | menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)" | |
255 | ||
256 | # config PCI | |
257 | # bool "PCI support" | |
258 | # help | |
259 | # Support for PCI bus. | |
260 | ||
261 | source "drivers/pci/Kconfig" | |
262 | ||
263 | source "drivers/pcmcia/Kconfig" | |
264 | ||
265 | source "drivers/pci/hotplug/Kconfig" | |
266 | ||
267 | endmenu | |
268 | ||
269 | menu "Executable file formats" | |
270 | ||
271 | source "fs/Kconfig.binfmt" | |
272 | ||
273 | endmenu | |
274 | ||
d5950b43 SR |
275 | source "net/Kconfig" |
276 | ||
1da177e4 LT |
277 | ############################################################################# |
278 | ||
279 | source "drivers/base/Kconfig" | |
280 | ||
281 | source drivers/mtd/Kconfig | |
282 | ||
283 | source drivers/parport/Kconfig | |
284 | ||
285 | #source drivers/pnp/Kconfig | |
286 | ||
287 | source drivers/block/Kconfig | |
288 | ||
289 | ############################################################################# | |
290 | ||
291 | menu "Disk device support" | |
292 | ||
293 | source "drivers/ide/Kconfig" | |
294 | ||
295 | source "drivers/scsi/Kconfig" | |
296 | ||
297 | endmenu | |
298 | ||
299 | ############################################################################# | |
300 | ||
301 | ||
302 | source "drivers/md/Kconfig" | |
303 | ||
304 | source "drivers/message/fusion/Kconfig" | |
305 | ||
306 | source "drivers/ieee1394/Kconfig" | |
307 | ||
308 | source "drivers/message/i2o/Kconfig" | |
309 | ||
d5950b43 | 310 | source "drivers/net/Kconfig" |
1da177e4 LT |
311 | |
312 | source "drivers/isdn/Kconfig" | |
313 | ||
314 | #source "drivers/telephony/Kconfig" | |
315 | ||
316 | # | |
317 | # input before char - char/joystick depends on it. As does USB. | |
318 | # | |
319 | source "drivers/input/Kconfig" | |
320 | ||
321 | source "drivers/char/Kconfig" | |
322 | ||
323 | #source drivers/misc/Config.in | |
324 | source "drivers/media/Kconfig" | |
325 | ||
326 | source "fs/Kconfig" | |
327 | ||
328 | source "drivers/video/Kconfig" | |
329 | ||
330 | source "sound/Kconfig" | |
331 | ||
332 | source "drivers/usb/Kconfig" | |
333 | ||
334 | source "arch/v850/Kconfig.debug" | |
335 | ||
336 | source "security/Kconfig" | |
337 | ||
338 | source "crypto/Kconfig" | |
339 | ||
340 | source "lib/Kconfig" | |
341 | ||
342 | ############################################################################# |