Author: hailfinger
Date: 2009-06-06 18:50:38 +0200 (Sat, 06 Jun 2009)
New Revision: 4348
Removed:
trunk/coreboot-v2/src/config/nofailovercalculation128.lb
Modified:
trunk/coreboot-v2/src/config/failovercalculation.lb
trunk/coreboot-v2/src/config/nofailovercalculation.lb
trunk/coreboot-v2/src/mainboard/a-trend/atc-6220/Config.lb
trunk/coreboot-v2/src/mainboard/a-trend/atc-6240/Config.lb
trunk/coreboot-v2/src/mainboard/abit/be6-ii_v2_0/Config.lb
trunk/coreboot-v2/src/mainboard/advantech/pcm-5820/Config.lb
trunk/coreboot-v2/src/mainboard/amd/db800/Config.lb
trunk/coreboot-v2/src/mainboard/amd/dbm690t/Config.lb
trunk/coreboot-v2/src/mainboard/amd/norwich/Config.lb
trunk/coreboot-v2/src/mainboard/amd/pistachio/Config.lb
trunk/coreboot-v2/src/mainboard/amd/rumba/Config.lb
trunk/coreboot-v2/src/mainboard/amd/serengeti_cheetah/Config.lb
trunk/coreboot-v2/src/mainboard/amd/serengeti_cheetah_fam10/Config.lb
trunk/coreboot-v2/src/mainboard/arima/hdama/Config.lb
trunk/coreboot-v2/src/mainboard/artecgroup/dbe61/Config.lb
trunk/coreboot-v2/src/mainboard/asi/mb_5blgp/Config.lb
trunk/coreboot-v2/src/mainboard/asi/mb_5blmp/Config.lb
trunk/coreboot-v2/src/mainboard/asus/a8n_e/Config.lb
trunk/coreboot-v2/src/mainboard/asus/a8v-e_se/Config.lb
trunk/coreboot-v2/src/mainboard/asus/m2v-mx_se/Config.lb
trunk/coreboot-v2/src/mainboard/asus/mew-am/Config.lb
trunk/coreboot-v2/src/mainboard/asus/mew-vm/Config.lb
trunk/coreboot-v2/src/mainboard/asus/p2b-d/Config.lb
trunk/coreboot-v2/src/mainboard/asus/p2b-ds/Config.lb
trunk/coreboot-v2/src/mainboard/asus/p2b-f/Config.lb
trunk/coreboot-v2/src/mainboard/asus/p2b/Config.lb
trunk/coreboot-v2/src/mainboard/asus/p3b-f/Config.lb
trunk/coreboot-v2/src/mainboard/axus/tc320/Config.lb
trunk/coreboot-v2/src/mainboard/azza/pt-6ibd/Config.lb
trunk/coreboot-v2/src/mainboard/bcom/winnet100/Config.lb
trunk/coreboot-v2/src/mainboard/bcom/winnetp680/Config.lb
trunk/coreboot-v2/src/mainboard/biostar/m6tba/Config.lb
trunk/coreboot-v2/src/mainboard/broadcom/blast/Config.lb
trunk/coreboot-v2/src/mainboard/compaq/deskpro_en_sff_p600/Config.lb
trunk/coreboot-v2/src/mainboard/dell/s1850/Config.lb
trunk/coreboot-v2/src/mainboard/digitallogic/adl855pc/Config.lb
trunk/coreboot-v2/src/mainboard/digitallogic/msm586seg/Config.lb
trunk/coreboot-v2/src/mainboard/digitallogic/msm800sev/Config.lb
trunk/coreboot-v2/src/mainboard/eaglelion/5bcm/Config.lb
trunk/coreboot-v2/src/mainboard/gigabyte/ga-6bxc/Config.lb
trunk/coreboot-v2/src/mainboard/gigabyte/ga_2761gxdk/Config.lb
trunk/coreboot-v2/src/mainboard/gigabyte/m57sli/Config.lb
trunk/coreboot-v2/src/mainboard/hp/dl145_g3/Config.lb
trunk/coreboot-v2/src/mainboard/ibm/e325/Config.lb
trunk/coreboot-v2/src/mainboard/ibm/e326/Config.lb
trunk/coreboot-v2/src/mainboard/iei/nova4899r/Config.lb
trunk/coreboot-v2/src/mainboard/iei/pcisa-lx-800-r10/Config.lb
trunk/coreboot-v2/src/mainboard/intel/jarrell/Config.lb
trunk/coreboot-v2/src/mainboard/intel/mtarvon/Config.lb
trunk/coreboot-v2/src/mainboard/intel/truxton/Config.lb
trunk/coreboot-v2/src/mainboard/intel/xe7501devkit/Config.lb
trunk/coreboot-v2/src/mainboard/iwill/dk8_htx/Config.lb
trunk/coreboot-v2/src/mainboard/iwill/dk8s2/Config.lb
trunk/coreboot-v2/src/mainboard/iwill/dk8x/Config.lb
trunk/coreboot-v2/src/mainboard/jetway/j7f24/Config.lb
trunk/coreboot-v2/src/mainboard/kontron/986lcd-m/Config.lb
trunk/coreboot-v2/src/mainboard/lippert/frontrunner/Config.lb
trunk/coreboot-v2/src/mainboard/lippert/roadrunner-lx/Config.lb
trunk/coreboot-v2/src/mainboard/lippert/spacerunner-lx/Config.lb
trunk/coreboot-v2/src/mainboard/msi/ms6119/Config.lb
trunk/coreboot-v2/src/mainboard/msi/ms6147/Config.lb
trunk/coreboot-v2/src/mainboard/msi/ms6178/Config.lb
trunk/coreboot-v2/src/mainboard/msi/ms7135/Config.lb
trunk/coreboot-v2/src/mainboard/msi/ms7260/Config.lb
trunk/coreboot-v2/src/mainboard/msi/ms9185/Config.lb
trunk/coreboot-v2/src/mainboard/msi/ms9282/Config.lb
trunk/coreboot-v2/src/mainboard/nec/powermate2000/Config.lb
trunk/coreboot-v2/src/mainboard/newisys/khepri/Config.lb
trunk/coreboot-v2/src/mainboard/nvidia/l1_2pvv/Config.lb
trunk/coreboot-v2/src/mainboard/olpc/btest/Config.lb
trunk/coreboot-v2/src/mainboard/olpc/rev_a/Config.lb
trunk/coreboot-v2/src/mainboard/pcengines/alix1c/Config.lb
trunk/coreboot-v2/src/mainboard/rca/rm4100/Config.lb
trunk/coreboot-v2/src/mainboard/sunw/ultra40/Config.lb
trunk/coreboot-v2/src/mainboard/supermicro/h8dme/Config.lb
trunk/coreboot-v2/src/mainboard/supermicro/h8dmr/Config.lb
trunk/coreboot-v2/src/mainboard/supermicro/x6dai_g/Config.lb
trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g/Config.lb
trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g2/Config.lb
trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig/Config.lb
trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig2/Config.lb
trunk/coreboot-v2/src/mainboard/technexion/tim8690/Config.lb
trunk/coreboot-v2/src/mainboard/technologic/ts5300/Config.lb
trunk/coreboot-v2/src/mainboard/televideo/tc7020/Config.lb
trunk/coreboot-v2/src/mainboard/thomson/ip1000/Config.lb
trunk/coreboot-v2/src/mainboard/tyan/s1846/Config.lb
trunk/coreboot-v2/src/mainboard/tyan/s2735/Config.lb
trunk/coreboot-v2/src/mainboard/tyan/s2850/Config.lb
trunk/coreboot-v2/src/mainboard/tyan/s2875/Config.lb
trunk/coreboot-v2/src/mainboard/tyan/s2880/Config.lb
trunk/coreboot-v2/src/mainboard/tyan/s2881/Config.lb
trunk/coreboot-v2/src/mainboard/tyan/s2882/Config.lb
trunk/coreboot-v2/src/mainboard/tyan/s2885/Config.lb
trunk/coreboot-v2/src/mainboard/tyan/s2891/Config.lb
trunk/coreboot-v2/src/mainboard/tyan/s2892/Config.lb
trunk/coreboot-v2/src/mainboard/tyan/s2895/Config.lb
trunk/coreboot-v2/src/mainboard/tyan/s2912/Config.lb
trunk/coreboot-v2/src/mainboard/tyan/s2912_fam10/Config.lb
trunk/coreboot-v2/src/mainboard/tyan/s4880/Config.lb
trunk/coreboot-v2/src/mainboard/tyan/s4882/Config.lb
trunk/coreboot-v2/src/mainboard/via/epia-cn/Config.lb
trunk/coreboot-v2/src/mainboard/via/epia-m/Config.lb
trunk/coreboot-v2/src/mainboard/via/epia-m700/Config.lb
trunk/coreboot-v2/src/mainboard/via/epia/Config.lb
trunk/coreboot-v2/src/mainboard/via/pc2500e/Config.lb
trunk/coreboot-v2/src/mainboard/via/vt8454c/Config.lb
Log:
When I started refactoring mainboard Config.lb, I added two different
files for targets without failover:
src/config/nofailovercalculation.lb (64 kB XIP)
src/config/nofailovercalculation128.lb (128 kB XIP)
Targets with other XIP sizes were ignored.
This patch moves XIP size back into mainboard code.
Benefits from this patch:
- src/config/nofailovercalculation128.lb is no longer needed
- Targets with XIP sizes besides 64k and 128k benefit from refactoring
- Conceptually, this makes the include files pure calculation files
without settings.
Abuild tested.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006(a)gmx.net>
Acked-by: Patrick Georgi <patrick.georgi(a)coresystems.de>
Modified: trunk/coreboot-v2/src/config/failovercalculation.lb
===================================================================
--- trunk/coreboot-v2/src/config/failovercalculation.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/config/failovercalculation.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -36,10 +36,9 @@
## Compute a range of ROM that can cached to speed up coreboot,
## execution speed.
##
-## XIP_ROM_SIZE must be a power of 2.
+## XIP_ROM_SIZE must be a power of 2 and is set in mainboard Config.lb
## XIP_ROM_BASE must be a multiple of XIP_ROM_SIZE
##
-default XIP_ROM_SIZE = 64 * 1024
if USE_FAILOVER_IMAGE
default XIP_ROM_BASE = ( _ROMBASE - XIP_ROM_SIZE + ROM_IMAGE_SIZE)
Modified: trunk/coreboot-v2/src/config/nofailovercalculation.lb
===================================================================
--- trunk/coreboot-v2/src/config/nofailovercalculation.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/config/nofailovercalculation.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -31,8 +31,7 @@
## Compute a range of ROM that can cached to speed up coreboot,
## execution speed.
##
-## XIP_ROM_SIZE must be a power of 2.
+## XIP_ROM_SIZE must be a power of 2 and is set in mainboard Config.lb
## XIP_ROM_BASE must be a multiple of XIP_ROM_SIZE
##
-default XIP_ROM_SIZE = 64 * 1024
default XIP_ROM_BASE = ( _ROMBASE - XIP_ROM_SIZE + ROM_IMAGE_SIZE )
Deleted: trunk/coreboot-v2/src/config/nofailovercalculation128.lb
===================================================================
--- trunk/coreboot-v2/src/config/nofailovercalculation128.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/config/nofailovercalculation128.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,38 +0,0 @@
-##
-## Compute the location and size of where this firmware image
-## (coreboot plus bootloader) will live in the boot rom chip.
-##
-if USE_FALLBACK_IMAGE
- default ROM_SECTION_SIZE = FALLBACK_SIZE
- default ROM_SECTION_OFFSET = ( ROM_SIZE - FALLBACK_SIZE )
-else
- if CONFIG_CBFS
- default ROM_SECTION_SIZE = FALLBACK_SIZE
- default ROM_SECTION_OFFSET = ( ROM_SIZE - FALLBACK_SIZE - FALLBACK_SIZE )
- else
- default ROM_SECTION_SIZE = ( ROM_SIZE - FALLBACK_SIZE )
- default ROM_SECTION_OFFSET = 0
- end
-end
-
-##
-## Compute the start location and size size of
-## The coreboot bootloader.
-##
-default PAYLOAD_SIZE = ( ROM_SECTION_SIZE - ROM_IMAGE_SIZE )
-default CONFIG_ROM_PAYLOAD_START = (0xffffffff - ROM_SIZE + ROM_SECTION_OFFSET + 1)
-
-##
-## Compute where this copy of coreboot will start in the boot rom
-##
-default _ROMBASE = ( CONFIG_ROM_PAYLOAD_START + PAYLOAD_SIZE )
-
-##
-## Compute a range of ROM that can cached to speed up coreboot,
-## execution speed.
-##
-## XIP_ROM_SIZE must be a power of 2.
-## XIP_ROM_BASE must be a multiple of XIP_ROM_SIZE
-##
-default XIP_ROM_SIZE = 128 * 1024
-default XIP_ROM_BASE = ( _ROMBASE - XIP_ROM_SIZE + ROM_IMAGE_SIZE )
Modified: trunk/coreboot-v2/src/mainboard/a-trend/atc-6220/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/a-trend/atc-6220/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/a-trend/atc-6220/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/a-trend/atc-6240/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/a-trend/atc-6240/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/a-trend/atc-6240/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/abit/be6-ii_v2_0/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/abit/be6-ii_v2_0/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/abit/be6-ii_v2_0/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/advantech/pcm-5820/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/advantech/pcm-5820/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/advantech/pcm-5820/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/amd/db800/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/amd/db800/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/amd/db800/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/amd/dbm690t/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/amd/dbm690t/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/amd/dbm690t/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -19,6 +19,8 @@
##
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/amd/norwich/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/amd/norwich/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/amd/norwich/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/amd/pistachio/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/amd/pistachio/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/amd/pistachio/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -19,6 +19,8 @@
##
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/amd/rumba/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/amd/rumba/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/amd/rumba/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/amd/serengeti_cheetah/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/amd/serengeti_cheetah/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/amd/serengeti_cheetah/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/failovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/amd/serengeti_cheetah_fam10/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/amd/serengeti_cheetah_fam10/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/amd/serengeti_cheetah_fam10/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -17,6 +17,8 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/failovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/arima/hdama/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/arima/hdama/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/arima/hdama/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,4 +1,6 @@
-include /config/nofailovercalculation128.lb
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 128 * 1024
+include /config/nofailovercalculation.lb
##
## Set all of the defaults for an x86 architecture
Modified: trunk/coreboot-v2/src/mainboard/artecgroup/dbe61/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/artecgroup/dbe61/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/artecgroup/dbe61/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/asi/mb_5blgp/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/asi/mb_5blgp/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/asi/mb_5blgp/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/asi/mb_5blmp/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/asi/mb_5blmp/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/asi/mb_5blmp/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/asus/a8n_e/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/asus/a8n_e/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/asus/a8n_e/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -21,6 +21,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/failovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/asus/a8v-e_se/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/asus/a8v-e_se/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/asus/a8v-e_se/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -20,6 +20,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
default CONFIG_ROM_PAYLOAD = 1
Modified: trunk/coreboot-v2/src/mainboard/asus/m2v-mx_se/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/asus/m2v-mx_se/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/asus/m2v-mx_se/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -20,7 +20,9 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-include /config/nofailovercalculation128.lb
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 128 * 1024
+include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/asus/mew-am/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/asus/mew-am/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/asus/mew-am/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/asus/mew-vm/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/asus/mew-vm/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/asus/mew-vm/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/asus/p2b/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/asus/p2b/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/asus/p2b/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/asus/p2b-d/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/asus/p2b-d/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/asus/p2b-d/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/asus/p2b-ds/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/asus/p2b-ds/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/asus/p2b-ds/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/asus/p2b-f/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/asus/p2b-f/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/asus/p2b-f/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/asus/p3b-f/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/asus/p3b-f/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/asus/p3b-f/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/axus/tc320/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/axus/tc320/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/axus/tc320/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/azza/pt-6ibd/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/azza/pt-6ibd/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/azza/pt-6ibd/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
driver mainboard.o
Modified: trunk/coreboot-v2/src/mainboard/bcom/winnet100/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/bcom/winnet100/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/bcom/winnet100/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/bcom/winnetp680/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/bcom/winnetp680/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/bcom/winnetp680/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -19,6 +19,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/biostar/m6tba/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/biostar/m6tba/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/biostar/m6tba/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/broadcom/blast/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/broadcom/blast/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/broadcom/blast/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/compaq/deskpro_en_sff_p600/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/compaq/deskpro_en_sff_p600/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/compaq/deskpro_en_sff_p600/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/dell/s1850/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/dell/s1850/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/dell/s1850/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -3,7 +3,9 @@
##
default USE_OPTION_TABLE = !USE_FALLBACK_IMAGE
-include /config/nofailovercalculation128.lb
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 128 * 1024
+include /config/nofailovercalculation.lb
##
## Set all of the defaults for an x86 architecture
Modified: trunk/coreboot-v2/src/mainboard/digitallogic/adl855pc/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/digitallogic/adl855pc/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/digitallogic/adl855pc/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/digitallogic/msm586seg/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/digitallogic/msm586seg/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/digitallogic/msm586seg/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,38 +1,9 @@
-##
-## Compute the location and size of where this firmware image
-## (coreboot plus bootloader) will live in the boot rom chip.
-##
default ROM_SIZE = 512 * 1024
default FALLBACK_SIZE = 0x10000
-if USE_FALLBACK_IMAGE
- default ROM_SECTION_SIZE = FALLBACK_SIZE
- default ROM_SECTION_OFFSET = ( ROM_SIZE - FALLBACK_SIZE )
-else
- default ROM_SECTION_SIZE = ( ROM_SIZE - FALLBACK_SIZE )
- default ROM_SECTION_OFFSET = 0
-end
-##
-## Compute the start location and size size of
-## The coreboot bootloader.
-##
-default PAYLOAD_SIZE = ( ROM_SECTION_SIZE - ROM_IMAGE_SIZE )
-default CONFIG_ROM_PAYLOAD_START = (0xffffffff - ROM_SIZE + ROM_SECTION_OFFSET + 1)
-
-##
-## Compute where this copy of coreboot will start in the boot rom
-##
-default _ROMBASE = ( CONFIG_ROM_PAYLOAD_START + PAYLOAD_SIZE )
-
-##
-## Compute a range of ROM that can cached to speed up coreboot,
-## execution speed.
-##
## XIP_ROM_SIZE must be a power of 2.
-## XIP_ROM_BASE must be a multiple of XIP_ROM_SIZE
-##
-default XIP_ROM_SIZE=32*1024
-default XIP_ROM_BASE = ( _ROMBASE + ROM_IMAGE_SIZE - XIP_ROM_SIZE )
+default XIP_ROM_SIZE = 32 * 1024
+include /config/nofailovercalculation.lb
##
## Set all of the defaults for an x86 architecture
Modified: trunk/coreboot-v2/src/mainboard/digitallogic/msm800sev/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/digitallogic/msm800sev/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/digitallogic/msm800sev/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/eaglelion/5bcm/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/eaglelion/5bcm/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/eaglelion/5bcm/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/gigabyte/ga-6bxc/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/gigabyte/ga-6bxc/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/gigabyte/ga-6bxc/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/gigabyte/ga_2761gxdk/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/gigabyte/ga_2761gxdk/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/gigabyte/ga_2761gxdk/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -21,6 +21,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/failovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/gigabyte/m57sli/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/gigabyte/m57sli/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/gigabyte/m57sli/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -19,6 +19,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/failovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/hp/dl145_g3/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/hp/dl145_g3/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/hp/dl145_g3/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -25,6 +25,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/ibm/e325/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/ibm/e325/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/ibm/e325/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/ibm/e326/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/ibm/e326/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/ibm/e326/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/iei/nova4899r/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/iei/nova4899r/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/iei/nova4899r/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/iei/pcisa-lx-800-r10/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/iei/pcisa-lx-800-r10/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/iei/pcisa-lx-800-r10/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/intel/jarrell/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/intel/jarrell/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/intel/jarrell/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -3,7 +3,9 @@
##
default USE_OPTION_TABLE = !USE_FALLBACK_IMAGE
-include /config/nofailovercalculation128.lb
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 128 * 1024
+include /config/nofailovercalculation.lb
##
## Set all of the defaults for an x86 architecture
Modified: trunk/coreboot-v2/src/mainboard/intel/mtarvon/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/intel/mtarvon/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/intel/mtarvon/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -17,7 +17,9 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-include /config/nofailovercalculation128.lb
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 128 * 1024
+include /config/nofailovercalculation.lb
##
## Set all of the defaults for an x86 architecture
Modified: trunk/coreboot-v2/src/mainboard/intel/truxton/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/intel/truxton/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/intel/truxton/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -17,7 +17,9 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-include /config/nofailovercalculation128.lb
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 128 * 1024
+include /config/nofailovercalculation.lb
##
## Set all of the defaults for an x86 architecture
Modified: trunk/coreboot-v2/src/mainboard/intel/xe7501devkit/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/intel/xe7501devkit/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/intel/xe7501devkit/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,4 +1,6 @@
-include /config/nofailovercalculation128.lb
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 128 * 1024
+include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/iwill/dk8_htx/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/iwill/dk8_htx/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/iwill/dk8_htx/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/failovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/iwill/dk8s2/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/iwill/dk8s2/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/iwill/dk8s2/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/iwill/dk8x/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/iwill/dk8x/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/iwill/dk8x/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/jetway/j7f24/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/jetway/j7f24/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/jetway/j7f24/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -19,6 +19,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/kontron/986lcd-m/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/kontron/986lcd-m/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/kontron/986lcd-m/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -28,6 +28,8 @@
##
default USE_OPTION_TABLE = !USE_FALLBACK_IMAGE
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/lippert/frontrunner/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/lippert/frontrunner/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/lippert/frontrunner/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/lippert/roadrunner-lx/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/lippert/roadrunner-lx/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/lippert/roadrunner-lx/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -20,6 +20,8 @@
## Based on Config.lb from AMD's DB800 and DBM690T mainboards.
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/lippert/spacerunner-lx/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/lippert/spacerunner-lx/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/lippert/spacerunner-lx/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -20,6 +20,8 @@
## Based on Config.lb from AMD's DB800 and DBM690T mainboards.
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/msi/ms6119/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/msi/ms6119/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/msi/ms6119/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/msi/ms6147/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/msi/ms6147/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/msi/ms6147/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/msi/ms6178/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/msi/ms6178/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/msi/ms6178/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/msi/ms7135/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/msi/ms7135/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/msi/ms7135/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -22,6 +22,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/failovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/msi/ms7260/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/msi/ms7260/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/msi/ms7260/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/failovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/msi/ms9185/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/msi/ms9185/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/msi/ms9185/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -22,6 +22,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/msi/ms9282/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/msi/ms9282/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/msi/ms9282/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -22,6 +22,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
default CONFIG_ROM_PAYLOAD = 1
Modified: trunk/coreboot-v2/src/mainboard/nec/powermate2000/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/nec/powermate2000/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/nec/powermate2000/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/newisys/khepri/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/newisys/khepri/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/newisys/khepri/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/nvidia/l1_2pvv/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/nvidia/l1_2pvv/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/nvidia/l1_2pvv/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -19,6 +19,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/failovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/olpc/btest/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/olpc/btest/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/olpc/btest/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/olpc/rev_a/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/olpc/rev_a/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/olpc/rev_a/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/pcengines/alix1c/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/pcengines/alix1c/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/pcengines/alix1c/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/rca/rm4100/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/rca/rm4100/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/rca/rm4100/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/sunw/ultra40/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/sunw/ultra40/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/sunw/ultra40/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
default CONFIG_ROM_PAYLOAD = 1
Modified: trunk/coreboot-v2/src/mainboard/supermicro/h8dme/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/supermicro/h8dme/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/supermicro/h8dme/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -16,6 +16,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/failovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/supermicro/h8dmr/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/supermicro/h8dmr/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/supermicro/h8dmr/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -19,6 +19,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/failovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/supermicro/x6dai_g/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/supermicro/x6dai_g/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/supermicro/x6dai_g/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -3,7 +3,9 @@
##
default USE_OPTION_TABLE = !USE_FALLBACK_IMAGE
-include /config/nofailovercalculation128.lb
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 128 * 1024
+include /config/nofailovercalculation.lb
##
## Set all of the defaults for an x86 architecture
Modified: trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -3,7 +3,9 @@
##
default USE_OPTION_TABLE = !USE_FALLBACK_IMAGE
-include /config/nofailovercalculation128.lb
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 128 * 1024
+include /config/nofailovercalculation.lb
## Set all of the defaults for an x86 architecture
##
Modified: trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g2/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g2/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/supermicro/x6dhe_g2/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -3,7 +3,9 @@
##
default USE_OPTION_TABLE = !USE_FALLBACK_IMAGE
-include /config/nofailovercalculation128.lb
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 128 * 1024
+include /config/nofailovercalculation.lb
## Set all of the defaults for an x86 architecture
##
Modified: trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -3,7 +3,9 @@
##
default USE_OPTION_TABLE = !USE_FALLBACK_IMAGE
-include /config/nofailovercalculation128.lb
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 128 * 1024
+include /config/nofailovercalculation.lb
##
## Set all of the defaults for an x86 architecture
Modified: trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig2/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig2/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/supermicro/x6dhr_ig2/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -3,7 +3,9 @@
##
default USE_OPTION_TABLE = !USE_FALLBACK_IMAGE
-include /config/nofailovercalculation128.lb
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 128 * 1024
+include /config/nofailovercalculation.lb
##
## Set all of the defaults for an x86 architecture
Modified: trunk/coreboot-v2/src/mainboard/technexion/tim8690/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/technexion/tim8690/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/technexion/tim8690/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -19,6 +19,8 @@
##
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/technologic/ts5300/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/technologic/ts5300/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/technologic/ts5300/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,38 +1,9 @@
-##
-## Compute the location and size of where this firmware image
-## (coreboot plus bootloader) will live in the boot rom chip.
-##
default ROM_SIZE = 128 * 1024
default FALLBACK_SIZE = 0x10000
-if USE_FALLBACK_IMAGE
- default ROM_SECTION_SIZE = FALLBACK_SIZE
- default ROM_SECTION_OFFSET = ( ROM_SIZE - FALLBACK_SIZE )
-else
- default ROM_SECTION_SIZE = ( ROM_SIZE - FALLBACK_SIZE )
- default ROM_SECTION_OFFSET = 0
-end
-##
-## Compute the start location and size size of
-## The coreboot bootloader.
-##
-default PAYLOAD_SIZE = ( ROM_SECTION_SIZE - ROM_IMAGE_SIZE )
-default CONFIG_ROM_PAYLOAD_START = (0xffffffff - ROM_SIZE + ROM_SECTION_OFFSET + 1)
-
-##
-## Compute where this copy of coreboot will start in the boot rom
-##
-default _ROMBASE = ( CONFIG_ROM_PAYLOAD_START + PAYLOAD_SIZE )
-
-##
-## Compute a range of ROM that can cached to speed up coreboot,
-## execution speed.
-##
## XIP_ROM_SIZE must be a power of 2.
-## XIP_ROM_BASE must be a multiple of XIP_ROM_SIZE
-##
-default XIP_ROM_SIZE=32*1024
-default XIP_ROM_BASE = ( _ROMBASE + ROM_IMAGE_SIZE - XIP_ROM_SIZE )
+default XIP_ROM_SIZE = 32 * 1024
+include /config/nofailovercalculation.lb
##
## Set all of the defaults for an x86 architecture
Modified: trunk/coreboot-v2/src/mainboard/televideo/tc7020/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/televideo/tc7020/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/televideo/tc7020/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/thomson/ip1000/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/thomson/ip1000/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/thomson/ip1000/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/tyan/s1846/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/tyan/s1846/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/tyan/s1846/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2735/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/tyan/s2735/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/tyan/s2735/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
default CONFIG_ROM_PAYLOAD = 1
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2850/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/tyan/s2850/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/tyan/s2850/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2875/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/tyan/s2875/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/tyan/s2875/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2880/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/tyan/s2880/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/tyan/s2880/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2881/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/tyan/s2881/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/tyan/s2881/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2882/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/tyan/s2882/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/tyan/s2882/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2885/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/tyan/s2885/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/tyan/s2885/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2891/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/tyan/s2891/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/tyan/s2891/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
default CONFIG_ROM_PAYLOAD = 1
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2892/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/tyan/s2892/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/tyan/s2892/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
default CONFIG_ROM_PAYLOAD = 1
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2895/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/tyan/s2895/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/tyan/s2895/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/failovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2912/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/tyan/s2912/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/tyan/s2912/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -19,6 +19,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/failovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2912_fam10/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/tyan/s2912_fam10/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/tyan/s2912_fam10/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -19,6 +19,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/failovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/tyan/s4880/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/tyan/s4880/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/tyan/s4880/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
default CONFIG_ROM_PAYLOAD = 1
Modified: trunk/coreboot-v2/src/mainboard/tyan/s4882/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/tyan/s4882/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/tyan/s4882/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
default CONFIG_ROM_PAYLOAD = 1
Modified: trunk/coreboot-v2/src/mainboard/via/epia/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/via/epia/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/via/epia/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/via/epia-cn/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/via/epia-cn/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/via/epia-cn/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -19,6 +19,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/via/epia-m/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/via/epia-m/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/via/epia-m/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -1,3 +1,5 @@
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##
Modified: trunk/coreboot-v2/src/mainboard/via/epia-m700/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/via/epia-m700/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/via/epia-m700/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,22 +18,10 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-if USE_FALLBACK_IMAGE
- default ROM_SECTION_SIZE = FALLBACK_SIZE
- default ROM_SECTION_OFFSET = (ROM_SIZE - FALLBACK_SIZE)
-else
- default ROM_SECTION_SIZE = (ROM_SIZE - FALLBACK_SIZE)
- default ROM_SECTION_OFFSET = 0
-end
-default PAYLOAD_SIZE = (ROM_SECTION_SIZE - ROM_IMAGE_SIZE)
-default CONFIG_ROM_PAYLOAD_START = (0xffffffff - ROM_SIZE + ROM_SECTION_OFFSET + 1)
-default _ROMBASE = (CONFIG_ROM_PAYLOAD_START + PAYLOAD_SIZE)
+## XIP_ROM_SIZE must be a power of 2.
default XIP_ROM_SIZE = 64 * 1024
-#default XIP_ROM_SIZE = ROM_IMAGE_SIZE
-#default XIP_ROM_BASE = (_ROMBASE + ROM_IMAGE_SIZE - XIP_ROM_SIZE)
-default XIP_ROM_BASE = (_ROMBASE + ROM_IMAGE_SIZE - XIP_ROM_SIZE)
+include /config/nofailovercalculation.lb
-
arch i386 end
driver mainboard.o
driver wakeup.o
Modified: trunk/coreboot-v2/src/mainboard/via/pc2500e/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/via/pc2500e/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/via/pc2500e/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -18,6 +18,8 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
Modified: trunk/coreboot-v2/src/mainboard/via/vt8454c/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/via/vt8454c/Config.lb 2009-06-06 12:19:59 UTC (rev 4347)
+++ trunk/coreboot-v2/src/mainboard/via/vt8454c/Config.lb 2009-06-06 16:50:38 UTC (rev 4348)
@@ -19,6 +19,8 @@
## MA 02110-1301 USA
##
+## XIP_ROM_SIZE must be a power of 2.
+default XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
##