1menu "Mainboard" 2 3choice 4 prompt "Mainboard vendor" 5 default VENDOR_EMULATION 6 7config VENDOR_ABIT 8 bool "Abit" 9config VENDOR_ADVANTECH 10 bool "Advantech" 11config VENDOR_AMD 12 bool "AMD" 13config VENDOR_ARIMA 14 bool "Arima" 15config VENDOR_ARTEC_GROUP 16 bool "Artec Group" 17config VENDOR_ASI 18 bool "ASI" 19config VENDOR_ASUS 20 bool "ASUS" 21config VENDOR_A_TREND 22 bool "A-Trend" 23config VENDOR_AXUS 24 bool "AXUS" 25config VENDOR_AZZA 26 bool "AZZA" 27config VENDOR_BCOM 28 bool "BCOM" 29config VENDOR_BIOSTAR 30 bool "Biostar" 31config VENDOR_BROADCOM 32 bool "Broadcom" 33config VENDOR_COMPAQ 34 bool "Compaq" 35config VENDOR_DELL 36 bool "Dell" 37config VENDOR_DIGITAL_LOGIC 38 bool "DIGITAL-LOGIC" 39config VENDOR_EAGLELION 40 bool "EagleLion" 41config VENDOR_EMULATION 42 bool "Emulation" 43config VENDOR_GIGABYTE 44 bool "GIGABYTE" 45config VENDOR_HP 46 bool "HP" 47config VENDOR_IBM 48 bool "IBM" 49config VENDOR_IEI 50 bool "IEI" 51config VENDOR_INTEL 52 bool "Intel" 53config VENDOR_IWILL 54 bool "IWILL" 55config VENDOR_JETWAY 56 bool "Jetway" 57config VENDOR_KONTRON 58 bool "Kontron" 59config VENDOR_LIPPERT 60 bool "Lippert" 61config VENDOR_MITAC 62 bool "Mitac" 63config VENDOR_MSI 64 bool "MSI" 65config VENDOR_NEC 66 bool "NEC" 67config VENDOR_NEWISYS 68 bool "Newisys" 69config VENDOR_NVIDIA 70 bool "NVIDIA" 71config VENDOR_OLPC 72 bool "OLPC" 73config VENDOR_PC_ENGINES 74 bool "PC Engines" 75config VENDOR_RCA 76 bool "RCA" 77config VENDOR_SOYO 78 bool "Soyo" 79config VENDOR_SUNW 80 bool "Sun" 81config VENDOR_SUPERMICRO 82 bool "Supermicro" 83config VENDOR_TECHNEXION 84 bool "Technexion" 85config VENDOR_TECHNOLOGIC 86 bool "Technologic" 87config VENDOR_TELEVIDEO 88 bool "TeleVideo" 89config VENDOR_THOMSON 90 bool "Thomson" 91config VENDOR_TYAN 92 bool "Tyan" 93config VENDOR_VIA 94 bool "VIA" 95 96endchoice 97 98config MAINBOARD_VENDOR 99 string 100 default "Abit" 101 depends on VENDOR_ABIT 102 103config MAINBOARD_VENDOR 104 string 105 default "Advantech" 106 depends on VENDOR_ADVANTECH 107 108config MAINBOARD_VENDOR 109 string 110 default "AMD" 111 depends on VENDOR_AMD 112 113config MAINBOARD_VENDOR 114 string 115 default "Arima" 116 depends on VENDOR_ARIMA 117 118config MAINBOARD_VENDOR 119 string 120 default "Artec Group" 121 depends on VENDOR_ARTEC_GROUP 122 123config MAINBOARD_VENDOR 124 string 125 default "ASI" 126 depends on VENDOR_ASI 127 128config MAINBOARD_VENDOR 129 string 130 default "ASUS" 131 depends on VENDOR_ASUS 132 133config MAINBOARD_VENDOR 134 string 135 default "A-Trend" 136 depends on VENDOR_A_TREND 137 138config MAINBOARD_VENDOR 139 string 140 default "AXUS" 141 depends on VENDOR_AXUS 142 143config MAINBOARD_VENDOR 144 string 145 default "AZZA" 146 depends on VENDOR_AZZA 147 148config MAINBOARD_VENDOR 149 string 150 default "BCOM" 151 depends on VENDOR_BCOM 152 153config MAINBOARD_VENDOR 154 string 155 default "Biostar" 156 depends on VENDOR_BIOSTAR 157 158config MAINBOARD_VENDOR 159 string 160 default "Broadcom" 161 depends on VENDOR_BROADCOM 162 163config MAINBOARD_VENDOR 164 string 165 default "Compaq" 166 depends on VENDOR_COMPAQ 167 168config MAINBOARD_VENDOR 169 string 170 default "Dell" 171 depends on VENDOR_DELL 172 173config MAINBOARD_VENDOR 174 string 175 default "DIGITAL-LOGIC" 176 depends on VENDOR_DIGITAL_LOGIC 177 178config MAINBOARD_VENDOR 179 string 180 default "EagleLion" 181 depends on VENDOR_EAGLELION 182 183config MAINBOARD_VENDOR 184 string 185 default "Emulation" 186 depends on VENDOR_EMULATION 187 188config MAINBOARD_VENDOR 189 string 190 default "GIGABYTE" 191 depends on VENDOR_GIGABYTE 192 193config MAINBOARD_VENDOR 194 string 195 default "HP" 196 depends on VENDOR_HP 197 198config MAINBOARD_VENDOR 199 string 200 default "IBM" 201 depends on VENDOR_IBM 202 203config MAINBOARD_VENDOR 204 string 205 default "IEI" 206 depends on VENDOR_IEI 207 208config MAINBOARD_VENDOR 209 string 210 default "Intel" 211 depends on VENDOR_INTEL 212 213config MAINBOARD_VENDOR 214 string 215 default "IWILL" 216 depends on VENDOR_IWILL 217 218config MAINBOARD_VENDOR 219 string 220 default "Jetway" 221 depends on VENDOR_JETWAY 222 223config MAINBOARD_VENDOR 224 string 225 default "Kontron" 226 depends on VENDOR_KONTRON 227 228config MAINBOARD_VENDOR 229 string 230 default "Lippert" 231 depends on VENDOR_LIPPERT 232 233config MAINBOARD_VENDOR 234 string 235 default "Mitac" 236 depends on VENDOR_MITAC 237 238config MAINBOARD_VENDOR 239 string 240 default "MSI" 241 depends on VENDOR_MSI 242 243config MAINBOARD_VENDOR 244 string 245 default "NEC" 246 depends on VENDOR_NEC 247 248config MAINBOARD_VENDOR 249 string 250 default "Newisys" 251 depends on VENDOR_NEWISYS 252 253config MAINBOARD_VENDOR 254 string 255 default "NVIDIA" 256 depends on VENDOR_NVIDIA 257 258config MAINBOARD_VENDOR 259 string 260 default "OLPC" 261 depends on VENDOR_OLPC 262 263config MAINBOARD_VENDOR 264 string 265 default "PC Engines" 266 depends on VENDOR_PC_ENGINES 267 268config MAINBOARD_VENDOR 269 string 270 default "RCA" 271 depends on VENDOR_RCA 272 273config MAINBOARD_VENDOR 274 string 275 default "Soyo" 276 depends on VENDOR_SOYO 277 278config MAINBOARD_VENDOR 279 string 280 default "Sun" 281 depends on VENDOR_SUNW 282 283config MAINBOARD_VENDOR 284 string 285 default "Supermicro" 286 depends on VENDOR_SUPERMICRO 287 288config MAINBOARD_VENDOR 289 string 290 default "Technexion" 291 depends on VENDOR_TECHNEXION 292 293config MAINBOARD_VENDOR 294 string 295 default "Technologic" 296 depends on VENDOR_TECHNOLOGIC 297 298config MAINBOARD_VENDOR 299 string 300 default "TeleVideo" 301 depends on VENDOR_TELEVIDEO 302 303config MAINBOARD_VENDOR 304 string 305 default "Thomson" 306 depends on VENDOR_THOMSON 307 308config MAINBOARD_VENDOR 309 string 310 default "Tyan" 311 depends on VENDOR_TYAN 312 313config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID 314 hex 315 default 0x10f1 316 depends on VENDOR_TYAN 317 318config MAINBOARD_VENDOR 319 string 320 default "VIA" 321 depends on VENDOR_VIA 322 323config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID 324 hex 325 default 0x1019 326 depends on VENDOR_VIA 327 328source "src/mainboard/a-trend/Kconfig" 329source "src/mainboard/abit/Kconfig" 330source "src/mainboard/advantech/Kconfig" 331source "src/mainboard/amd/Kconfig" 332source "src/mainboard/arima/Kconfig" 333source "src/mainboard/artecgroup/Kconfig" 334source "src/mainboard/asi/Kconfig" 335source "src/mainboard/asus/Kconfig" 336source "src/mainboard/axus/Kconfig" 337source "src/mainboard/azza/Kconfig" 338source "src/mainboard/bcom/Kconfig" 339source "src/mainboard/biostar/Kconfig" 340source "src/mainboard/broadcom/Kconfig" 341source "src/mainboard/compaq/Kconfig" 342source "src/mainboard/dell/Kconfig" 343source "src/mainboard/digitallogic/Kconfig" 344source "src/mainboard/eaglelion/Kconfig" 345source "src/mainboard/emulation/Kconfig" 346source "src/mainboard/gigabyte/Kconfig" 347source "src/mainboard/hp/Kconfig" 348source "src/mainboard/ibm/Kconfig" 349source "src/mainboard/iei/Kconfig" 350source "src/mainboard/intel/Kconfig" 351source "src/mainboard/iwill/Kconfig" 352source "src/mainboard/jetway/Kconfig" 353source "src/mainboard/kontron/Kconfig" 354source "src/mainboard/lippert/Kconfig" 355source "src/mainboard/mitac/Kconfig" 356source "src/mainboard/msi/Kconfig" 357source "src/mainboard/nec/Kconfig" 358source "src/mainboard/newisys/Kconfig" 359source "src/mainboard/nvidia/Kconfig" 360source "src/mainboard/olpc/Kconfig" 361source "src/mainboard/pcengines/Kconfig" 362source "src/mainboard/rca/Kconfig" 363source "src/mainboard/soyo/Kconfig" 364source "src/mainboard/sunw/Kconfig" 365source "src/mainboard/supermicro/Kconfig" 366source "src/mainboard/technexion/Kconfig" 367source "src/mainboard/technologic/Kconfig" 368source "src/mainboard/televideo/Kconfig" 369source "src/mainboard/thomson/Kconfig" 370source "src/mainboard/tyan/Kconfig" 371source "src/mainboard/via/Kconfig" 372 373config BOARD_ROMSIZE_KB_128 374 bool 375config BOARD_ROMSIZE_KB_256 376 bool 377config BOARD_ROMSIZE_KB_512 378 bool 379config BOARD_ROMSIZE_KB_1024 380 bool 381config BOARD_ROMSIZE_KB_2048 382 bool 383config BOARD_ROMSIZE_KB_4096 384 bool 385 386# TODO: No help text possible for choice fields? 387choice 388 prompt "ROM chip size" 389 default COREBOOT_ROMSIZE_KB_128 if BOARD_ROMSIZE_KB_128 390 default COREBOOT_ROMSIZE_KB_256 if BOARD_ROMSIZE_KB_256 391 default COREBOOT_ROMSIZE_KB_512 if BOARD_ROMSIZE_KB_512 392 default COREBOOT_ROMSIZE_KB_1024 if BOARD_ROMSIZE_KB_1024 393 default COREBOOT_ROMSIZE_KB_2048 if BOARD_ROMSIZE_KB_2048 394 default COREBOOT_ROMSIZE_KB_4096 if BOARD_ROMSIZE_KB_4096 395 help 396 Select the size of the ROM chip you intend to flash coreboot on. 397 398 The build system will take care of creating a coreboot.rom file 399 of the matching size. 400 401config COREBOOT_ROMSIZE_KB_128 402 bool "128 KB" 403 help 404 Choose this option if you have a 128 KB ROM chip. 405 406config COREBOOT_ROMSIZE_KB_256 407 bool "256 KB" 408 help 409 Choose this option if you have a 256 KB ROM chip. 410 411config COREBOOT_ROMSIZE_KB_512 412 bool "512 KB" 413 help 414 Choose this option if you have a 512 KB ROM chip. 415 416config COREBOOT_ROMSIZE_KB_1024 417 bool "1024 KB (1 MB)" 418 help 419 Choose this option if you have a 1024 KB (1 MB) ROM chip. 420 421config COREBOOT_ROMSIZE_KB_2048 422 bool "2048 KB (2 MB)" 423 help 424 Choose this option if you have a 2048 KB (2 MB) ROM chip. 425 426config COREBOOT_ROMSIZE_KB_4096 427 bool "4096 KB (4 MB)" 428 help 429 Choose this option if you have a 4096 KB (4 MB) ROM chip. 430 431endchoice 432 433# Map the config names to an integer (KB). 434config COREBOOT_ROMSIZE_KB 435 int 436 default 128 if COREBOOT_ROMSIZE_KB_128 437 default 256 if COREBOOT_ROMSIZE_KB_256 438 default 512 if COREBOOT_ROMSIZE_KB_512 439 default 1024 if COREBOOT_ROMSIZE_KB_1024 440 default 2048 if COREBOOT_ROMSIZE_KB_2048 441 default 4096 if COREBOOT_ROMSIZE_KB_4096 442 443# Map the config names to a hex value (bytes). 444config ROM_SIZE 445 hex 446 default 0x20000 if COREBOOT_ROMSIZE_KB_128 447 default 0x40000 if COREBOOT_ROMSIZE_KB_256 448 default 0x80000 if COREBOOT_ROMSIZE_KB_512 449 default 0x100000 if COREBOOT_ROMSIZE_KB_1024 450 default 0x200000 if COREBOOT_ROMSIZE_KB_2048 451 default 0x400000 if COREBOOT_ROMSIZE_KB_4096 452 453endmenu 454 455

