1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-02 14:33:18 +02:00

Check during SPI bitbang init that SPI bitbang master configuration is correct

Corresponding to flashrom svn r1092.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
This commit is contained in:
Carl-Daniel Hailfinger
2010-07-18 14:42:28 +00:00
parent 62175a094d
commit 17e23ac979
2 changed files with 11 additions and 1 deletions

View File

@ -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 {