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:
committed by
Stefan Reinauer
parent
dd6ad3447b
commit
aa567a795e
@ -268,7 +268,7 @@ ChipsetGeodeLinkInit(void)
|
|||||||
if ((msr.lo&0xff) == 0x11)
|
if ((msr.lo&0xff) == 0x11)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
totalmem = sizeram() << 20 - 1;
|
totalmem = (sizeram() << 20) - 1; // highest address
|
||||||
totalmem >>= 12;
|
totalmem >>= 12;
|
||||||
totalmem = ~totalmem;
|
totalmem = ~totalmem;
|
||||||
totalmem &= 0xfffff;
|
totalmem &= 0xfffff;
|
||||||
|
Reference in New Issue
Block a user