summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/northbridge/amd/gx2/chipsetinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/amd/gx2/chipsetinit.c b/src/northbridge/amd/gx2/chipsetinit.c
index f0b99e7e9d..1d0edc4c4d 100644
--- a/src/northbridge/amd/gx2/chipsetinit.c
+++ b/src/northbridge/amd/gx2/chipsetinit.c
@@ -268,7 +268,7 @@ ChipsetGeodeLinkInit(void)
if ((msr.lo&0xff) == 0x11)
return;
- totalmem = sizeram() << 20 - 1;
+ totalmem = (sizeram() << 20) - 1; // highest address
totalmem >>= 12;
totalmem = ~totalmem;
totalmem &= 0xfffff;