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:
@ -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;
|
||||
|
Reference in New Issue
Block a user