From 17e23ac9798e5e983232c42314d7affb2994925e Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Sun, 18 Jul 2010 14:42:28 +0000 Subject: Check during SPI bitbang init that SPI bitbang master configuration is correct Corresponding to flashrom svn r1092. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Michael Karcher --- flash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flash.h') diff --git a/flash.h b/flash.h index c3302c46d..3170efea1 100644 --- a/flash.h +++ b/flash.h @@ -128,7 +128,7 @@ void chip_readn(uint8_t *buf, const chipaddr addr, size_t len); void programmer_delay(int usecs); enum bitbang_spi_master_type { - BITBANG_SPI_DUMMY /* remove as soon as there is a real entry */ + BITBANG_SPI_INVALID = 0, /* This must always be the first entry. */ }; struct bitbang_spi_master { -- cgit v1.2.3