From 49a89f19f269dc9bc0192f6aeba918a476e097cb Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Sat, 6 May 2006 02:54:45 +0000 Subject: [PATCH] Use a real variable to configure rom base for vsa ... git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2301 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/cpu/amd/model_gx2/vsmsetup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cpu/amd/model_gx2/vsmsetup.c b/src/cpu/amd/model_gx2/vsmsetup.c index 3f65774f66..dacaef89e1 100644 --- a/src/cpu/amd/model_gx2/vsmsetup.c +++ b/src/cpu/amd/model_gx2/vsmsetup.c @@ -260,7 +260,9 @@ void do_vsmbios(void) * much better parameterized */ //rom = 0xfff80000; - rom = 0xfffc0000; + //rom = 0xfffc0000; + /* the VSA starts at the base of rom - 128k */ + rom = ((unsigned long) 0) - (ROM_SIZE + 128*1024); buf = (unsigned char *) rom; printk_debug("buf %p *buf %d buf[256k] %d\n",