summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2006-05-06 02:54:45 +0000
committerRonald G. Minnich <rminnich@gmail.com>2006-05-06 02:54:45 +0000
commit49a89f19f269dc9bc0192f6aeba918a476e097cb (patch)
tree96d76770332fbd860efbd92d71eaf93d0d788d0c
parentad97691c40a0008e62a0d857df4be77443026374 (diff)
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
-rw-r--r--src/cpu/amd/model_gx2/vsmsetup.c4
1 files changed, 3 insertions, 1 deletions
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",