diff options
author | uwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2009-05-20 17:09:43 +0000 |
---|---|---|
committer | uwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2009-05-20 17:09:43 +0000 |
commit | be0200e5addae0eb41a0f5ef1013caa4d6d9ed92 (patch) | |
tree | 032ffb57f22269f2d8fc7371804d7795d0d866ac /satasii.c | |
parent | 27233e054dc8adedea26d192bfb55274a8e9a995 (diff) | |
download | flashrom-be0200e5addae0eb41a0f5ef1013caa4d6d9ed92.tar.gz |
The Silicon Image PCI0680 has bit 26 marked as reserved, so don't use it.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@537 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'satasii.c')
-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; } |