aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/asus/m2v-mx_se/Config.lb
diff options
context:
space:
mode:
authorRudolf Marek <r.marek@assembler.cz>2009-05-10 20:35:18 +0000
committerRudolf Marek <r.marek@assembler.cz>2009-05-10 20:35:18 +0000
commitc720795868d08bfcc07c16504e7132274899e907 (patch)
tree67c4a38570917929caa4dc033292e79c23bdea4f /src/mainboard/asus/m2v-mx_se/Config.lb
parent442fc92b1f528902524412403f8c60ef4d0e1539 (diff)
Following patch fixes the XIP computation issue. I removed the normal image
because it was not working anyway (it was hardcoded) and because it allows me to fix the XIP base to something sane (and use generic computation and approach) This board is bit tricky because until now it required the VGA BIOS on the flash start. XIP will work with 64KB aligned base, therefore the VGA ROM image must be aligned too to 64KB. Signed-off-by: Rudolf Marek <r.marek@assembler.cz> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4265 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/asus/m2v-mx_se/Config.lb')
-rw-r--r--src/mainboard/asus/m2v-mx_se/Config.lb18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/mainboard/asus/m2v-mx_se/Config.lb b/src/mainboard/asus/m2v-mx_se/Config.lb
index 9c729131f2..461be2b59f 100644
--- a/src/mainboard/asus/m2v-mx_se/Config.lb
+++ b/src/mainboard/asus/m2v-mx_se/Config.lb
@@ -20,23 +20,7 @@
## 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 CONFIG_ROM_PAYLOAD = 1
-default _ROMBASE = (CONFIG_ROM_PAYLOAD_START + PAYLOAD_SIZE)
-
-##WARNING enable caching of whole ROM during CAR
-##for 512KB flash
-default XIP_ROM_SIZE = 0x80000
-default XIP_ROM_BASE = 0xffffffff + 1 - XIP_ROM_SIZE
+include /config/nofailovercalculation128.lb
arch i386 end