1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 22:21:16 +02:00

programmer_table: convert entries to pointers

Allows us to move the individual entries into their respective driver files.

Change-Id: Ifbb0ee4db5a85b1cd2afeafe4dca838579f79878
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.de>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/52945
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Thomas Heijligen
2021-03-31 19:09:44 +02:00
committed by Nico Huber
parent 9e09095877
commit dee884ebc5
7 changed files with 572 additions and 410 deletions

View File

@ -175,7 +175,7 @@ struct programmer_entry {
void (*delay) (unsigned int usecs);
};
extern const struct programmer_entry programmer_table[];
extern const struct programmer_entry *const programmer_table[];
extern const size_t programmer_table_size;
int programmer_init(enum programmer prog, const char *param);