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

programmer_table: add table size constant

Makes the array size known to other compilation units.

Change-Id: Idacb4b7b0dd98af8bc7cbecf567d33daafb4b24d
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.de>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/55116
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Thomas Heijligen
2021-05-19 13:53:34 +02:00
committed by Nico Huber
parent 9cf3f8925b
commit 113f3bca1e
2 changed files with 4 additions and 1 deletions

View File

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