mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +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
13
pony_spi.c
13
pony_spi.c
@ -120,7 +120,7 @@ static int pony_spi_shutdown(void *data)
|
||||
return ret;
|
||||
}
|
||||
|
||||
int pony_spi_init(void)
|
||||
static int pony_spi_init(void)
|
||||
{
|
||||
int i, data_out;
|
||||
char *arg = NULL;
|
||||
@ -250,3 +250,14 @@ int pony_spi_init(void)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
const struct programmer_entry programmer_pony_spi = {
|
||||
.name = "pony_spi",
|
||||
.type = OTHER,
|
||||
/* FIXME */
|
||||
.devs.note = "Programmers compatible with SI-Prog, serbang or AJAWe\n",
|
||||
.init = pony_spi_init,
|
||||
.map_flash_region = fallback_map,
|
||||
.unmap_flash_region = fallback_unmap,
|
||||
.delay = internal_delay,
|
||||
};
|
||||
|
Reference in New Issue
Block a user