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