From aa567a795e54cb71e9862736d0af591958ac9775 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 14 May 2010 09:56:46 +0000 Subject: Fix warning. Hardware tested and didn't change behavior. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5546 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/gx2/chipsetinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3