summaryrefslogtreecommitdiffstats
path: root/layout.h
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2021-05-14 00:48:28 +0200
committerNico Huber <nico.h@gmx.de>2021-06-26 15:59:00 +0000
commit7f480531721bca467541f9471ab39937fa9c2ad5 (patch)
tree561455af3f8dd8d0d916098d94621477148fbb68 /layout.h
parente03a5f7d5daa0fb00c32081c0e1e86781d500686 (diff)
downloadflashrom-7f480531721bca467541f9471ab39937fa9c2ad5.tar.gz
flashrom-7f480531721bca467541f9471ab39937fa9c2ad5.tar.bz2
flashrom-7f480531721bca467541f9471ab39937fa9c2ad5.zip
layout: Rework normalize_romentries() API
Rename it to layout_sanity_checks() as that is what it does and let it work on the currently active layout instead of the global layout. Change-Id: Ifae3480d4bd68c939c291f05734544e93f00306c Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/54285 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> 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 808c516aa..f5fbc5002 100644
--- a/layout.h
+++ b/layout.h
@@ -62,5 +62,6 @@ const struct romentry *layout_next_included(const struct flashrom_layout *, cons
const struct romentry *layout_next(const struct flashrom_layout *, const struct romentry *);
int included_regions_overlap(const struct flashrom_layout *const flashrom_layout);
void prepare_layout_for_extraction(struct flashrom_flashctx *flash);
+int layout_sanity_checks(const struct flashrom_flashctx *);
#endif /* !__LAYOUT_H__ */