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 685c917..aaf7d88 100644
--- a/spi.c
+++ b/spi.c
@@ -111,6 +111,15 @@ const struct spi_programmer spi_programmer[] = {
},
#endif
+#if DEDIPROG_SUPPORT == 1
+ { /* SPI_CONTROLLER_DEDIPROG */
+ .command = dediprog_spi_send_command,
+ .multicommand = default_spi_send_multicommand,
+ .read = dediprog_spi_read,
+ .write_256 = spi_chip_write_1,
+ },
+#endif
+
{}, /* This entry corresponds to SPI_CONTROLLER_INVALID. */
};
OpenPOWER on IntegriCloud