1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-02 06:23:18 +02:00

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 <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Sean Nelson <audiohacked@gmail.com>
This commit is contained in:
Carl-Daniel Hailfinger
2010-06-20 10:58:32 +00:00
parent 9c62d11d55
commit 1b0ba89352
3 changed files with 10 additions and 1 deletions

2
spi.c
View File

@ -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