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

Use struct pointer instead of enum to set bitbang adapter

Corresponding to flashrom svn r1091.

Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
This commit is contained in:
Michael Karcher
2010-07-17 23:27:47 +00:00
parent f7533420b4
commit 62175a094d
3 changed files with 12 additions and 28 deletions

View File

@ -1358,12 +1358,6 @@ int selfcheck(void)
msg_gerr("SPI programmer table miscompilation!\n");
ret = 1;
}
#if CONFIG_BITBANG_SPI == 1
if (bitbang_spi_master_count - 1 != BITBANG_SPI_INVALID) {
msg_gerr("Bitbanging SPI master table miscompilation!\n");
ret = 1;
}
#endif
for (flash = flashchips; flash && flash->name; flash++)
if (selfcheck_eraseblocks(flash))
ret = 1;