From 1b0ba893529cf93ae54b91607d93d3ad49c259e5 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Sun, 20 Jun 2010 10:58:32 +0000 Subject: Add SPI chip read support to the dummy flasher This allows using the dummy flasher for SPI read debugging. Corresponding to flashrom svn r1053. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Sean Nelson --- spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spi.c') diff --git a/spi.c b/spi.c index 2074d21..bc80cbd 100644 --- a/spi.c +++ b/spi.c @@ -99,7 +99,7 @@ const struct spi_programmer spi_programmer[] = { { /* SPI_CONTROLLER_DUMMY */ .command = dummy_spi_send_command, .multicommand = default_spi_send_multicommand, - .read = NULL, + .read = dummy_spi_read, .write_256 = NULL, }, #endif -- cgit v1.1