aboutsummaryrefslogtreecommitdiffstats
path: root/programmer.h
diff options
context:
space:
mode:
Diffstat (limited to 'programmer.h')
-rw-r--r--programmer.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/programmer.h b/programmer.h
index 9a41be10..f6c53996 100644
--- a/programmer.h
+++ b/programmer.h
@@ -130,6 +130,9 @@ enum programmer {
#if CONFIG_STLINKV3_SPI == 1
PROGRAMMER_STLINKV3_SPI,
#endif
+#if CONFIG_LSPCON_I2C_SPI == 1
+ PROGRAMMER_LSPCON_I2C_SPI,
+#endif
PROGRAMMER_INVALID /* This must always be the last entry. */
};
@@ -811,4 +814,9 @@ struct libusb_device_handle *usb_dev_get_by_vid_pid_serial(
struct libusb_device_handle *usb_dev_get_by_vid_pid_number(
struct libusb_context *usb_ctx, uint16_t vid, uint16_t pid, unsigned int num);
+/* lspcon_i2c_spi.c */
+#if CONFIG_LSPCON_I2C_SPI == 1
+int lspcon_i2c_spi_init(void);
+#endif
+
#endif /* !__PROGRAMMER_H__ */