From 9a74a84aa4ee8f4ce7329e902df61c22a2c512d5 Mon Sep 17 00:00:00 2001 From: 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. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Sean Nelson git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1053 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- 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.2.1