summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--satasii.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/satasii.c b/satasii.c
index 468d01be8..217ac7136 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;
}