diff options
author | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-06-20 10:58:32 +0000 |
---|---|---|
committer | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-06-20 10:58:32 +0000 |
commit | 9a74a84aa4ee8f4ce7329e902df61c22a2c512d5 (patch) | |
tree | af751b638928cfed22ad9411d0cb7169fe9feef8 /spi.c | |
parent | b2a0b1a386631e5af0fd6fb36517f64066a3017b (diff) | |
download | flashrom-9a74a84aa4ee8f4ce7329e902df61c22a2c512d5.tar.gz |
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 <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Sean Nelson <audiohacked@gmail.com>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1053 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'spi.c')
-rw-r--r-- | spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |