diff options
author | Marc Schink <flashrom-dev@marcschink.de> | 2016-03-17 16:23:03 +0100 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-01-05 16:25:04 +0000 |
commit | 3578ec6a3d7187438c4093f4bb7ac2bb6d4184cb (patch) | |
tree | 53c7ccc03fa21dcd4664e6fb1b48a9ec1661e023 /flashrom.c | |
parent | 9cecc7e25dc3fe27a801a745410825cfc2cfaac3 (diff) | |
download | flashrom-3578ec6a3d7187438c4093f4bb7ac2bb6d4184cb.tar.gz flashrom-3578ec6a3d7187438c4093f4bb7ac2bb6d4184cb.tar.bz2 flashrom-3578ec6a3d7187438c4093f4bb7ac2bb6d4184cb.zip |
Add initial J-Link SPI programmer
Tested with SEGGER J-Link EDU, Flasher ARM and flash chip W25Q16.V.
Change-Id: Ie03a054a75457ec9e1cab36ea124bb53b10e8d7e
Signed-off-by: Marc Schink <flashrom-dev@marcschink.de>
Reviewed-on: https://review.coreboot.org/c/28087
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'flashrom.c')
-rw-r--r-- | flashrom.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/flashrom.c b/flashrom.c index 59a7531f1..7129a51a7 100644 --- a/flashrom.c +++ b/flashrom.c @@ -437,6 +437,18 @@ const struct programmer_entry programmer_table[] = { }, #endif +#if CONFIG_JLINK_SPI == 1 + { + .name = "jlink_spi", + .type = OTHER, + .init = jlink_spi_init, + .devs.note = "SEGGER J-Link and compatible devices\n", + .map_flash_region = fallback_map, + .unmap_flash_region = fallback_unmap, + .delay = internal_delay, + }, +#endif + {0}, /* This entry corresponds to PROGRAMMER_INVALID. */ }; |