summaryrefslogtreecommitdiffstats
path: root/layout.h
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2018-12-22 00:53:14 +0100
committerNico Huber <nico.h@gmx.de>2019-01-04 23:53:01 +0000
commit69f96f60295d82ac9525fbd20aa94a3d86c2904c (patch)
tree753846b317d5313b2374394e293c68393b8adae8 /layout.h
parentec8b8a7feb626eb415ffa260fb09149a84dc7ead (diff)
downloadflashrom-69f96f60295d82ac9525fbd20aa94a3d86c2904c.tar.gz
flashrom-69f96f60295d82ac9525fbd20aa94a3d86c2904c.tar.bz2
flashrom-69f96f60295d82ac9525fbd20aa94a3d86c2904c.zip
Fix verification with sparse layoutsv1.0.1-rc1
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/30372 Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'layout.h')
-rw-r--r--layout.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/layout.h b/layout.h
index f32dc8293..7088df878 100644
--- a/layout.h
+++ b/layout.h
@@ -60,5 +60,6 @@ struct single_layout {
struct flashrom_layout *get_global_layout(void);
int process_include_args(struct flashrom_layout *);
+const struct romentry *layout_next_included_region(const struct flashrom_layout *, chipoff_t);
#endif /* !__LAYOUT_H__ */