summaryrefslogtreecommitdiffstats
path: root/spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'spi.c')
-rw-r--r--spi.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/spi.c b/spi.c
index 65d43be..b005cdc 100644
--- a/spi.c
+++ b/spi.c
@@ -83,6 +83,13 @@ const struct spi_programmer spi_programmer[] = {
.read = wbsio_spi_read,
.write_256 = spi_chip_write_1_new,
},
+
+ { /* SPI_CONTROLLER_MCP6X_BITBANG */
+ .command = bitbang_spi_send_command,
+ .multicommand = default_spi_send_multicommand,
+ .read = bitbang_spi_read,
+ .write_256 = bitbang_spi_write_256,
+ },
#endif
#endif
OpenPOWER on IntegriCloud