From 4497e8613463418481a0467ddbf6db1dbba0c647 Mon Sep 17 00:00:00 2001 From: Michael Karcher Date: Sat, 10 Jul 2010 19:34:15 +0000 Subject: 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 Acked-by: Carl-Daniel Hailfinger --- flashchips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flashchips.c b/flashchips.c index 1f37f2c..e656d88 100644 --- a/flashchips.c +++ b/flashchips.c @@ -1393,7 +1393,7 @@ struct flashchip flashchips[] = { } }, .write = spi_aai_write, - .read = read_memmapped, + .read = spi_chip_read, }, { -- cgit v1.1