diff options
Diffstat (limited to 'src/northbridge/amd/lx')
-rw-r--r-- | src/northbridge/amd/lx/grphinit.c | 4 | ||||
-rw-r--r-- | src/northbridge/amd/lx/northbridge.c | 2 |
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]); |