[coreboot] [flashrom] r558 - trunk

svn at coreboot.org svn at coreboot.org
Sun May 31 23:35:10 CEST 2009


Author: uwe
Date: 2009-05-31 23:35:10 +0200 (Sun, 31 May 2009)
New Revision: 558

Modified:
   trunk/satasii.c
Log:
Fix warning in satasii.c when compiling with gcc 4.4.0.

Signed-off-by: Urja Rannikko <urjaman at gmail.com>
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>



Modified: trunk/satasii.c
===================================================================
--- trunk/satasii.c	2009-05-31 18:00:57 UTC (rev 557)
+++ trunk/satasii.c	2009-05-31 21:35:10 UTC (rev 558)
@@ -64,7 +64,7 @@
 	sii_bar = physmap("SATA SIL registers", addr, 0x100) + reg_offset;
 
 	/* Check if ROM cycle are OK. */
-	if ((id != 0x0680) && (!(mmio_readl(sii_bar)) & (1 << 26)))
+	if ((id != 0x0680) && (!(mmio_readl(sii_bar) & (1 << 26))))
 		printf("Warning: Flash seems unconnected.\n");
 
 	return 0;





More information about the coreboot mailing list