aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2009-05-20 17:09:43 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2009-05-20 17:09:43 +0000
commitb2f7a2f30922a9ecd909fa4715ed534c10f6fead (patch)
tree032ffb57f22269f2d8fc7371804d7795d0d866ac
parentcdde6da8e58bbc4087df71b8c8230e02c38c8b9c (diff)
downloadflashrom-b2f7a2f30922a9ecd909fa4715ed534c10f6fead.tar.gz
flashrom-b2f7a2f30922a9ecd909fa4715ed534c10f6fead.tar.bz2
flashrom-b2f7a2f30922a9ecd909fa4715ed534c10f6fead.zip
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>
-rw-r--r--satasii.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/satasii.c b/satasii.c
index 468d01be..217ac713 100644
--- a/satasii.c
+++ b/satasii.c
@@ -64,8 +64,8 @@ int satasii_init(void)
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;
}