Intel cpus: cache actual size of the Flash ROM device
[coreboot.git] / src / mainboard / Kconfig
index 77cf26a5f5a2fec23b890b02465c586502c00186..051ae45dff364e654305de0e583900e2232d1e6c 100644 (file)
@@ -4,6 +4,8 @@ choice
        prompt "Mainboard vendor"
        default VENDOR_EMULATION
 
+config VENDOR_AAEON
+       bool "Aaeon"
 config VENDOR_ABIT
        bool "Abit"
 config VENDOR_ADVANSUS
@@ -12,9 +14,11 @@ config VENDOR_ADVANTECH
        bool "Advantech"
 config VENDOR_AMD
        bool "AMD"
+config VENDOR_AOPEN
+       bool "AOpen"
 config VENDOR_ARIMA
        bool "Arima"
-config VENDOR_ARTEC_GROUP
+config VENDOR_ARTECGROUP
        bool "Artec Group"
 config VENDOR_ASI
        bool "ASI"
@@ -24,12 +28,16 @@ config VENDOR_ASUS
        bool "ASUS"
 config VENDOR_A_TREND
        bool "A-Trend"
+config VENDOR_AVALUE
+       bool "AVALUE"
 config VENDOR_AXUS
        bool "AXUS"
 config VENDOR_AZZA
        bool "AZZA"
 config VENDOR_BCOM
        bool "BCOM"
+config VENDOR_BIFFEROS
+       bool "Bifferos"
 config VENDOR_BIOSTAR
        bool "Biostar"
 config VENDOR_BROADCOM
@@ -38,7 +46,7 @@ config VENDOR_COMPAQ
        bool "Compaq"
 config VENDOR_DELL
        bool "Dell"
-config VENDOR_DIGITAL_LOGIC
+config VENDOR_DIGITALLOGIC
        bool "DIGITAL-LOGIC"
 config VENDOR_EAGLELION
        bool "EagleLion"
@@ -86,7 +94,7 @@ config VENDOR_NOKIA
        bool "Nokia"
 config VENDOR_NVIDIA
        bool "NVIDIA"
-config VENDOR_PC_ENGINES
+config VENDOR_PCENGINES
        bool "PC Engines"
 config VENDOR_RCA
        bool "RCA"
@@ -122,18 +130,22 @@ config VENDOR_WYSE
 endchoice
 
 source "src/mainboard/a-trend/Kconfig"
+source "src/mainboard/aaeon/Kconfig"
 source "src/mainboard/abit/Kconfig"
 source "src/mainboard/advansus/Kconfig"
 source "src/mainboard/advantech/Kconfig"
 source "src/mainboard/amd/Kconfig"
+source "src/mainboard/aopen/Kconfig"
 source "src/mainboard/arima/Kconfig"
 source "src/mainboard/artecgroup/Kconfig"
 source "src/mainboard/asi/Kconfig"
 source "src/mainboard/asrock/Kconfig"
 source "src/mainboard/asus/Kconfig"
+source "src/mainboard/avalue/Kconfig"
 source "src/mainboard/axus/Kconfig"
 source "src/mainboard/azza/Kconfig"
 source "src/mainboard/bcom/Kconfig"
+source "src/mainboard/bifferos/Kconfig"
 source "src/mainboard/biostar/Kconfig"
 source "src/mainboard/broadcom/Kconfig"
 source "src/mainboard/compaq/Kconfig"
@@ -179,6 +191,8 @@ source "src/mainboard/via/Kconfig"
 source "src/mainboard/winent/Kconfig"
 source "src/mainboard/wyse/Kconfig"
 
+config BOARD_ROMSIZE_KB_64
+       bool
 config BOARD_ROMSIZE_KB_128
        bool
 config BOARD_ROMSIZE_KB_256
@@ -199,6 +213,7 @@ config BOARD_ROMSIZE_KB_16384
 # TODO: No help text possible for choice fields?
 choice
        prompt "ROM chip size"
+       default COREBOOT_ROMSIZE_KB_64 if BOARD_ROMSIZE_KB_64
        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
@@ -213,6 +228,11 @@ choice
          The build system will take care of creating a coreboot.rom file
          of the matching size.
 
+config COREBOOT_ROMSIZE_KB_64
+       bool "64 KB"
+       help
+         Choose this option if you have a 64 KB ROM chip.
+
 config COREBOOT_ROMSIZE_KB_128
        bool "128 KB"
        help
@@ -258,6 +278,7 @@ endchoice
 # Map the config names to an integer (KB).
 config COREBOOT_ROMSIZE_KB
        int
+       default 64 if COREBOOT_ROMSIZE_KB_64
        default 128 if COREBOOT_ROMSIZE_KB_128
        default 256 if COREBOOT_ROMSIZE_KB_256
        default 512 if COREBOOT_ROMSIZE_KB_512
@@ -270,6 +291,7 @@ config COREBOOT_ROMSIZE_KB
 # Map the config names to a hex value (bytes).
 config ROM_SIZE
        hex
+       default 0x10000 if COREBOOT_ROMSIZE_KB_64
        default 0x20000 if COREBOOT_ROMSIZE_KB_128
        default 0x40000 if COREBOOT_ROMSIZE_KB_256
        default 0x80000 if COREBOOT_ROMSIZE_KB_512
@@ -279,6 +301,10 @@ config ROM_SIZE
        default 0x800000 if COREBOOT_ROMSIZE_KB_8192
        default 0x1000000 if COREBOOT_ROMSIZE_KB_16384
 
+config CACHE_ROM_SIZE
+       hex
+       default ROM_SIZE
+
 config ENABLE_POWER_BUTTON
        bool "Enable the power button" if POWER_BUTTON_IS_OPTIONAL
        default y if POWER_BUTTON_DEFAULT_ENABLE