From bcc97415f2232389de1c1384b3f480769296f880 Mon Sep 17 00:00:00 2001 From: hailfinger Date: Wed, 14 Jul 2010 19:57:52 +0000 Subject: Use the max_rom_decode infrastructure for wbsio_spi instead of open-coding a variant which only aborts after it is too late. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Michael Karcher git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1081 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 94dbe9e..9a31abf 100644 --- a/spi.c +++ b/spi.c @@ -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 -- cgit v1.2.1