diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-07-14 19:57:52 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-07-14 19:57:52 +0000 |
commit | ca812d40d461e70a70df6079978e96642775e7b2 (patch) | |
tree | 2de588625302d190884e05aca9755f4f075ab2a4 /spi.c | |
parent | 9a795d83fbb8842a271d5e037dc983a57b0419fd (diff) | |
download | flashrom-ca812d40d461e70a70df6079978e96642775e7b2.tar.gz flashrom-ca812d40d461e70a70df6079978e96642775e7b2.tar.bz2 flashrom-ca812d40d461e70a70df6079978e96642775e7b2.zip |
Use the max_rom_decode infrastructure for wbsio_spi
Use this instead of the open-coding variant that only aborts after it is too late.
Corresponding to flashrom svn r1081.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Diffstat (limited to 'spi.c')
-rw-r--r-- | spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,7 +80,7 @@ const struct spi_programmer spi_programmer[] = { .command = wbsio_spi_send_command, .multicommand = default_spi_send_multicommand, .read = wbsio_spi_read, - .write_256 = wbsio_spi_write_1, + .write_256 = spi_chip_write_1_new, }, #endif #endif |