Fix read function for EMST F25L008A
SPI chips never should use read_memmapped. The SPI master code might
decide that read_memmapped is fine for this chip, though, in a lower
layer.
Corresponding to flashrom svn r1074.
Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
diff --git a/flashchips.c b/flashchips.c
index 1f37f2c..e656d88 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -1393,7 +1393,7 @@
}
},
.write = spi_aai_write,
- .read = read_memmapped,
+ .read = spi_chip_read,
},
{