From eac657909055bad33c60dfa92a28f6a953935b54 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Fri, 22 Jan 2010 02:53:30 +0000 Subject: Add write support Speed up reads by a factor of 4 by switching block size from 4 to 16. Add support for 4 byte RDID. Add USB error decoding via usb_strerror. Corresponding to flashrom svn r879. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Stefan Reinauer --- spi.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'spi.c') diff --git a/spi.c b/spi.c index aaf7d88b5..e1ab2eaca 100644 --- a/spi.c +++ b/spi.c @@ -334,6 +334,9 @@ int probe_spi_rdid4(struct flashchip *flash) #endif #if BUSPIRATE_SPI_SUPPORT == 1 case SPI_CONTROLLER_BUSPIRATE: +#endif +#if DEDIPROG_SUPPORT == 1 + case SPI_CONTROLLER_DEDIPROG: #endif return probe_spi_rdid_generic(flash, 4); default: -- cgit v1.2.3