[coreboot] [PATCH] clarify << and -

Stefan Reinauer stepan at coresystems.de
Wed Apr 14 17:47:31 CEST 2010


Signed-off-by: Stefan Reinauer <stepan at coresystems.de>

Index: src/northbridge/amd/gx2/chipsetinit.c
===================================================================
--- src/northbridge/amd/gx2/chipsetinit.c (revision 5425)
+++ src/northbridge/amd/gx2/chipsetinit.c (working copy)
@@ -275,7 +275,7 @@
if ((msr.lo&0xff) == 0x11)
return;

- totalmem = sizeram() << 20 - 1;
+ totalmem = (sizeram() << 20) - 1;
totalmem >>= 12;
totalmem = ~totalmem;
totalmem &= 0xfffff;

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866





More information about the coreboot mailing list