diff options
Diffstat (limited to 'host/lib/include/flashrom.h')
-rw-r--r-- | host/lib/include/flashrom.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/host/lib/include/flashrom.h b/host/lib/include/flashrom.h index eb6d5313..6058d644 100644 --- a/host/lib/include/flashrom.h +++ b/host/lib/include/flashrom.h @@ -48,13 +48,14 @@ int flashrom_read_image(struct firmware_image *image, const char *region, * * @param image The parameter that contains the programmer, buffer and * size to use in the write operation. - * @param region The name of the fmap region to write, or NULL to - * write the entire flash chip. + * @param regions A list of the names of the fmap regions to write, or + * NULL to write the entire flash chip. The list must be + * ended with a NULL pointer. * * @return VB2_SUCCESS on success, or a relevant error. */ vb2_error_t flashrom_write(struct firmware_image *image, const char *region); int flashrom_write_image(const struct firmware_image *image, - const char *region, + const char * const regions[], const struct firmware_image *diff_image, int do_verify, int verbosity); |