coreboot/src/mainboard/Kconfig
<<
>>
Prefs
   1menu "Mainboard"
   2
   3choice
   4        prompt "Mainboard vendor"
   5        default VENDOR_EMULATION
   6
   7config VENDOR_ABIT
   8        bool "Abit"
   9config VENDOR_ADVANSUS
  10        bool "Advansus"
  11config VENDOR_ADVANTECH
  12        bool "Advantech"
  13config VENDOR_AMD
  14        bool "AMD"
  15config VENDOR_ARIMA
  16        bool "Arima"
  17config VENDOR_ARTEC_GROUP
  18        bool "Artec Group"
  19config VENDOR_ASI
  20        bool "ASI"
  21config VENDOR_ASROCK
  22        bool "ASROCK"
  23config VENDOR_ASUS
  24        bool "ASUS"
  25config VENDOR_A_TREND
  26        bool "A-Trend"
  27config VENDOR_AXUS
  28        bool "AXUS"
  29config VENDOR_AZZA
  30        bool "AZZA"
  31config VENDOR_BCOM
  32        bool "BCOM"
  33config VENDOR_BIOSTAR
  34        bool "Biostar"
  35config VENDOR_BROADCOM
  36        bool "Broadcom"
  37config VENDOR_COMPAQ
  38        bool "Compaq"
  39config VENDOR_DELL
  40        bool "Dell"
  41config VENDOR_DIGITAL_LOGIC
  42        bool "DIGITAL-LOGIC"
  43config VENDOR_EAGLELION
  44        bool "EagleLion"
  45config VENDOR_ECS
  46        bool "ECS"
  47config VENDOR_EMULATION
  48        bool "Emulation"
  49config VENDOR_GETAC
  50        bool "Getac"
  51config VENDOR_GIGABYTE
  52        bool "GIGABYTE"
  53config VENDOR_HP
  54        bool "HP"
  55config VENDOR_IBASE
  56        bool "iBase"
  57config VENDOR_IBM
  58        bool "IBM"
  59config VENDOR_IEI
  60        bool "IEI"
  61config VENDOR_INTEL
  62        bool "Intel"
  63config VENDOR_IWAVE
  64        bool "iWave"
  65config VENDOR_IWILL
  66        bool "IWILL"
  67config VENDOR_JETWAY
  68        bool "Jetway"
  69config VENDOR_KONTRON
  70        bool "Kontron"
  71config VENDOR_LANNER
  72        bool "Lanner"
  73config VENDOR_LENOVO
  74        bool "Lenovo"
  75config VENDOR_LIPPERT
  76        bool "Lippert"
  77config VENDOR_MITAC
  78        bool "Mitac"
  79config VENDOR_MSI
  80        bool "MSI"
  81config VENDOR_NEC
  82        bool "NEC"
  83config VENDOR_NEWISYS
  84        bool "Newisys"
  85config VENDOR_NOKIA
  86        bool "Nokia"
  87config VENDOR_NVIDIA
  88        bool "NVIDIA"
  89config VENDOR_PC_ENGINES
  90        bool "PC Engines"
  91config VENDOR_RCA
  92        bool "RCA"
  93config VENDOR_RODA
  94        bool "Roda"
  95config VENDOR_SIEMENS
  96        bool "Siemens"
  97config VENDOR_SOYO
  98        bool "Soyo"
  99config VENDOR_SUNW
 100        bool "Sun"
 101config VENDOR_SUPERMICRO
 102        bool "Supermicro"
 103config VENDOR_TECHNEXION
 104        bool "Technexion"
 105config VENDOR_TECHNOLOGIC
 106        bool "Technologic"
 107config VENDOR_TELEVIDEO
 108        bool "TeleVideo"
 109config VENDOR_THOMSON
 110        bool "Thomson"
 111config VENDOR_TRAVERSE
 112        bool "Traverse Technologies"
 113config VENDOR_TYAN
 114        bool "Tyan"
 115config VENDOR_VIA
 116        bool "VIA"
 117config VENDOR_WINENT
 118        bool "Win Enterprises"
 119config VENDOR_WYSE
 120        bool "Wyse"
 121
 122endchoice
 123
 124source "src/mainboard/a-trend/Kconfig"
 125source "src/mainboard/abit/Kconfig"
 126source "src/mainboard/advansus/Kconfig"
 127source "src/mainboard/advantech/Kconfig"
 128source "src/mainboard/amd/Kconfig"
 129source "src/mainboard/arima/Kconfig"
 130source "src/mainboard/artecgroup/Kconfig"
 131source "src/mainboard/asi/Kconfig"
 132source "src/mainboard/asrock/Kconfig"
 133source "src/mainboard/asus/Kconfig"
 134source "src/mainboard/axus/Kconfig"
 135source "src/mainboard/azza/Kconfig"
 136source "src/mainboard/bcom/Kconfig"
 137source "src/mainboard/biostar/Kconfig"
 138source "src/mainboard/broadcom/Kconfig"
 139source "src/mainboard/compaq/Kconfig"
 140source "src/mainboard/dell/Kconfig"
 141source "src/mainboard/digitallogic/Kconfig"
 142source "src/mainboard/eaglelion/Kconfig"
 143source "src/mainboard/ecs/Kconfig"
 144source "src/mainboard/emulation/Kconfig"
 145source "src/mainboard/getac/Kconfig"
 146source "src/mainboard/gigabyte/Kconfig"
 147source "src/mainboard/hp/Kconfig"
 148source "src/mainboard/ibase/Kconfig"
 149source "src/mainboard/ibm/Kconfig"
 150source "src/mainboard/iei/Kconfig"
 151source "src/mainboard/intel/Kconfig"
 152source "src/mainboard/iwave/Kconfig"
 153source "src/mainboard/iwill/Kconfig"
 154source "src/mainboard/jetway/Kconfig"
 155source "src/mainboard/kontron/Kconfig"
 156source "src/mainboard/lanner/Kconfig"
 157source "src/mainboard/lenovo/Kconfig"
 158source "src/mainboard/lippert/Kconfig"
 159source "src/mainboard/mitac/Kconfig"
 160source "src/mainboard/msi/Kconfig"
 161source "src/mainboard/nec/Kconfig"
 162source "src/mainboard/newisys/Kconfig"
 163source "src/mainboard/nokia/Kconfig"
 164source "src/mainboard/nvidia/Kconfig"
 165source "src/mainboard/pcengines/Kconfig"
 166source "src/mainboard/rca/Kconfig"
 167source "src/mainboard/roda/Kconfig"
 168source "src/mainboard/siemens/Kconfig"
 169source "src/mainboard/soyo/Kconfig"
 170source "src/mainboard/sunw/Kconfig"
 171source "src/mainboard/supermicro/Kconfig"
 172source "src/mainboard/technexion/Kconfig"
 173source "src/mainboard/technologic/Kconfig"
 174source "src/mainboard/televideo/Kconfig"
 175source "src/mainboard/thomson/Kconfig"
 176source "src/mainboard/traverse/Kconfig"
 177source "src/mainboard/tyan/Kconfig"
 178source "src/mainboard/via/Kconfig"
 179source "src/mainboard/winent/Kconfig"
 180source "src/mainboard/wyse/Kconfig"
 181
 182config BOARD_ROMSIZE_KB_128
 183        bool
 184config BOARD_ROMSIZE_KB_256
 185        bool
 186config BOARD_ROMSIZE_KB_512
 187        bool
 188config BOARD_ROMSIZE_KB_1024
 189        bool
 190config BOARD_ROMSIZE_KB_2048
 191        bool
 192config BOARD_ROMSIZE_KB_4096
 193        bool
 194
 195# TODO: No help text possible for choice fields?
 196choice
 197        prompt "ROM chip size"
 198        default COREBOOT_ROMSIZE_KB_128 if BOARD_ROMSIZE_KB_128
 199        default COREBOOT_ROMSIZE_KB_256 if BOARD_ROMSIZE_KB_256
 200        default COREBOOT_ROMSIZE_KB_512 if BOARD_ROMSIZE_KB_512
 201        default COREBOOT_ROMSIZE_KB_1024 if BOARD_ROMSIZE_KB_1024
 202        default COREBOOT_ROMSIZE_KB_2048 if BOARD_ROMSIZE_KB_2048
 203        default COREBOOT_ROMSIZE_KB_4096 if BOARD_ROMSIZE_KB_4096
 204        help
 205          Select the size of the ROM chip you intend to flash coreboot on.
 206
 207          The build system will take care of creating a coreboot.rom file
 208          of the matching size.
 209
 210config COREBOOT_ROMSIZE_KB_128
 211        bool "128 KB"
 212        help
 213          Choose this option if you have a 128 KB ROM chip.
 214
 215config COREBOOT_ROMSIZE_KB_256
 216        bool "256 KB"
 217        help
 218          Choose this option if you have a 256 KB ROM chip.
 219
 220config COREBOOT_ROMSIZE_KB_512
 221        bool "512 KB"
 222        help
 223          Choose this option if you have a 512 KB ROM chip.
 224
 225config COREBOOT_ROMSIZE_KB_1024
 226        bool "1024 KB (1 MB)"
 227        help
 228          Choose this option if you have a 1024 KB (1 MB) ROM chip.
 229
 230config COREBOOT_ROMSIZE_KB_2048
 231        bool "2048 KB (2 MB)"
 232        help
 233          Choose this option if you have a 2048 KB (2 MB) ROM chip.
 234
 235config COREBOOT_ROMSIZE_KB_4096
 236        bool "4096 KB (4 MB)"
 237        help
 238          Choose this option if you have a 4096 KB (4 MB) ROM chip.
 239
 240endchoice
 241
 242# Map the config names to an integer (KB).
 243config COREBOOT_ROMSIZE_KB
 244        int
 245        default 128 if COREBOOT_ROMSIZE_KB_128
 246        default 256 if COREBOOT_ROMSIZE_KB_256
 247        default 512 if COREBOOT_ROMSIZE_KB_512
 248        default 1024 if COREBOOT_ROMSIZE_KB_1024
 249        default 2048 if COREBOOT_ROMSIZE_KB_2048
 250        default 4096 if COREBOOT_ROMSIZE_KB_4096
 251
 252# Map the config names to a hex value (bytes).
 253config ROM_SIZE
 254        hex
 255        default 0x20000 if COREBOOT_ROMSIZE_KB_128
 256        default 0x40000 if COREBOOT_ROMSIZE_KB_256
 257        default 0x80000 if COREBOOT_ROMSIZE_KB_512
 258        default 0x100000 if COREBOOT_ROMSIZE_KB_1024
 259        default 0x200000 if COREBOOT_ROMSIZE_KB_2048
 260        default 0x400000 if COREBOOT_ROMSIZE_KB_4096
 261
 262config ENABLE_POWER_BUTTON
 263        bool "Enable the power button" if POWER_BUTTON_IS_OPTIONAL
 264        default y if POWER_BUTTON_DEFAULT_ENABLE
 265        default n if POWER_BUTTON_DEFAULT_DISABLE
 266        help
 267          The selected mainboard can optionally have the power button tied
 268          to ground with a jumper so that the button appears to be
 269          constantly depressed. If this option is enabled and the jumper is
 270          installed then the board will turn on, but turn off again after a
 271          short timeout, usually 4 seconds.
 272
 273          Select Y here if you have removed the jumper and want to use an
 274          actual power button. Select N if you have the jumper installed.
 275
 276config ENABLE_POWER_BUTTON
 277        def_bool y if !POWER_BUTTON_IS_OPTIONAL && POWER_BUTTON_FORCE_ENABLE
 278        def_bool n if !POWER_BUTTON_IS_OPTIONAL && POWER_BUTTON_FORCE_DISABLE
 279
 280endmenu
 281
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.