[coreboot] [flashrom] r537 - trunk

svn at coreboot.org svn at coreboot.org
Wed May 20 19:09:43 CEST 2009


Author: uwe
Date: 2009-05-20 19:09:43 +0200 (Wed, 20 May 2009)
New Revision: 537

Modified:
   trunk/satasii.c
Log:
The Silicon Image PCI0680 has bit 26 marked as reserved, so don't use it.

Signed-off-by: Uwe Hermann <uwe at hermann-uwe.de>
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>



Modified: trunk/satasii.c
===================================================================
--- trunk/satasii.c	2009-05-19 21:03:31 UTC (rev 536)
+++ trunk/satasii.c	2009-05-20 17:09:43 UTC (rev 537)
@@ -64,8 +64,8 @@
 	sii_bar = physmap("SATA SIL registers", addr, 0x100) + reg_offset;
 
 	/* Check if ROM cycle are OK. */
-	if (!(mmio_readl(sii_bar)) & (1 << 26))
-		printf("Warning: Flash seems unconnected\n");
+	if ((id != 0x0680) && (!(mmio_readl(sii_bar)) & (1 << 26)))
+		printf("Warning: Flash seems unconnected.\n");
 
 	return 0;
 }





More information about the coreboot mailing list