diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-05-14 09:56:46 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-05-14 09:56:46 +0000 |
commit | aa567a795e54cb71e9862736d0af591958ac9775 (patch) | |
tree | 2aac274743713ac84903902ebea738c164a4f960 /src | |
parent | dd6ad3447b10ffd1c0c823129aadc42038cb2b7e (diff) |
Fix warning. Hardware tested and didn't change behavior.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5546 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r-- | src/northbridge/amd/gx2/chipsetinit.c | 2 |
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; |