summaryrefslogtreecommitdiffstats
path: root/spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'spi.c')
-rw-r--r--spi.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/spi.c b/spi.c
index 29c202c13..f117c8fe7 100644
--- a/spi.c
+++ b/spi.c
@@ -100,6 +100,15 @@ const struct spi_programmer spi_programmer[] = {
},
#endif
+#if BUSPIRATE_SPI_SUPPORT == 1
+ { /* SPI_CONTROLLER_BUSPIRATE */
+ .command = buspirate_spi_send_command,
+ .multicommand = default_spi_send_multicommand,
+ .read = buspirate_spi_read,
+ .write_256 = spi_chip_write_1,
+ },
+#endif
+
{}, /* This entry corresponds to SPI_CONTROLLER_INVALID. */
};