aboutsummaryrefslogtreecommitdiffstats
path: root/programmer_table.c
diff options
context:
space:
mode:
authorJean THOMAS <virgule@jeanthomas.me>2022-10-11 17:54:30 +0200
committerFelix Singer <felixsinger@posteo.net>2022-10-15 18:17:38 +0000
commit001c87d9014b5b2dbb8adc9f64ab7023359a38b4 (patch)
tree3f9862342bc76f0c5ef0c5a916bb58c221224376 /programmer_table.c
parent5d3b95bbaccb2453aeeaf6092e3a9f295c829271 (diff)
downloadflashrom-001c87d9014b5b2dbb8adc9f64ab7023359a38b4.tar.gz
flashrom-001c87d9014b5b2dbb8adc9f64ab7023359a38b4.tar.bz2
flashrom-001c87d9014b5b2dbb8adc9f64ab7023359a38b4.zip
dirtyjtag: Add DirtyJTAG programmer
Add a new programmer driver for the DirtyJTAG project (a USB-JTAG firmware for STM32 MCUs). Successfully tested with DirtyJTAG 1.4 running on an Olimex STM32-H103 development board and a SST25VF020B SPI flash chip. Change-Id: Ic43e9a014ed7d04e429e73b30c9dcfdde1a78913 Signed-off-by: Jean THOMAS <virgule@jeanthomas.me> Reviewed-on: https://review.coreboot.org/c/flashrom/+/67878 Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'programmer_table.c')
-rw-r--r--programmer_table.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/programmer_table.c b/programmer_table.c
index 818cea72..d58a155b 100644
--- a/programmer_table.c
+++ b/programmer_table.c
@@ -167,6 +167,10 @@ const struct programmer_entry *const programmer_table[] = {
#if CONFIG_STLINKV3_SPI == 1
&programmer_stlinkv3_spi,
#endif
+
+#if CONFIG_DIRTYJTAG_SPI == 1
+ &programmer_dirtyjtag_spi,
+#endif
};
const size_t programmer_table_size = ARRAY_SIZE(programmer_table);