[coreboot] [commit] r5369 - trunk/src/northbridge/via/vt8601

repository service svn at coreboot.org
Wed Apr 7 05:41:39 CEST 2010


Author: stepan
Date: Wed Apr  7 05:41:39 2010
New Revision: 5369
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5369

Log:
it's a long term, give the compiler a chance to breathe .. ;-)

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

Modified:
   trunk/src/northbridge/via/vt8601/raminit.c

Modified: trunk/src/northbridge/via/vt8601/raminit.c
==============================================================================
--- trunk/src/northbridge/via/vt8601/raminit.c	Wed Apr  7 05:40:37 2010	(r5368)
+++ trunk/src/northbridge/via/vt8601/raminit.c	Wed Apr  7 05:41:39 2010	(r5369)
@@ -201,7 +201,8 @@
 	/* grand total. You have rows+cols addressing, * times of banks, times
 	 * width of data in bytes */
 	/* Width is assumed to be 64 bits == 8 bytes */
-	value = (1 << (cols + rows)) * banks * 8;
+	value = (1 << (cols + rows));
+	value *= banks * 8;
 	print_info_hex32(value);
 	print_info(" bytes ");
 	/* Return in 8MB units */




More information about the coreboot mailing list