summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2009-10-16 17:37:20 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2009-10-16 17:37:20 +0000
commitd65509de14d95ccc7c9928c789d903098083fb23 (patch)
tree6ef7ba52f8cc2ef4e73d72174a66432d12cdd232 /src
parent04b9b92952d0e9f4b520fa9f1512daf5608f080b (diff)
downloadcoreboot-d65509de14d95ccc7c9928c789d903098083fb23.tar.xz
Set default ROM sizes per-board to match the ROM chip that came
with the respective board. Of course, the user can still override the size in menuconfig. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4790 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/Kconfig20
-rw-r--r--src/mainboard/a-trend/atc-6220/Kconfig1
-rw-r--r--src/mainboard/a-trend/atc-6240/Kconfig1
-rw-r--r--src/mainboard/abit/be6-ii_v2_0/Kconfig1
-rw-r--r--src/mainboard/advantech/pcm-5820/Kconfig1
-rw-r--r--src/mainboard/amd/db800/Kconfig1
-rw-r--r--src/mainboard/amd/dbm690t/Kconfig1
-rw-r--r--src/mainboard/amd/norwich/Kconfig1
-rw-r--r--src/mainboard/amd/pistachio/Kconfig1
-rw-r--r--src/mainboard/amd/rumba/Kconfig1
-rw-r--r--src/mainboard/amd/serengeti_cheetah/Kconfig1
-rw-r--r--src/mainboard/amd/serengeti_cheetah_fam10/Kconfig1
-rw-r--r--src/mainboard/arima/hdama/Kconfig1
-rw-r--r--src/mainboard/artecgroup/dbe61/Kconfig1
-rw-r--r--src/mainboard/asi/mb_5blgp/Kconfig1
-rw-r--r--src/mainboard/asi/mb_5blmp/Kconfig1
-rw-r--r--src/mainboard/asus/a8n_e/Kconfig1
-rw-r--r--src/mainboard/asus/a8v-e_se/Kconfig1
-rw-r--r--src/mainboard/asus/m2v-mx_se/Kconfig1
-rw-r--r--src/mainboard/asus/mew-am/Kconfig1
-rw-r--r--src/mainboard/asus/mew-vm/Kconfig1
-rw-r--r--src/mainboard/asus/p2b-d/Kconfig1
-rw-r--r--src/mainboard/asus/p2b-ds/Kconfig1
-rw-r--r--src/mainboard/asus/p2b-f/Kconfig1
-rw-r--r--src/mainboard/asus/p2b/Kconfig1
-rw-r--r--src/mainboard/asus/p3b-f/Kconfig1
-rw-r--r--src/mainboard/axus/tc320/Kconfig1
-rw-r--r--src/mainboard/azza/pt-6ibd/Kconfig1
-rw-r--r--src/mainboard/bcom/winnet100/Kconfig1
-rw-r--r--src/mainboard/bcom/winnetp680/Kconfig1
-rw-r--r--src/mainboard/biostar/m6tba/Kconfig1
-rw-r--r--src/mainboard/broadcom/blast/Kconfig1
-rw-r--r--src/mainboard/compaq/deskpro_en_sff_p600/Kconfig1
-rw-r--r--src/mainboard/dell/s1850/Kconfig1
-rw-r--r--src/mainboard/digitallogic/adl855pc/Kconfig1
-rw-r--r--src/mainboard/digitallogic/msm586seg/Kconfig1
-rw-r--r--src/mainboard/digitallogic/msm800sev/Kconfig1
-rw-r--r--src/mainboard/eaglelion/5bcm/Kconfig1
-rw-r--r--src/mainboard/emulation/qemu-x86/Kconfig1
-rw-r--r--src/mainboard/gigabyte/ga-6bxc/Kconfig1
-rw-r--r--src/mainboard/gigabyte/ga_2761gxdk/Kconfig1
-rw-r--r--src/mainboard/gigabyte/m57sli/Kconfig2
-rw-r--r--src/mainboard/hp/dl145_g3/Kconfig1
-rw-r--r--src/mainboard/ibm/e325/Kconfig1
-rw-r--r--src/mainboard/ibm/e326/Kconfig1
-rw-r--r--src/mainboard/iei/juki-511p/Kconfig1
-rw-r--r--src/mainboard/iei/nova4899r/Kconfig1
-rw-r--r--src/mainboard/iei/pcisa-lx-800-r10/Kconfig1
-rw-r--r--src/mainboard/intel/eagleheights/Kconfig1
-rw-r--r--src/mainboard/intel/jarrell/Kconfig1
-rw-r--r--src/mainboard/intel/mtarvon/Kconfig1
-rw-r--r--src/mainboard/intel/truxton/Kconfig1
-rw-r--r--src/mainboard/intel/xe7501devkit/Kconfig1
-rw-r--r--src/mainboard/iwill/dk8_htx/Kconfig1
-rw-r--r--src/mainboard/iwill/dk8s2/Kconfig1
-rw-r--r--src/mainboard/iwill/dk8x/Kconfig1
-rw-r--r--src/mainboard/jetway/j7f24/Kconfig1
-rw-r--r--src/mainboard/kontron/986lcd-m/Kconfig1
-rw-r--r--src/mainboard/kontron/kt690/Kconfig1
-rw-r--r--src/mainboard/lippert/frontrunner/Kconfig1
-rw-r--r--src/mainboard/lippert/roadrunner-lx/Kconfig1
-rw-r--r--src/mainboard/lippert/spacerunner-lx/Kconfig1
-rw-r--r--src/mainboard/mitac/6513wu/Kconfig1
-rw-r--r--src/mainboard/msi/ms6119/Kconfig1
-rw-r--r--src/mainboard/msi/ms6147/Kconfig1
-rw-r--r--src/mainboard/msi/ms6156/Kconfig1
-rw-r--r--src/mainboard/msi/ms6178/Kconfig1
-rw-r--r--src/mainboard/msi/ms7135/Kconfig1
-rw-r--r--src/mainboard/msi/ms7260/Kconfig1
-rw-r--r--src/mainboard/msi/ms9185/Kconfig1
-rw-r--r--src/mainboard/msi/ms9282/Kconfig1
-rw-r--r--src/mainboard/nec/powermate2000/Kconfig1
-rw-r--r--src/mainboard/newisys/khepri/Kconfig1
-rw-r--r--src/mainboard/nvidia/l1_2pvv/Kconfig1
-rw-r--r--src/mainboard/olpc/btest/Kconfig1
-rw-r--r--src/mainboard/olpc/rev_a/Kconfig1
-rw-r--r--src/mainboard/pcengines/alix1c/Kconfig1
-rw-r--r--src/mainboard/rca/rm4100/Kconfig1
-rw-r--r--src/mainboard/soyo/sy-6ba-plus-iii/Kconfig1
-rw-r--r--src/mainboard/sunw/ultra40/Kconfig1
-rw-r--r--src/mainboard/supermicro/h8dme/Kconfig1
-rw-r--r--src/mainboard/supermicro/h8dmr/Kconfig1
-rw-r--r--src/mainboard/supermicro/h8dmr_fam10/Kconfig1
-rw-r--r--src/mainboard/supermicro/x6dai_g/Kconfig1
-rw-r--r--src/mainboard/supermicro/x6dhe_g/Kconfig1
-rw-r--r--src/mainboard/supermicro/x6dhe_g2/Kconfig1
-rw-r--r--src/mainboard/supermicro/x6dhr_ig/Kconfig1
-rw-r--r--src/mainboard/supermicro/x6dhr_ig2/Kconfig1
-rw-r--r--src/mainboard/technexion/tim5690/Kconfig1
-rw-r--r--src/mainboard/technexion/tim8690/Kconfig1
-rw-r--r--src/mainboard/technologic/ts5300/Kconfig1
-rw-r--r--src/mainboard/televideo/tc7020/Kconfig1
-rw-r--r--src/mainboard/thomson/ip1000/Kconfig1
-rw-r--r--src/mainboard/tyan/s1846/Kconfig1
-rw-r--r--src/mainboard/tyan/s2735/Kconfig1
-rw-r--r--src/mainboard/tyan/s2850/Kconfig1
-rw-r--r--src/mainboard/tyan/s2875/Kconfig1
-rw-r--r--src/mainboard/tyan/s2880/Kconfig1
-rw-r--r--src/mainboard/tyan/s2881/Kconfig1
-rw-r--r--src/mainboard/tyan/s2882/Kconfig1
-rw-r--r--src/mainboard/tyan/s2885/Kconfig1
-rw-r--r--src/mainboard/tyan/s2891/Kconfig1
-rw-r--r--src/mainboard/tyan/s2892/Kconfig1
-rw-r--r--src/mainboard/tyan/s2895/Kconfig1
-rw-r--r--src/mainboard/tyan/s2912/Kconfig2
-rw-r--r--src/mainboard/tyan/s2912_fam10/Kconfig4
-rw-r--r--src/mainboard/tyan/s4880/Kconfig1
-rw-r--r--src/mainboard/tyan/s4882/Kconfig1
-rw-r--r--src/mainboard/via/epia-cn/Kconfig1
-rw-r--r--src/mainboard/via/epia-m/Kconfig1
-rw-r--r--src/mainboard/via/epia-m700/Kconfig1
-rw-r--r--src/mainboard/via/epia-n/Kconfig1
-rw-r--r--src/mainboard/via/epia/Kconfig1
-rw-r--r--src/mainboard/via/pc2500e/Kconfig1
-rw-r--r--src/mainboard/via/vt8454c/Kconfig1
115 files changed, 134 insertions, 5 deletions
diff --git a/src/mainboard/Kconfig b/src/mainboard/Kconfig
index a96b42a986..d10936af34 100644
--- a/src/mainboard/Kconfig
+++ b/src/mainboard/Kconfig
@@ -370,10 +370,28 @@ source "src/mainboard/thomson/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.
diff --git a/src/mainboard/a-trend/atc-6220/Kconfig b/src/mainboard/a-trend/atc-6220/Kconfig
index eed098e2e7..9d589e77b5 100644
--- a/src/mainboard/a-trend/atc-6220/Kconfig
+++ b/src/mainboard/a-trend/atc-6220/Kconfig
@@ -28,6 +28,7 @@ config BOARD_A_TREND_ATC_6220
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/a-trend/atc-6240/Kconfig b/src/mainboard/a-trend/atc-6240/Kconfig
index ae488ad9bc..f90b1e62a9 100644
--- a/src/mainboard/a-trend/atc-6240/Kconfig
+++ b/src/mainboard/a-trend/atc-6240/Kconfig
@@ -28,6 +28,7 @@ config BOARD_A_TREND_ATC_6240
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/abit/be6-ii_v2_0/Kconfig b/src/mainboard/abit/be6-ii_v2_0/Kconfig
index d483d247be..567dc6429b 100644
--- a/src/mainboard/abit/be6-ii_v2_0/Kconfig
+++ b/src/mainboard/abit/be6-ii_v2_0/Kconfig
@@ -28,6 +28,7 @@ config BOARD_ABIT_BE6_II_V2_0
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/advantech/pcm-5820/Kconfig b/src/mainboard/advantech/pcm-5820/Kconfig
index e051de7870..16546efc29 100644
--- a/src/mainboard/advantech/pcm-5820/Kconfig
+++ b/src/mainboard/advantech/pcm-5820/Kconfig
@@ -29,6 +29,7 @@ config BOARD_ADVANTECH_PCM_5820
select PIRQ_ROUTE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/amd/db800/Kconfig b/src/mainboard/amd/db800/Kconfig
index 336bb37187..36fe23b883 100644
--- a/src/mainboard/amd/db800/Kconfig
+++ b/src/mainboard/amd/db800/Kconfig
@@ -11,6 +11,7 @@ config BOARD_AMD_DB800
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
select USE_DCACHE_RAM
select USE_PRINTK_IN_CAR
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/amd/dbm690t/Kconfig b/src/mainboard/amd/dbm690t/Kconfig
index f497bbac77..cc7efdc8b4 100644
--- a/src/mainboard/amd/dbm690t/Kconfig
+++ b/src/mainboard/amd/dbm690t/Kconfig
@@ -18,6 +18,7 @@ config BOARD_AMD_DBM690T
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select WAIT_BEFORE_CPUS_INIT
select HAVE_ACPI_TABLES
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/amd/norwich/Kconfig b/src/mainboard/amd/norwich/Kconfig
index 9d7874af2f..074f033282 100644
--- a/src/mainboard/amd/norwich/Kconfig
+++ b/src/mainboard/amd/norwich/Kconfig
@@ -10,6 +10,7 @@ config BOARD_AMD_NORWICH
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
select USE_DCACHE_RAM
select USE_PRINTK_IN_CAR
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/amd/pistachio/Kconfig b/src/mainboard/amd/pistachio/Kconfig
index c8adde9ce1..1ee1222b08 100644
--- a/src/mainboard/amd/pistachio/Kconfig
+++ b/src/mainboard/amd/pistachio/Kconfig
@@ -17,6 +17,7 @@ config BOARD_AMD_PISTACHIO
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select WAIT_BEFORE_CPUS_INIT
select HAVE_ACPI_TABLES
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/amd/rumba/Kconfig b/src/mainboard/amd/rumba/Kconfig
index c102443a0f..afca4e73ca 100644
--- a/src/mainboard/amd/rumba/Kconfig
+++ b/src/mainboard/amd/rumba/Kconfig
@@ -27,6 +27,7 @@ config BOARD_AMD_RUMBA
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
select HAVE_PIRQ_TABLE
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/amd/serengeti_cheetah/Kconfig b/src/mainboard/amd/serengeti_cheetah/Kconfig
index 287d3d2156..8077cb9589 100644
--- a/src/mainboard/amd/serengeti_cheetah/Kconfig
+++ b/src/mainboard/amd/serengeti_cheetah/Kconfig
@@ -19,6 +19,7 @@ config BOARD_AMD_SERENGETI_CHEETAH
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select WAIT_BEFORE_CPUS_INIT
select HAVE_ACPI_TABLES
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/amd/serengeti_cheetah_fam10/Kconfig b/src/mainboard/amd/serengeti_cheetah_fam10/Kconfig
index 8d59b6ca11..36a8460f45 100644
--- a/src/mainboard/amd/serengeti_cheetah_fam10/Kconfig
+++ b/src/mainboard/amd/serengeti_cheetah_fam10/Kconfig
@@ -18,6 +18,7 @@ config BOARD_AMD_SERENGETI_CHEETAH_FAM10
select SERIAL_CPU_INIT
select AMDMCT
select HAVE_ACPI_TABLES
+ select BOARD_ROMSIZE_KB_1024
config MAINBOARD_DIR
string
diff --git a/src/mainboard/arima/hdama/Kconfig b/src/mainboard/arima/hdama/Kconfig
index 7c2e6c26c1..54fa4e0a80 100644
--- a/src/mainboard/arima/hdama/Kconfig
+++ b/src/mainboard/arima/hdama/Kconfig
@@ -17,6 +17,7 @@ config BOARD_ARIMA_HDAMA
select AP_CODE_IN_CAR
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select WAIT_BEFORE_CPUS_INIT
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/artecgroup/dbe61/Kconfig b/src/mainboard/artecgroup/dbe61/Kconfig
index 6caef7bba8..ef57d4e5bb 100644
--- a/src/mainboard/artecgroup/dbe61/Kconfig
+++ b/src/mainboard/artecgroup/dbe61/Kconfig
@@ -10,6 +10,7 @@ config BOARD_ARTECGROUP_DBE61
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
select USE_DCACHE_RAM
select USE_PRINTK_IN_CAR
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/asi/mb_5blgp/Kconfig b/src/mainboard/asi/mb_5blgp/Kconfig
index c1c0fd28cd..934297fb68 100644
--- a/src/mainboard/asi/mb_5blgp/Kconfig
+++ b/src/mainboard/asi/mb_5blgp/Kconfig
@@ -29,6 +29,7 @@ config BOARD_ASI_MB_5BLGP
select PIRQ_ROUTE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/asi/mb_5blmp/Kconfig b/src/mainboard/asi/mb_5blmp/Kconfig
index 56213716c7..4f47e2696a 100644
--- a/src/mainboard/asi/mb_5blmp/Kconfig
+++ b/src/mainboard/asi/mb_5blmp/Kconfig
@@ -29,6 +29,7 @@ config BOARD_ASI_MB_5BLMP
select PIRQ_ROUTE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/asus/a8n_e/Kconfig b/src/mainboard/asus/a8n_e/Kconfig
index 08321ae3a2..9411d879df 100644
--- a/src/mainboard/asus/a8n_e/Kconfig
+++ b/src/mainboard/asus/a8n_e/Kconfig
@@ -13,6 +13,7 @@ config BOARD_ASUS_A8N_E
select USE_DCACHE_RAM
select HAVE_HARD_RESET
select IOAPIC
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/asus/a8v-e_se/Kconfig b/src/mainboard/asus/a8v-e_se/Kconfig
index b25a8b6577..949a6df137 100644
--- a/src/mainboard/asus/a8v-e_se/Kconfig
+++ b/src/mainboard/asus/a8v-e_se/Kconfig
@@ -13,6 +13,7 @@ config BOARD_ASUS_A8V_E_SE
select IOAPIC
select HAVE_ACPI_TABLES
select HAVE_MP_TABLE
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/asus/m2v-mx_se/Kconfig b/src/mainboard/asus/m2v-mx_se/Kconfig
index f1ab0ffbc5..145a466085 100644
--- a/src/mainboard/asus/m2v-mx_se/Kconfig
+++ b/src/mainboard/asus/m2v-mx_se/Kconfig
@@ -34,6 +34,7 @@ config BOARD_ASUS_M2V_MX_SE
select IOAPIC
select HAVE_OPTION_TABLE
select HAVE_ACPI_TABLES
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/asus/mew-am/Kconfig b/src/mainboard/asus/mew-am/Kconfig
index 4e45defe99..86208cef6d 100644
--- a/src/mainboard/asus/mew-am/Kconfig
+++ b/src/mainboard/asus/mew-am/Kconfig
@@ -28,6 +28,7 @@ config BOARD_ASUS_MEW_AM
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/asus/mew-vm/Kconfig b/src/mainboard/asus/mew-vm/Kconfig
index cbe404715f..d1dde20ec1 100644
--- a/src/mainboard/asus/mew-vm/Kconfig
+++ b/src/mainboard/asus/mew-vm/Kconfig
@@ -28,6 +28,7 @@ config BOARD_ASUS_MEW_VM
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/asus/p2b-d/Kconfig b/src/mainboard/asus/p2b-d/Kconfig
index c80fad3ce4..b5644085b9 100644
--- a/src/mainboard/asus/p2b-d/Kconfig
+++ b/src/mainboard/asus/p2b-d/Kconfig
@@ -31,6 +31,7 @@ config BOARD_ASUS_P2B_D
select IOAPIC
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/asus/p2b-ds/Kconfig b/src/mainboard/asus/p2b-ds/Kconfig
index 1c2626b399..bc7956d2c7 100644
--- a/src/mainboard/asus/p2b-ds/Kconfig
+++ b/src/mainboard/asus/p2b-ds/Kconfig
@@ -31,6 +31,7 @@ config BOARD_ASUS_P2B_DS
select IOAPIC
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/asus/p2b-f/Kconfig b/src/mainboard/asus/p2b-f/Kconfig
index 114cff429b..4c4904f491 100644
--- a/src/mainboard/asus/p2b-f/Kconfig
+++ b/src/mainboard/asus/p2b-f/Kconfig
@@ -28,6 +28,7 @@ config BOARD_ASUS_P2B_F
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/asus/p2b/Kconfig b/src/mainboard/asus/p2b/Kconfig
index 6477be34ef..a380dd1371 100644
--- a/src/mainboard/asus/p2b/Kconfig
+++ b/src/mainboard/asus/p2b/Kconfig
@@ -28,6 +28,7 @@ config BOARD_ASUS_P2B
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/asus/p3b-f/Kconfig b/src/mainboard/asus/p3b-f/Kconfig
index 2bfb9e170b..b44e51581b 100644
--- a/src/mainboard/asus/p3b-f/Kconfig
+++ b/src/mainboard/asus/p3b-f/Kconfig
@@ -28,6 +28,7 @@ config BOARD_ASUS_P3B_F
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/axus/tc320/Kconfig b/src/mainboard/axus/tc320/Kconfig
index 806a74ec8d..b4f85ea594 100644
--- a/src/mainboard/axus/tc320/Kconfig
+++ b/src/mainboard/axus/tc320/Kconfig
@@ -29,6 +29,7 @@ config BOARD_AXUS_TC320
select PIRQ_ROUTE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/azza/pt-6ibd/Kconfig b/src/mainboard/azza/pt-6ibd/Kconfig
index a377562507..d39662bf54 100644
--- a/src/mainboard/azza/pt-6ibd/Kconfig
+++ b/src/mainboard/azza/pt-6ibd/Kconfig
@@ -28,6 +28,7 @@ config BOARD_AZZA_PT_6IBD
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/bcom/winnet100/Kconfig b/src/mainboard/bcom/winnet100/Kconfig
index bddaffe035..a0c09e32b3 100644
--- a/src/mainboard/bcom/winnet100/Kconfig
+++ b/src/mainboard/bcom/winnet100/Kconfig
@@ -29,6 +29,7 @@ config BOARD_BCOM_WINNET100
select PIRQ_ROUTE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/bcom/winnetp680/Kconfig b/src/mainboard/bcom/winnetp680/Kconfig
index 52c41620f9..05db9dec6f 100644
--- a/src/mainboard/bcom/winnetp680/Kconfig
+++ b/src/mainboard/bcom/winnetp680/Kconfig
@@ -8,6 +8,7 @@ config BOARD_BCOM_WINNETP680
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/biostar/m6tba/Kconfig b/src/mainboard/biostar/m6tba/Kconfig
index 7e67825681..0b46c434d2 100644
--- a/src/mainboard/biostar/m6tba/Kconfig
+++ b/src/mainboard/biostar/m6tba/Kconfig
@@ -28,6 +28,7 @@ config BOARD_BIOSTAR_M6TBA
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/broadcom/blast/Kconfig b/src/mainboard/broadcom/blast/Kconfig
index fb94ddc3ee..5861d7c46c 100644
--- a/src/mainboard/broadcom/blast/Kconfig
+++ b/src/mainboard/broadcom/blast/Kconfig
@@ -14,6 +14,7 @@ config BOARD_BROADCOM_BLAST
select USE_DCACHE_RAM
select HAVE_HARD_RESET
select IOAPIC
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/compaq/deskpro_en_sff_p600/Kconfig b/src/mainboard/compaq/deskpro_en_sff_p600/Kconfig
index 3d44589c18..e9ea193f9d 100644
--- a/src/mainboard/compaq/deskpro_en_sff_p600/Kconfig
+++ b/src/mainboard/compaq/deskpro_en_sff_p600/Kconfig
@@ -29,6 +29,7 @@ config BOARD_COMPAQ_DESKPRO_EN_SFF_P600
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/dell/s1850/Kconfig b/src/mainboard/dell/s1850/Kconfig
index 4466e44763..a74471d41b 100644
--- a/src/mainboard/dell/s1850/Kconfig
+++ b/src/mainboard/dell/s1850/Kconfig
@@ -8,6 +8,7 @@ config BOARD_DELL_S1850
select SUPERIO_NSC_PC8374
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
+ select BOARD_ROMSIZE_KB_1024
config MAINBOARD_DIR
string
diff --git a/src/mainboard/digitallogic/adl855pc/Kconfig b/src/mainboard/digitallogic/adl855pc/Kconfig
index 12814c6aa6..ccc19c2946 100644
--- a/src/mainboard/digitallogic/adl855pc/Kconfig
+++ b/src/mainboard/digitallogic/adl855pc/Kconfig
@@ -7,6 +7,7 @@ config BOARD_DIGITALLOGIC_ADL855PC
select SUPERIO_WINBOND_W83627HF
select HAVE_PIRQ_TABLE
select UDELAY_TSC
+ select BOARD_ROMSIZE_KB_1024
config MAINBOARD_DIR
string
diff --git a/src/mainboard/digitallogic/msm586seg/Kconfig b/src/mainboard/digitallogic/msm586seg/Kconfig
index 344314e840..a71eaf0e92 100644
--- a/src/mainboard/digitallogic/msm586seg/Kconfig
+++ b/src/mainboard/digitallogic/msm586seg/Kconfig
@@ -3,6 +3,7 @@ config BOARD_DIGITALLOGIC_MSM586SEG
select ARCH_X86
select CPU_AMD_SC520
select HAVE_PIRQ_TABLE
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/digitallogic/msm800sev/Kconfig b/src/mainboard/digitallogic/msm800sev/Kconfig
index 52c22fb256..f04b8fca36 100644
--- a/src/mainboard/digitallogic/msm800sev/Kconfig
+++ b/src/mainboard/digitallogic/msm800sev/Kconfig
@@ -11,6 +11,7 @@ config BOARD_DIGITALLOGIC_MSM800SEV
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
select USE_DCACHE_RAM
select USE_PRINTK_IN_CAR
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/eaglelion/5bcm/Kconfig b/src/mainboard/eaglelion/5bcm/Kconfig
index 04f05dd4ff..7ab467b52c 100644
--- a/src/mainboard/eaglelion/5bcm/Kconfig
+++ b/src/mainboard/eaglelion/5bcm/Kconfig
@@ -29,6 +29,7 @@ config BOARD_EAGLELION_5BCM
select PIRQ_ROUTE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/emulation/qemu-x86/Kconfig b/src/mainboard/emulation/qemu-x86/Kconfig
index 8054bc8432..68a38deef7 100644
--- a/src/mainboard/emulation/qemu-x86/Kconfig
+++ b/src/mainboard/emulation/qemu-x86/Kconfig
@@ -5,6 +5,7 @@ config BOARD_EMULATION_QEMU_X86
select SOUTHBRIDGE_INTEL_I82371EB
select CPU_EMULATION_QEMU_X86
select HAVE_PIRQ_TABLE
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/gigabyte/ga-6bxc/Kconfig b/src/mainboard/gigabyte/ga-6bxc/Kconfig
index 2eff24dd7d..705af28d91 100644
--- a/src/mainboard/gigabyte/ga-6bxc/Kconfig
+++ b/src/mainboard/gigabyte/ga-6bxc/Kconfig
@@ -28,6 +28,7 @@ config BOARD_GIGABYTE_GA_6BXC
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/gigabyte/ga_2761gxdk/Kconfig b/src/mainboard/gigabyte/ga_2761gxdk/Kconfig
index 8726f685f9..9632bb9fc3 100644
--- a/src/mainboard/gigabyte/ga_2761gxdk/Kconfig
+++ b/src/mainboard/gigabyte/ga_2761gxdk/Kconfig
@@ -15,6 +15,7 @@ config BOARD_GIGABYTE_GA_2761GXDK
select MEM_TRAIN_SEQ
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select K8_REV_F_SUPPORT
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/gigabyte/m57sli/Kconfig b/src/mainboard/gigabyte/m57sli/Kconfig
index 45359cb5e6..0870fc88f0 100644
--- a/src/mainboard/gigabyte/m57sli/Kconfig
+++ b/src/mainboard/gigabyte/m57sli/Kconfig
@@ -1,4 +1,3 @@
-
config BOARD_GIGABYTE_M57SLI
bool "M57SLI"
select ARCH_X86
@@ -18,6 +17,7 @@ config BOARD_GIGABYTE_M57SLI
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select HAVE_ACPI_TABLES
select K8_REV_F_SUPPORT
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/hp/dl145_g3/Kconfig b/src/mainboard/hp/dl145_g3/Kconfig
index 512b443816..bba05e2b19 100644
--- a/src/mainboard/hp/dl145_g3/Kconfig
+++ b/src/mainboard/hp/dl145_g3/Kconfig
@@ -14,6 +14,7 @@ config BOARD_HP_DL145_G3
select USE_DCACHE_RAM
select HAVE_HARD_RESET
select IOAPIC
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/ibm/e325/Kconfig b/src/mainboard/ibm/e325/Kconfig
index 16e1570abb..dbc940d837 100644
--- a/src/mainboard/ibm/e325/Kconfig
+++ b/src/mainboard/ibm/e325/Kconfig
@@ -17,6 +17,7 @@ config BOARD_IBM_E325
select AP_CODE_IN_CAR
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select WAIT_BEFORE_CPUS_INIT
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/ibm/e326/Kconfig b/src/mainboard/ibm/e326/Kconfig
index 1a9e2891ff..0eb41f7dc5 100644
--- a/src/mainboard/ibm/e326/Kconfig
+++ b/src/mainboard/ibm/e326/Kconfig
@@ -17,6 +17,7 @@ config BOARD_IBM_E326
select AP_CODE_IN_CAR
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select WAIT_BEFORE_CPUS_INIT
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/iei/juki-511p/Kconfig b/src/mainboard/iei/juki-511p/Kconfig
index 6d34a78a42..05b4dbd7ed 100644
--- a/src/mainboard/iei/juki-511p/Kconfig
+++ b/src/mainboard/iei/juki-511p/Kconfig
@@ -29,6 +29,7 @@ config BOARD_IEI_JUKI_511P
select HAVE_OPTION_TABLE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/iei/nova4899r/Kconfig b/src/mainboard/iei/nova4899r/Kconfig
index 2aa7149434..1fb4e97445 100644
--- a/src/mainboard/iei/nova4899r/Kconfig
+++ b/src/mainboard/iei/nova4899r/Kconfig
@@ -30,6 +30,7 @@ config BOARD_IEI_NOVA_4899R
select HAVE_OPTION_TABLE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/iei/pcisa-lx-800-r10/Kconfig b/src/mainboard/iei/pcisa-lx-800-r10/Kconfig
index abfb0b622c..9224347e2a 100644
--- a/src/mainboard/iei/pcisa-lx-800-r10/Kconfig
+++ b/src/mainboard/iei/pcisa-lx-800-r10/Kconfig
@@ -11,6 +11,7 @@ config BOARD_IEI_PCISA_LX_800_R10
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
select USE_DCACHE_RAM
select USE_PRINTK_IN_CAR
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/intel/eagleheights/Kconfig b/src/mainboard/intel/eagleheights/Kconfig
index 1255db7525..81c51136fd 100644
--- a/src/mainboard/intel/eagleheights/Kconfig
+++ b/src/mainboard/intel/eagleheights/Kconfig
@@ -14,6 +14,7 @@ config BOARD_INTEL_EAGLEHEIGHTS
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
select AP_IN_SIPI_WAIT
select HAVE_ACPI_TABLES
+ select BOARD_ROMSIZE_KB_1024
config MAINBOARD_DIR
string
diff --git a/src/mainboard/intel/jarrell/Kconfig b/src/mainboard/intel/jarrell/Kconfig
index 7af03d12c1..79fb6d6c71 100644
--- a/src/mainboard/intel/jarrell/Kconfig
+++ b/src/mainboard/intel/jarrell/Kconfig
@@ -10,6 +10,7 @@ config BOARD_INTEL_JARRELL
select HAVE_MP_TABLE
select UDELAY_TSC
select ATI_RAGE_XL
+ select BOARD_ROMSIZE_KB_2048
config MAINBOARD_DIR
string
diff --git a/src/mainboard/intel/mtarvon/Kconfig b/src/mainboard/intel/mtarvon/Kconfig
index 9ee1559c87..554b5a1eb6 100644
--- a/src/mainboard/intel/mtarvon/Kconfig
+++ b/src/mainboard/intel/mtarvon/Kconfig
@@ -8,6 +8,7 @@ config BOARD_INTEL_MTARVON
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
select UDELAY_TSC
+ select BOARD_ROMSIZE_KB_2048
config MAINBOARD_DIR
string
diff --git a/src/mainboard/intel/truxton/Kconfig b/src/mainboard/intel/truxton/Kconfig
index e21cff5157..e9459870cd 100644
--- a/src/mainboard/intel/truxton/Kconfig
+++ b/src/mainboard/intel/truxton/Kconfig
@@ -9,6 +9,7 @@ config BOARD_INTEL_TRUXTON
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
select UDELAY_TSC
+ select BOARD_ROMSIZE_KB_2048
config MAINBOARD_DIR
string
diff --git a/src/mainboard/intel/xe7501devkit/Kconfig b/src/mainboard/intel/xe7501devkit/Kconfig
index 36166a3314..ea1f1e9b81 100644
--- a/src/mainboard/intel/xe7501devkit/Kconfig
+++ b/src/mainboard/intel/xe7501devkit/Kconfig
@@ -11,6 +11,7 @@ config BOARD_INTEL_XE7501DEVKIT
select UDELAY_TSC
select HAVE_OPTION_TABLE
select HAVE_ACPI_TABLES
+ select BOARD_ROMSIZE_KB_2048
config MAINBOARD_DIR
string
diff --git a/src/mainboard/iwill/dk8_htx/Kconfig b/src/mainboard/iwill/dk8_htx/Kconfig
index bfdd91b622..55a319584a 100644
--- a/src/mainboard/iwill/dk8_htx/Kconfig
+++ b/src/mainboard/iwill/dk8_htx/Kconfig
@@ -18,6 +18,7 @@ config BOARD_IWILL_DK8_HTX
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select WAIT_BEFORE_CPUS_INIT
select HAVE_ACPI_TABLES
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/iwill/dk8s2/Kconfig b/src/mainboard/iwill/dk8s2/Kconfig
index 4899127c8e..cc9514b306 100644
--- a/src/mainboard/iwill/dk8s2/Kconfig
+++ b/src/mainboard/iwill/dk8s2/Kconfig
@@ -18,6 +18,7 @@ config BOARD_IWILL_DK8S2
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select WAIT_BEFORE_CPUS_INIT
select ATI_RAGE_XL
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/iwill/dk8x/Kconfig b/src/mainboard/iwill/dk8x/Kconfig
index ef07b166ba..c7bc70c6b1 100644
--- a/src/mainboard/iwill/dk8x/Kconfig
+++ b/src/mainboard/iwill/dk8x/Kconfig
@@ -17,6 +17,7 @@ config BOARD_IWILL_DK8X
select AP_CODE_IN_CAR
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select WAIT_BEFORE_CPUS_INIT
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/jetway/j7f24/Kconfig b/src/mainboard/jetway/j7f24/Kconfig
index 8492bc2cd9..6870f8a35f 100644
--- a/src/mainboard/jetway/j7f24/Kconfig
+++ b/src/mainboard/jetway/j7f24/Kconfig
@@ -6,6 +6,7 @@ config BOARD_JETWAY_J7F24
select SOUTHBRIDGE_VIA_VT8237R
select SUPERIO_FINTEK_F71805F
select HAVE_PIRQ_TABLE
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/kontron/986lcd-m/Kconfig b/src/mainboard/kontron/986lcd-m/Kconfig
index 28d54dda7a..81ce93463b 100644
--- a/src/mainboard/kontron/986lcd-m/Kconfig
+++ b/src/mainboard/kontron/986lcd-m/Kconfig
@@ -12,6 +12,7 @@ config BOARD_KONTRON_986LCD_M
select USE_PRINTK_IN_CAR
select AP_IN_SIPI_WAIT
select HAVE_ACPI_TABLES
+ select BOARD_ROMSIZE_KB_1024
config MAINBOARD_DIR
string
diff --git a/src/mainboard/kontron/kt690/Kconfig b/src/mainboard/kontron/kt690/Kconfig
index dc20ecc7ac..0d939306d5 100644
--- a/src/mainboard/kontron/kt690/Kconfig
+++ b/src/mainboard/kontron/kt690/Kconfig
@@ -17,6 +17,7 @@ config BOARD_KONTRON_KT690
select HAVE_HARD_RESET
select IOAPIC
select HAVE_ACPI_TABLES
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/lippert/frontrunner/Kconfig b/src/mainboard/lippert/frontrunner/Kconfig
index 6b419286a2..338e77800c 100644
--- a/src/mainboard/lippert/frontrunner/Kconfig
+++ b/src/mainboard/lippert/frontrunner/Kconfig
@@ -7,6 +7,7 @@ config BOARD_LIPPERT_FRONTRUNNER
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
select HAVE_PIRQ_TABLE
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/lippert/roadrunner-lx/Kconfig b/src/mainboard/lippert/roadrunner-lx/Kconfig
index 2e9594ffe1..35a4a611dc 100644
--- a/src/mainboard/lippert/roadrunner-lx/Kconfig
+++ b/src/mainboard/lippert/roadrunner-lx/Kconfig
@@ -11,6 +11,7 @@ config BOARD_LIPPERT_ROADRUNNER_LX
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
select USE_DCACHE_RAM
select USE_PRINTK_IN_CAR
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/lippert/spacerunner-lx/Kconfig b/src/mainboard/lippert/spacerunner-lx/Kconfig
index bf7471c80d..f95cd66fd7 100644
--- a/src/mainboard/lippert/spacerunner-lx/Kconfig
+++ b/src/mainboard/lippert/spacerunner-lx/Kconfig
@@ -11,6 +11,7 @@ config BOARD_LIPPERT_SPACERUNNER_LX
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
select USE_DCACHE_RAM
select USE_PRINTK_IN_CAR
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/mitac/6513wu/Kconfig b/src/mainboard/mitac/6513wu/Kconfig
index 0ba20fb130..e4e686639e 100644
--- a/src/mainboard/mitac/6513wu/Kconfig
+++ b/src/mainboard/mitac/6513wu/Kconfig
@@ -28,6 +28,7 @@ config BOARD_MITAC_6513WU
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/msi/ms6119/Kconfig b/src/mainboard/msi/ms6119/Kconfig
index 57b2b536bd..27dbe6b1dd 100644
--- a/src/mainboard/msi/ms6119/Kconfig
+++ b/src/mainboard/msi/ms6119/Kconfig
@@ -28,6 +28,7 @@ config BOARD_MSI_MS_6119
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/msi/ms6147/Kconfig b/src/mainboard/msi/ms6147/Kconfig
index f3295410d1..6c8e0921bd 100644
--- a/src/mainboard/msi/ms6147/Kconfig
+++ b/src/mainboard/msi/ms6147/Kconfig
@@ -28,6 +28,7 @@ config BOARD_MSI_MS_6147
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/msi/ms6156/Kconfig b/src/mainboard/msi/ms6156/Kconfig
index 0eed5b5419..0ffb63851c 100644
--- a/src/mainboard/msi/ms6156/Kconfig
+++ b/src/mainboard/msi/ms6156/Kconfig
@@ -28,6 +28,7 @@ config BOARD_MSI_MS_6156
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/msi/ms6178/Kconfig b/src/mainboard/msi/ms6178/Kconfig
index 240ea23b3a..5e417a4c94 100644
--- a/src/mainboard/msi/ms6178/Kconfig
+++ b/src/mainboard/msi/ms6178/Kconfig
@@ -27,6 +27,7 @@ config BOARD_MSI_MS_6178
select SUPERIO_WINBOND_W83627HF
select HAVE_PIRQ_TABLE
select UDELAY_IO
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/msi/ms7135/Kconfig b/src/mainboard/msi/ms7135/Kconfig
index da72601b00..08451e3c9f 100644
--- a/src/mainboard/msi/ms7135/Kconfig
+++ b/src/mainboard/msi/ms7135/Kconfig
@@ -13,6 +13,7 @@ config BOARD_MSI_MS7135
select USE_PRINTK_IN_CAR
select SERIAL_CPU_INIT
select AP_CODE_IN_CAR
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/msi/ms7260/Kconfig b/src/mainboard/msi/ms7260/Kconfig
index 6890108c4e..ab5f67adc1 100644
--- a/src/mainboard/msi/ms7260/Kconfig
+++ b/src/mainboard/msi/ms7260/Kconfig
@@ -16,6 +16,7 @@ config BOARD_MSI_MS7260
select MEM_TRAIN_SEQ
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select K8_REV_F_SUPPORT
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/msi/ms9185/Kconfig b/src/mainboard/msi/ms9185/Kconfig
index 6dc605d1ac..3fb8763520 100644
--- a/src/mainboard/msi/ms9185/Kconfig
+++ b/src/mainboard/msi/ms9185/Kconfig
@@ -15,6 +15,7 @@ config BOARD_MSI_MS9185
select HAVE_HARD_RESET
select HAVE_ACPI_TABLES
select IOAPIC
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/msi/ms9282/Kconfig b/src/mainboard/msi/ms9282/Kconfig
index ce574994ab..188da783af 100644
--- a/src/mainboard/msi/ms9282/Kconfig
+++ b/src/mainboard/msi/ms9282/Kconfig
@@ -16,6 +16,7 @@ config BOARD_MSI_MS9282
select MEM_TRAIN_SEQ
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select K8_REV_F_SUPPORT
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/nec/powermate2000/Kconfig b/src/mainboard/nec/powermate2000/Kconfig
index a55a7bc4aa..785c49b306 100644
--- a/src/mainboard/nec/powermate2000/Kconfig
+++ b/src/mainboard/nec/powermate2000/Kconfig
@@ -28,6 +28,7 @@ config BOARD_NEC_POWERMATE_2000
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/newisys/khepri/Kconfig b/src/mainboard/newisys/khepri/Kconfig
index 350d583baf..f5a751df51 100644
--- a/src/mainboard/newisys/khepri/Kconfig
+++ b/src/mainboard/newisys/khepri/Kconfig
@@ -14,6 +14,7 @@ config BOARD_NEWISYS_KHEPRI
select USE_DCACHE_RAM
select HAVE_HARD_RESET
select IOAPIC
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/nvidia/l1_2pvv/Kconfig b/src/mainboard/nvidia/l1_2pvv/Kconfig
index 4e9dc600c1..09a3d68553 100644
--- a/src/mainboard/nvidia/l1_2pvv/Kconfig
+++ b/src/mainboard/nvidia/l1_2pvv/Kconfig
@@ -16,6 +16,7 @@ config BOARD_NVIDIA_L1_2PVV
select MEM_TRAIN_SEQ
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select K8_REV_F_SUPPORT
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/olpc/btest/Kconfig b/src/mainboard/olpc/btest/Kconfig
index 7d12098300..cce9fdaa56 100644
--- a/src/mainboard/olpc/btest/Kconfig
+++ b/src/mainboard/olpc/btest/Kconfig
@@ -7,6 +7,7 @@ config BOARD_OLPC_BTEST
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
select HAVE_PIRQ_TABLE
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/olpc/rev_a/Kconfig b/src/mainboard/olpc/rev_a/Kconfig
index 47d77da140..69a46951ee 100644
--- a/src/mainboard/olpc/rev_a/Kconfig
+++ b/src/mainboard/olpc/rev_a/Kconfig
@@ -7,6 +7,7 @@ config BOARD_OLPC_REV_A
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
select HAVE_PIRQ_TABLE
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/pcengines/alix1c/Kconfig b/src/mainboard/pcengines/alix1c/Kconfig
index ae56c97bd2..4caa18fa68 100644
--- a/src/mainboard/pcengines/alix1c/Kconfig
+++ b/src/mainboard/pcengines/alix1c/Kconfig
@@ -11,6 +11,7 @@ config BOARD_PCENGINES_ALIX1C
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
select USE_DCACHE_RAM
select USE_PRINTK_IN_CAR
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/rca/rm4100/Kconfig b/src/mainboard/rca/rm4100/Kconfig
index 4b7764ee23..5768330fe1 100644
--- a/src/mainboard/rca/rm4100/Kconfig
+++ b/src/mainboard/rca/rm4100/Kconfig
@@ -8,6 +8,7 @@ config BOARD_RCA_RM4100
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/soyo/sy-6ba-plus-iii/Kconfig b/src/mainboard/soyo/sy-6ba-plus-iii/Kconfig
index 5111c0859d..1a24a73d22 100644
--- a/src/mainboard/soyo/sy-6ba-plus-iii/Kconfig
+++ b/src/mainboard/soyo/sy-6ba-plus-iii/Kconfig
@@ -28,6 +28,7 @@ config BOARD_SOYO_SY_6BA_PLUS_III
select HAVE_PIRQ_TABLE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/sunw/ultra40/Kconfig b/src/mainboard/sunw/ultra40/Kconfig
index 5e09db747a..f477b4f057 100644
--- a/src/mainboard/sunw/ultra40/Kconfig
+++ b/src/mainboard/sunw/ultra40/Kconfig
@@ -13,6 +13,7 @@ config BOARD_SUNW_ULTRA40
select USE_DCACHE_RAM
select HAVE_HARD_RESET
select IOAPIC
+ select BOARD_ROMSIZE_KB_1024
config MAINBOARD_DIR
string
diff --git a/src/mainboard/supermicro/h8dme/Kconfig b/src/mainboard/supermicro/h8dme/Kconfig
index ccf07ebfcd..4755a876ab 100644
--- a/src/mainboard/supermicro/h8dme/Kconfig
+++ b/src/mainboard/supermicro/h8dme/Kconfig
@@ -13,6 +13,7 @@ config BOARD_SUPERMICRO_H8DME
select USE_DCACHE_RAM
select HAVE_HARD_RESET
select IOAPIC
+ select BOARD_ROMSIZE_KB_1024
config MAINBOARD_DIR
string
diff --git a/src/mainboard/supermicro/h8dmr/Kconfig b/src/mainboard/supermicro/h8dmr/Kconfig
index 3a359af61d..579cbeb845 100644
--- a/src/mainboard/supermicro/h8dmr/Kconfig
+++ b/src/mainboard/supermicro/h8dmr/Kconfig
@@ -13,6 +13,7 @@ config BOARD_SUPERMICRO_H8DMR
select USE_DCACHE_RAM
select HAVE_HARD_RESET
select IOAPIC
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/supermicro/h8dmr_fam10/Kconfig b/src/mainboard/supermicro/h8dmr_fam10/Kconfig
index 67ec6824fd..de0fe2a0e0 100644
--- a/src/mainboard/supermicro/h8dmr_fam10/Kconfig
+++ b/src/mainboard/supermicro/h8dmr_fam10/Kconfig
@@ -14,6 +14,7 @@ config BOARD_SUPERMICRO_H8DMR_FAM10
select HAVE_HARD_RESET
select IOAPIC
select AMDMCT
+ select BOARD_ROMSIZE_KB_1024
config MAINBOARD_DIR
string
diff --git a/src/mainboard/supermicro/x6dai_g/Kconfig b/src/mainboard/supermicro/x6dai_g/Kconfig
index c6f73347bf..82b6febcf8 100644
--- a/src/mainboard/supermicro/x6dai_g/Kconfig
+++ b/src/mainboard/supermicro/x6dai_g/Kconfig
@@ -7,6 +7,7 @@ config BOARD_SUPERMICRO_X6DAI_G
select SUPERIO_WINBOND_W83627HF
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
+ select BOARD_ROMSIZE_KB_1024
config MAINBOARD_DIR
string
diff --git a/src/mainboard/supermicro/x6dhe_g/Kconfig b/src/mainboard/supermicro/x6dhe_g/Kconfig
index 467859a5dc..40bdd07483 100644
--- a/src/mainboard/supermicro/x6dhe_g/Kconfig
+++ b/src/mainboard/supermicro/x6dhe_g/Kconfig
@@ -8,6 +8,7 @@ config BOARD_SUPERMICRO_X6DHE_G
select SUPERIO_WINBOND_W83627HF
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
+ select BOARD_ROMSIZE_KB_1024
config MAINBOARD_DIR
string
diff --git a/src/mainboard/supermicro/x6dhe_g2/Kconfig b/src/mainboard/supermicro/x6dhe_g2/Kconfig
index c651cc0c69..f999212e31 100644
--- a/src/mainboard/supermicro/x6dhe_g2/Kconfig
+++ b/src/mainboard/supermicro/x6dhe_g2/Kconfig
@@ -8,6 +8,7 @@ config BOARD_SUPERMICRO_X6DHE_G2
select SUPERIO_NSC_PC87427
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
+ select BOARD_ROMSIZE_KB_1024
config MAINBOARD_DIR
string
diff --git a/src/mainboard/supermicro/x6dhr_ig/Kconfig b/src/mainboard/supermicro/x6dhr_ig/Kconfig
index c5d6cf3856..0c178df5b9 100644
--- a/src/mainboard/supermicro/x6dhr_ig/Kconfig
+++ b/src/mainboard/supermicro/x6dhr_ig/Kconfig
@@ -8,6 +8,7 @@ config BOARD_SUPERMICRO_X6DHR_IG
select SUPERIO_WINBOND_W83627HF
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
+ select BOARD_ROMSIZE_KB_1024
config MAINBOARD_DIR
string
diff --git a/src/mainboard/supermicro/x6dhr_ig2/Kconfig b/src/mainboard/supermicro/x6dhr_ig2/Kconfig
index 8d88331cdc..c4e13a276b 100644
--- a/src/mainboard/supermicro/x6dhr_ig2/Kconfig
+++ b/src/mainboard/supermicro/x6dhr_ig2/Kconfig
@@ -8,6 +8,7 @@ config BOARD_SUPERMICRO_X6DHR_IG2
select SUPERIO_WINBOND_W83627HF
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
+ select BOARD_ROMSIZE_KB_1024
config MAINBOARD_DIR
string
diff --git a/src/mainboard/technexion/tim5690/Kconfig b/src/mainboard/technexion/tim5690/Kconfig
index d114b2f11d..0709dda06f 100644
--- a/src/mainboard/technexion/tim5690/Kconfig
+++ b/src/mainboard/technexion/tim5690/Kconfig
@@ -18,6 +18,7 @@ config BOARD_TECHNEXION_TIM5690
select HAVE_ACPI_TABLES
select GFXUMA
select HAVE_MAINBOARD_RESOURCES
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/technexion/tim8690/Kconfig b/src/mainboard/technexion/tim8690/Kconfig
index d0a9e419c9..f3339d838d 100644
--- a/src/mainboard/technexion/tim8690/Kconfig
+++ b/src/mainboard/technexion/tim8690/Kconfig
@@ -19,6 +19,7 @@ config BOARD_TECHNEXION_TIM8690
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select WAIT_BEFORE_CPUS_INIT
select HAVE_ACPI_TABLES
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/technologic/ts5300/Kconfig b/src/mainboard/technologic/ts5300/Kconfig
index 098a6c18c9..b500594dce 100644
--- a/src/mainboard/technologic/ts5300/Kconfig
+++ b/src/mainboard/technologic/ts5300/Kconfig
@@ -3,6 +3,7 @@ config BOARD_TECHNOLOGIC_TS5300
select ARCH_X86
select CPU_AMD_SC520
select HAVE_PIRQ_TABLE
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/televideo/tc7020/Kconfig b/src/mainboard/televideo/tc7020/Kconfig
index 6ba658cb5b..681e918553 100644
--- a/src/mainboard/televideo/tc7020/Kconfig
+++ b/src/mainboard/televideo/tc7020/Kconfig
@@ -29,6 +29,7 @@ config BOARD_TELEVIDEO_TC7020
select PIRQ_ROUTE
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/thomson/ip1000/Kconfig b/src/mainboard/thomson/ip1000/Kconfig
index f75944492f..fe59663a6e 100644
--- a/src/mainboard/thomson/ip1000/Kconfig
+++ b/src/mainboard/thomson/ip1000/Kconfig
@@ -7,6 +7,7 @@ config BOARD_THOMSON_IP1000
select SUPERIO_SMSC_SMSCSUPERIO
select HAVE_PIRQ_TABLE
select UDELAY_TSC
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/tyan/s1846/Kconfig b/src/mainboard/tyan/s1846/Kconfig
index 86788ecaea..3873d77284 100644
--- a/src/mainboard/tyan/s1846/Kconfig
+++ b/src/mainboard/tyan/s1846/Kconfig
@@ -27,6 +27,7 @@ config BOARD_TYAN_S1846
select SUPERIO_NSC_PC87309
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/tyan/s2735/Kconfig b/src/mainboard/tyan/s2735/Kconfig
index 33107762f8..c27f9ed17a 100644
--- a/src/mainboard/tyan/s2735/Kconfig
+++ b/src/mainboard/tyan/s2735/Kconfig
@@ -11,6 +11,7 @@ config BOARD_TYAN_S2735
select UDELAY_TSC
select HAVE_OPTION_TABLE
select USE_DCACHE_RAM
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/tyan/s2850/Kconfig b/src/mainboard/tyan/s2850/Kconfig
index bb36edc650..00c15c1eaa 100644
--- a/src/mainboard/tyan/s2850/Kconfig
+++ b/src/mainboard/tyan/s2850/Kconfig
@@ -9,6 +9,7 @@ config BOARD_TYAN_S2850
select SUPERIO_WINBOND_W83627HF
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/tyan/s2875/Kconfig b/src/mainboard/tyan/s2875/Kconfig
index 15fb3c6d74..7da769cc39 100644
--- a/src/mainboard/tyan/s2875/Kconfig
+++ b/src/mainboard/tyan/s2875/Kconfig
@@ -10,6 +10,7 @@ config BOARD_TYAN_S2875
select SUPERIO_WINBOND_W83627HF
select HAVE_PIRQ_TABLE
select HAVE_MP_TABLE
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/tyan/s2880/Kconfig b/src/mainboard/tyan/s2880/Kconfig
index 0caae162d1..99cdc7caa1 100644
--- a/src/mainboard/tyan/s2880/Kconfig
+++ b/src/mainboard/tyan/s2880/Kconfig
@@ -12,6 +12,7 @@ config BOARD_TYAN_S2880
select HAVE_MP_TABLE
select SERIAL_CPU_INIT
select AP_CODE_IN_CAR
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/tyan/s2881/Kconfig b/src/mainboard/tyan/s2881/Kconfig
index 1a2bb09a36..e4fb625e9c 100644
--- a/src/mainboard/tyan/s2881/Kconfig
+++ b/src/mainboard/tyan/s2881/Kconfig
@@ -12,6 +12,7 @@ config BOARD_TYAN_S2881
select HAVE_MP_TABLE
select SERIAL_CPU_INIT
select AP_CODE_IN_CAR
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/tyan/s2882/Kconfig b/src/mainboard/tyan/s2882/Kconfig
index 84c9a75b72..344b047b11 100644
--- a/src/mainboard/tyan/s2882/Kconfig
+++ b/src/mainboard/tyan/s2882/Kconfig
@@ -12,6 +12,7 @@ config BOARD_TYAN_S2882
select HAVE_MP_TABLE
select SERIAL_CPU_INIT
select AP_CODE_IN_CAR
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/tyan/s2885/Kconfig b/src/mainboard/tyan/s2885/Kconfig
index 1f868bc645..4bbed689c0 100644
--- a/src/mainboard/tyan/s2885/Kconfig
+++ b/src/mainboard/tyan/s2885/Kconfig
@@ -12,6 +12,7 @@ config BOARD_TYAN_S2885
select HAVE_MP_TABLE
select SERIAL_CPU_INIT
select AP_CODE_IN_CAR
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/tyan/s2891/Kconfig b/src/mainboard/tyan/s2891/Kconfig
index 535b0f23f4..53f6277130 100644
--- a/src/mainboard/tyan/s2891/Kconfig
+++ b/src/mainboard/tyan/s2891/Kconfig
@@ -13,6 +13,7 @@ config BOARD_TYAN_S2891
select SERIAL_CPU_INIT
select AP_CODE_IN_CAR
select HAVE_ACPI_TABLES
+ select BOARD_ROMSIZE_KB_1024
config MAINBOARD_DIR
string
diff --git a/src/mainboard/tyan/s2892/Kconfig b/src/mainboard/tyan/s2892/Kconfig
index 421dc2e937..50049747da 100644
--- a/src/mainboard/tyan/s2892/Kconfig
+++ b/src/mainboard/tyan/s2892/Kconfig
@@ -13,6 +13,7 @@ config BOARD_TYAN_S2892
select SERIAL_CPU_INIT
select AP_CODE_IN_CAR
select HAVE_ACPI_TABLES
+ select BOARD_ROMSIZE_KB_1024
config MAINBOARD_DIR
string
diff --git a/src/mainboard/tyan/s2895/Kconfig b/src/mainboard/tyan/s2895/Kconfig
index 12427418be..ba751b4945 100644
--- a/src/mainboard/tyan/s2895/Kconfig
+++ b/src/mainboard/tyan/s2895/Kconfig
@@ -13,6 +13,7 @@ config BOARD_TYAN_S2895
select SERIAL_CPU_INIT
select AP_CODE_IN_CAR
select HAVE_ACPI_TABLES
+ select BOARD_ROMSIZE_KB_1024
config MAINBOARD_DIR
string
diff --git a/src/mainboard/tyan/s2912/Kconfig b/src/mainboard/tyan/s2912/Kconfig
index f85fc02f79..0346521f7f 100644
--- a/src/mainboard/tyan/s2912/Kconfig
+++ b/src/mainboard/tyan/s2912/Kconfig
@@ -1,4 +1,3 @@
-
config BOARD_TYAN_S2912
bool "S2912"
select ARCH_X86
@@ -17,6 +16,7 @@ config BOARD_TYAN_S2912
select MEM_TRAIN_SEQ
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select K8_REV_F_SUPPORT
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/tyan/s2912_fam10/Kconfig b/src/mainboard/tyan/s2912_fam10/Kconfig
index c2e22024c8..55d7d9a34d 100644
--- a/src/mainboard/tyan/s2912_fam10/Kconfig
+++ b/src/mainboard/tyan/s2912_fam10/Kconfig
@@ -1,4 +1,3 @@
-
config BOARD_TYAN_S2912_FAM10
bool "S2912_FAM10"
select ARCH_X86
@@ -16,7 +15,8 @@ config BOARD_TYAN_S2912_FAM10
select IOAPIC
select MEM_TRAIN_SEQ
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
-
+ select BOARD_ROMSIZE_KB_1024
+
config MAINBOARD_DIR
string
default tyan/s2912_fam10
diff --git a/src/mainboard/tyan/s4880/Kconfig b/src/mainboard/tyan/s4880/Kconfig
index bc68364a1f..86bbd97447 100644
--- a/src/mainboard/tyan/s4880/Kconfig
+++ b/src/mainboard/tyan/s4880/Kconfig
@@ -14,6 +14,7 @@ config BOARD_TYAN_S4880
select USE_DCACHE_RAM
select HAVE_HARD_RESET
select IOAPIC
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/tyan/s4882/Kconfig b/src/mainboard/tyan/s4882/Kconfig
index fc67007d78..f5b8d57c28 100644
--- a/src/mainboard/tyan/s4882/Kconfig
+++ b/src/mainboard/tyan/s4882/Kconfig
@@ -14,6 +14,7 @@ config BOARD_TYAN_S4882
select USE_DCACHE_RAM
select HAVE_HARD_RESET
select IOAPIC
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/via/epia-cn/Kconfig b/src/mainboard/via/epia-cn/Kconfig
index b8b8737f50..cee2f724ff 100644
--- a/src/mainboard/via/epia-cn/Kconfig
+++ b/src/mainboard/via/epia-cn/Kconfig
@@ -6,6 +6,7 @@ config BOARD_VIA_EPIA_CN
select SOUTHBRIDGE_VIA_VT8237R
select SUPERIO_VIA_VT1211
select HAVE_PIRQ_TABLE
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/via/epia-m/Kconfig b/src/mainboard/via/epia-m/Kconfig
index b47b74eb95..50a6ac5e94 100644
--- a/src/mainboard/via/epia-m/Kconfig
+++ b/src/mainboard/via/epia-m/Kconfig
@@ -8,6 +8,7 @@ config BOARD_VIA_EPIA_M
select SUPERIO_VIA_VT1211
select HAVE_PIRQ_TABLE
select HAVE_ACPI_TABLES
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/via/epia-m700/Kconfig b/src/mainboard/via/epia-m700/Kconfig
index 0d451c7141..334b4477ec 100644
--- a/src/mainboard/via/epia-m700/Kconfig
+++ b/src/mainboard/via/epia-m700/Kconfig
@@ -5,6 +5,7 @@ config BOARD_VIA_EPIA_M700
select NORTHBRIDGE_VIA_VX800
select SUPERIO_WINBOND_W83697HF
select HAVE_ACPI_TABLES
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/via/epia-n/Kconfig b/src/mainboard/via/epia-n/Kconfig
index 26593f183f..1fafdd00cb 100644
--- a/src/mainboard/via/epia-n/Kconfig
+++ b/src/mainboard/via/epia-n/Kconfig
@@ -9,6 +9,7 @@ config BOARD_VIA_EPIA_N
select HAVE_MP_TABLE
select EPIA_VT8237R_INIT
select HAVE_ACPI_TABLES
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/via/epia/Kconfig b/src/mainboard/via/epia/Kconfig
index 31e1d9caae..7a611c42e7 100644
--- a/src/mainboard/via/epia/Kconfig
+++ b/src/mainboard/via/epia/Kconfig
@@ -6,6 +6,7 @@ config BOARD_VIA_EPIA
select SOUTHBRIDGE_VIA_VT8231
select SUPERIO_WINBOND_W83627HF
select HAVE_PIRQ_TABLE
+ select BOARD_ROMSIZE_KB_256
config MAINBOARD_DIR
string
diff --git a/src/mainboard/via/pc2500e/Kconfig b/src/mainboard/via/pc2500e/Kconfig
index 96786a80a7..a7d1eeb079 100644
--- a/src/mainboard/via/pc2500e/Kconfig
+++ b/src/mainboard/via/pc2500e/Kconfig
@@ -10,6 +10,7 @@ config BOARD_VIA_PC2500E
select SMP
select UDELAY_TSC
select TSC_X86RDTSC_CALIBRATE_WITH_TIMER2
+ select BOARD_ROMSIZE_KB_512
config MAINBOARD_DIR
string
diff --git a/src/mainboard/via/vt8454c/Kconfig b/src/mainboard/via/vt8454c/Kconfig
index ca3650d39d..84121c853d 100644
--- a/src/mainboard/via/vt8454c/Kconfig
+++ b/src/mainboard/via/vt8454c/Kconfig
@@ -10,6 +10,7 @@ config BOARD_VIA_VT8454C
# select MMCONF_SUPPORT
select USE_PRINTK_IN_CAR
select HAVE_ACPI_TABLES
+ select BOARD_ROMSIZE_KB_1024
config MAINBOARD_DIR
string