summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/gx2/northbridge.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/amd/gx2/northbridge.c')
-rw-r--r--src/northbridge/amd/gx2/northbridge.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/northbridge/amd/gx2/northbridge.c b/src/northbridge/amd/gx2/northbridge.c
index 6f3e17abc7..a8043dd144 100644
--- a/src/northbridge/amd/gx2/northbridge.c
+++ b/src/northbridge/amd/gx2/northbridge.c
@@ -15,7 +15,6 @@
#include <cpu/amd/vr.h>
#include <cpu/cpu.h>
#include "../../../southbridge/amd/cs5536/cs5536.h"
-#define VIDEO_MB 8
#define NORTHBRIDGE_FILE "northbridge.c"
@@ -302,7 +301,7 @@ static void enable_dev(struct device *dev)
graphics_init();
dev->ops = &pci_domain_ops;
pci_set_method(dev);
- tomk = ((sizeram() - VIDEO_MB) * 1024) - SMM_SIZE;
+ tomk = ((sizeram() - CONFIG_VIDEO_MB) * 1024) - SMM_SIZE;
#if CONFIG_WRITE_HIGH_TABLES==1
/* Leave some space for ACPI, PIRQ and MP tables */
high_tables_base = (tomk * 1024) - HIGH_MEMORY_SIZE;