From 4f13f9d211647ba2f9143dd228a6a38663cc94ce Mon Sep 17 00:00:00 2001 From: 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. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Stefan Reinauer git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@879 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- spi.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'spi.c') diff --git a/spi.c b/spi.c index aaf7d88..e1ab2ea 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.1