summaryrefslogtreecommitdiffstats
path: root/flashrom.c
diff options
context:
space:
mode:
Diffstat (limited to 'flashrom.c')
-rw-r--r--flashrom.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/flashrom.c b/flashrom.c
index 06b18545d..2534e4a7a 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -449,6 +449,17 @@ const struct programmer_entry programmer_table[] = {
},
#endif
+#if CONFIG_NI845X_SPI == 1
+ {
+ .name = "ni845x_spi",
+ .type = OTHER, // choose other because NI-845x uses own USB implementation
+ .devs.note = "National Instruments USB-845x\n",
+ .init = ni845x_spi_init,
+ .map_flash_region = fallback_map,
+ .unmap_flash_region = fallback_unmap,
+ .delay = internal_delay,
+ },
+#endif
{0}, /* This entry corresponds to PROGRAMMER_INVALID. */
};