mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 15:12:36 +02:00
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>
This commit is contained in:
parent
cdde6da8e5
commit
b2f7a2f309
@ -64,8 +64,8 @@ int satasii_init(void)
|
|||||||
sii_bar = physmap("SATA SIL registers", addr, 0x100) + reg_offset;
|
sii_bar = physmap("SATA SIL registers", addr, 0x100) + reg_offset;
|
||||||
|
|
||||||
/* Check if ROM cycle are OK. */
|
/* Check if ROM cycle are OK. */
|
||||||
if (!(mmio_readl(sii_bar)) & (1 << 26))
|
if ((id != 0x0680) && (!(mmio_readl(sii_bar)) & (1 << 26)))
|
||||||
printf("Warning: Flash seems unconnected\n");
|
printf("Warning: Flash seems unconnected.\n");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user