The Silicon Image PCI0680 has bit 26 marked as reserved, so don't use it
Corresponding to flashrom svn r537.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
diff --git a/satasii.c b/satasii.c
index 468d01b..217ac71 100644
--- a/satasii.c
+++ b/satasii.c
@@ -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;
}