diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2009-05-20 17:09:43 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2009-05-20 17:09:43 +0000 |
commit | b2f7a2f30922a9ecd909fa4715ed534c10f6fead (patch) | |
tree | 032ffb57f22269f2d8fc7371804d7795d0d866ac | |
parent | cdde6da8e58bbc4087df71b8c8230e02c38c8b9c (diff) | |
download | flashrom-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |