bool "DIGITAL-LOGIC"
config VENDOR_EAGLELION
bool "EagleLion"
-config VENDOR_EMBEDDED_PLANET
- bool "Embedded Planet"
config VENDOR_EMULATION
bool "Emulation"
config VENDOR_GIGABYTE
bool "Lippert"
config VENDOR_MITAC
bool "Mitac"
-config VENDOR_MOTOROLA
- bool "Motorola"
config VENDOR_MSI
bool "MSI"
config VENDOR_NEC
bool "TeleVideo"
config VENDOR_THOMSON
bool "Thomson"
-config VENDOR_TOTAL_IMPACT
- bool "Total Impact"
config VENDOR_TYAN
bool "Tyan"
config VENDOR_VIA
default "EagleLion"
depends on VENDOR_EAGLELION
-config MAINBOARD_VENDOR
- string
- default "Embedded Planet"
- depends on VENDOR_EMBEDDED_PLANET
-
config MAINBOARD_VENDOR
string
default "Emulation"
default "Intel"
depends on VENDOR_INTEL
+config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
+ hex
+ default 0x8086
+ depends on VENDOR_INTEL
+
config MAINBOARD_VENDOR
string
default "IWILL"
default "Mitac"
depends on VENDOR_MITAC
-config MAINBOARD_VENDOR
- string
- default "Motorola"
- depends on VENDOR_MOTOROLA
-
config MAINBOARD_VENDOR
string
default "MSI"
depends on VENDOR_MSI
+config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
+ hex
+ default 0x1462
+ depends on VENDOR_MSI
+
config MAINBOARD_VENDOR
string
default "NEC"
default "Thomson"
depends on VENDOR_THOMSON
-config MAINBOARD_VENDOR
- string
- default "Total Impact"
- depends on VENDOR_TOTAL_IMPACT
-
config MAINBOARD_VENDOR
string
default "Tyan"
depends on VENDOR_TYAN
+config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
+ hex
+ default 0x10f1
+ depends on VENDOR_TYAN
+
config MAINBOARD_VENDOR
string
default "VIA"
source "src/mainboard/dell/Kconfig"
source "src/mainboard/digitallogic/Kconfig"
source "src/mainboard/eaglelion/Kconfig"
-source "src/mainboard/embeddedplanet/Kconfig"
source "src/mainboard/emulation/Kconfig"
source "src/mainboard/gigabyte/Kconfig"
source "src/mainboard/hp/Kconfig"
source "src/mainboard/jetway/Kconfig"
source "src/mainboard/kontron/Kconfig"
source "src/mainboard/lippert/Kconfig"
-source "src/mainboard/motorola/Kconfig"
+source "src/mainboard/mitac/Kconfig"
source "src/mainboard/msi/Kconfig"
source "src/mainboard/nec/Kconfig"
source "src/mainboard/newisys/Kconfig"
source "src/mainboard/olpc/Kconfig"
source "src/mainboard/pcengines/Kconfig"
source "src/mainboard/rca/Kconfig"
+source "src/mainboard/soyo/Kconfig"
source "src/mainboard/sunw/Kconfig"
source "src/mainboard/supermicro/Kconfig"
source "src/mainboard/technexion/Kconfig"
source "src/mainboard/technologic/Kconfig"
source "src/mainboard/televideo/Kconfig"
source "src/mainboard/thomson/Kconfig"
-source "src/mainboard/totalimpact/Kconfig"
source "src/mainboard/tyan/Kconfig"
source "src/mainboard/via/Kconfig"
+config BOARD_ROMSIZE_KB_128
+ bool
+config BOARD_ROMSIZE_KB_256
+ bool
+config BOARD_ROMSIZE_KB_512
+ bool
+config BOARD_ROMSIZE_KB_1024
+ bool
+config BOARD_ROMSIZE_KB_2048
+ bool
+config BOARD_ROMSIZE_KB_4096
+ bool
+
+# TODO: No help text possible for choice fields?
choice
prompt "ROM chip size"
- default COREBOOT_ROMSIZE_KB_256
+ default COREBOOT_ROMSIZE_KB_128 if BOARD_ROMSIZE_KB_128
+ default COREBOOT_ROMSIZE_KB_256 if BOARD_ROMSIZE_KB_256
+ default COREBOOT_ROMSIZE_KB_512 if BOARD_ROMSIZE_KB_512
+ default COREBOOT_ROMSIZE_KB_1024 if BOARD_ROMSIZE_KB_1024
+ default COREBOOT_ROMSIZE_KB_2048 if BOARD_ROMSIZE_KB_2048
+ default COREBOOT_ROMSIZE_KB_4096 if BOARD_ROMSIZE_KB_4096
+ help
+ Select the size of the ROM chip you intend to flash coreboot on.
+
+ The build system will take care of creating a coreboot.rom file
+ of the matching size.
config COREBOOT_ROMSIZE_KB_128
bool "128 KB"
endchoice
+# Map the config names to an integer (KB).
config COREBOOT_ROMSIZE_KB
int
default 128 if COREBOOT_ROMSIZE_KB_128
default 1024 if COREBOOT_ROMSIZE_KB_1024
default 2048 if COREBOOT_ROMSIZE_KB_2048
default 4096 if COREBOOT_ROMSIZE_KB_4096
- help
- Map the config names to an integer.
+
+# Map the config names to a hex value (bytes).
+config ROM_SIZE
+ hex
+ default 0x20000 if COREBOOT_ROMSIZE_KB_128
+ default 0x40000 if COREBOOT_ROMSIZE_KB_256
+ default 0x80000 if COREBOOT_ROMSIZE_KB_512
+ default 0x100000 if COREBOOT_ROMSIZE_KB_1024
+ default 0x200000 if COREBOOT_ROMSIZE_KB_2048
+ default 0x400000 if COREBOOT_ROMSIZE_KB_4096
endmenu