summaryrefslogtreecommitdiff
path: root/src/mainboard/via
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2009-08-19 13:40:20 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2009-08-19 13:40:20 +0000
commit7467664c09bf74abda63c2fb940196cb2dae1130 (patch)
treefe52e3fb9770c2baf113b553f47fb09e67bcda8e /src/mainboard/via
parent69a031c4e1a85beba3f24ed27781f5fb3e2a642f (diff)
downloadcoreboot-7467664c09bf74abda63c2fb940196cb2dae1130.tar.xz
Reduce size of the romstage on various boards that fail to build on QA.
This eliminates 56kb of padding in the bootblock. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4554 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/via')
-rw-r--r--src/mainboard/via/epia-m/Config.lb3
-rw-r--r--src/mainboard/via/epia-m/Options.lb2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/mainboard/via/epia-m/Config.lb b/src/mainboard/via/epia-m/Config.lb
index 8bb51b639b..a81c758917 100644
--- a/src/mainboard/via/epia-m/Config.lb
+++ b/src/mainboard/via/epia-m/Config.lb
@@ -1,6 +1,7 @@
## CONFIG_XIP_ROM_SIZE must be a power of 2.
-default CONFIG_XIP_ROM_SIZE = 64 * 1024
+default CONFIG_XIP_ROM_SIZE = 128 * 1024
include /config/nofailovercalculation.lb
+default CONFIG_XIP_ROM_BASE = 0xffffffff - CONFIG_XIP_ROM_SIZE + 1
##
## Set all of the defaults for an x86 architecture
diff --git a/src/mainboard/via/epia-m/Options.lb b/src/mainboard/via/epia-m/Options.lb
index 1d3094bf65..c019b22b0e 100644
--- a/src/mainboard/via/epia-m/Options.lb
+++ b/src/mainboard/via/epia-m/Options.lb
@@ -100,7 +100,7 @@ default CONFIG_HAVE_OPTION_TABLE=1
###
## CONFIG_ROM_IMAGE_SIZE is the amount of space to allow coreboot to occupy.
-default CONFIG_ROM_IMAGE_SIZE = 65536
+default CONFIG_ROM_IMAGE_SIZE = 36 * 1024
default CONFIG_FALLBACK_SIZE = CONFIG_ROM_IMAGE_SIZE
##