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
This commit is contained in:
Stefan Reinauer 2010-05-14 09:56:46 +00:00 committed by Stefan Reinauer
parent dd6ad3447b
commit aa567a795e
1 changed files with 1 additions and 1 deletions

View File

@ -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;