mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 22:21:16 +02:00
Fix verification with sparse layouts
The full verification step was not accounting for sparse layouts. Instead of the old contents, combine_image_by_layout() implicitly assumed the new contents for unspecified regions. Change-Id: I44e0cea621f2a3d4dc70fa7e93c52ed95e54014a Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/30370 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
This commit is contained in:
1
layout.h
1
layout.h
@ -59,5 +59,6 @@ struct flashrom_flashctx;
|
||||
const struct flashrom_layout *get_layout(const struct flashrom_flashctx *const flashctx);
|
||||
|
||||
int process_include_args(struct flashrom_layout *);
|
||||
const struct romentry *layout_next_included_region(const struct flashrom_layout *, chipoff_t);
|
||||
|
||||
#endif /* !__LAYOUT_H__ */
|
||||
|
Reference in New Issue
Block a user