[coreboot] [commit] r5546 - trunk/src/northbridge/amd/gx2
repository service
svn at coreboot.org
Fri May 14 11:56:47 CEST 2010
Author: stepan
Date: Fri May 14 11:56:46 2010
New Revision: 5546
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5546
Log:
Fix warning. Hardware tested and didn't change behavior.
Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
Modified:
trunk/src/northbridge/amd/gx2/chipsetinit.c
Modified: trunk/src/northbridge/amd/gx2/chipsetinit.c
==============================================================================
--- trunk/src/northbridge/amd/gx2/chipsetinit.c Fri May 14 11:48:05 2010 (r5545)
+++ trunk/src/northbridge/amd/gx2/chipsetinit.c Fri May 14 11:56:46 2010 (r5546)
@@ -268,7 +268,7 @@
if ((msr.lo&0xff) == 0x11)
return;
- totalmem = sizeram() << 20 - 1;
+ totalmem = (sizeram() << 20) - 1; // highest address
totalmem >>= 12;
totalmem = ~totalmem;
totalmem &= 0xfffff;
More information about the coreboot
mailing list