mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 22:21:16 +02:00
programmer_table: move each entry to the associated programmer source
Change-Id: I3d02bd789f0299e936eb86819b3b15b5ea2bb921 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/52946 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:

committed by
Nico Huber

parent
085db626fb
commit
4f5169df5f
12
jlink_spi.c
12
jlink_spi.c
@ -181,7 +181,7 @@ static int jlink_spi_shutdown(void *data)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int jlink_spi_init(void)
|
||||
static int jlink_spi_init(void)
|
||||
{
|
||||
char *arg;
|
||||
unsigned long speed = 0;
|
||||
@ -486,3 +486,13 @@ init_err:
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
const struct programmer_entry programmer_jlink_spi = {
|
||||
.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,
|
||||
};
|
||||
|
Reference in New Issue
Block a user