summaryrefslogtreecommitdiffstats
path: root/programmer.h
diff options
context:
space:
mode:
Diffstat (limited to 'programmer.h')
-rw-r--r--programmer.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/programmer.h b/programmer.h
index 311992a03..8bf7d2947 100644
--- a/programmer.h
+++ b/programmer.h
@@ -118,6 +118,9 @@ enum programmer {
#if CONFIG_DIGILENT_SPI == 1
PROGRAMMER_DIGILENT_SPI,
#endif
+#if CONFIG_JLINK_SPI == 1
+ PROGRAMMER_JLINK_SPI,
+#endif
PROGRAMMER_INVALID /* This must always be the last entry. */
};
@@ -573,6 +576,11 @@ int digilent_spi_init(void);
extern const struct dev_entry devs_digilent_spi[];
#endif
+/* jlink_spi.c */
+#if CONFIG_JLINK_SPI == 1
+int jlink_spi_init(void);
+#endif
+
/* flashrom.c */
struct decode_sizes {
uint32_t parallel;
@@ -641,6 +649,9 @@ enum spi_controller {
#if CONFIG_DIGILENT_SPI == 1
SPI_CONTROLLER_DIGILENT_SPI,
#endif
+#if CONFIG_JLINK_SPI == 1
+ SPI_CONTROLLER_JLINK_SPI,
+#endif
};
#define MAX_DATA_UNSPECIFIED 0