Revert "Update all programmer init functions to register bus programmers into common list"
This reverts commit 63b92f99a9d43dd637bcce564cd372be3c81c5d8.
BUG=chromium:635405
Change-Id: I94ae18b547d2aedd74fc7103a38dcbfd2f57be66
Reviewed-on: https://chromium-review.googlesource.com/367504
Commit-Ready: David Hendricks <dhendrix@chromium.org>
Tested-by: David Hendricks <dhendrix@chromium.org>
Reviewed-by: David Hendricks <dhendrix@chromium.org>
diff --git a/it87spi.c b/it87spi.c
index a567854..165892d 100644
--- a/it87spi.c
+++ b/it87spi.c
@@ -199,7 +199,7 @@
return 0;
}
-int init_superio_ite(struct flashctx *flash)
+int init_superio_ite(void)
{
int i, ret, chips_found = 0;
@@ -218,11 +218,11 @@
* which can go wrong if the EC firmware does not
* implement the interface we want.
*/
- if (!it85xx_spi_init(flash, superios[i]))
+ if (!it85xx_spi_init(superios[i]))
chips_found++;
break;
case 0x8518:
- if (!it8518_spi_init(flash, superios[i]))
+ if (!it8518_spi_init(superios[i]))
chips_found++;
break;
case 0x8705: