summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorRonald G. Minnich <Ronald G. Minnich>2006-09-20 16:39:30 +0000
committerRonald G. Minnich <rminnich@gmail.com>2006-09-20 16:39:30 +0000
commit2ad85dbc65d884d82f2f9c9d4fa1c5cc3ab5dc42 (patch)
tree3e9c22d1649fc6946af295088723bb611c371fbb /src/northbridge
parente8bfbb387cc6fea5155d4b67e2b222af167e20bc (diff)
downloadcoreboot-2ad85dbc65d884d82f2f9c9d4fa1c5cc3ab5dc42.tar.xz
Lots of lx fixes. CLeanup mainly. THings now build
Signed-off-by: Ronald G. Minnich git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2430 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/amd/lx/grphinit.c4
-rw-r--r--src/northbridge/amd/lx/northbridge.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/northbridge/amd/lx/grphinit.c b/src/northbridge/amd/lx/grphinit.c
index 82636aa1fe..af9e9fef42 100644
--- a/src/northbridge/amd/lx/grphinit.c
+++ b/src/northbridge/amd/lx/grphinit.c
@@ -47,7 +47,7 @@ void graphics_init(void)
* External Monochrome Card Support(12) 0, NO
* Controller Priority Select(11) 1, Primary
* Display Select(10:8) 0x0, CRT
- * Graphics Memory Size(7:1) VIDEO_MB >> 1,
+ * Graphics Memory Size(7:1) CONFIG_VIDEO_MB >> 1,
* defined in mainboard/../Options.lb
* PLL Reference Clock Bypass(0) 0, Default
*/
@@ -57,7 +57,7 @@ void graphics_init(void)
* so we can add the real value in megabytes
*/
- wData = 0x0800 | (VIDEO_MB & VG_MEM_MASK);
+ wData = 0x0800 | (CONFIG_VIDEO_MB & VG_MEM_MASK);
vrWrite(wClassIndex, wData);
res = vrRead(wClassIndex);
diff --git a/src/northbridge/amd/lx/northbridge.c b/src/northbridge/amd/lx/northbridge.c
index 7d84c5c2d3..b014118da8 100644
--- a/src/northbridge/amd/lx/northbridge.c
+++ b/src/northbridge/amd/lx/northbridge.c
@@ -521,7 +521,7 @@ static void pci_domain_set_resources(device_t dev)
/* Report the memory regions */
idx = 10;
ram_resource(dev, idx++, 0, 640);
- ram_resource(dev, idx++, 1024, ((sizeram() - VIDEO_MB) * 1024) - SMM_SIZE - 1024);
+ ram_resource(dev, idx++, 1024, ((sizeram() - CONFIG_VIDEO_MB) * 1024) - SMM_SIZE - 1024);
}
assign_resources(&dev->link[0]);