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 ebacd60..e892e74 100644
--- a/spi.c
+++ b/spi.c
@@ -136,6 +136,15 @@ const struct spi_programmer spi_programmer[] = {
},
#endif
+#if CONFIG_NICINTEL_SPI == 1
+ { /* SPI_CONTROLLER_NICINTEL */
+ .command = bitbang_spi_send_command,
+ .multicommand = default_spi_send_multicommand,
+ .read = bitbang_spi_read,
+ .write_256 = bitbang_spi_write_256,
+ },
+#endif
+
{}, /* This entry corresponds to SPI_CONTROLLER_INVALID. */
};
OpenPOWER on IntegriCloud