From 7f480531721bca467541f9471ab39937fa9c2ad5 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Fri, 14 May 2021 00:48:28 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/flashrom/+/54285 Reviewed-by: Angel Pons Reviewed-by: Anastasia Klimchuk Reviewed-by: Edward O'Callaghan Tested-by: build bot (Jenkins) --- flash.h | 1 - 1 file changed, 1 deletion(-) (limited to 'flash.h') diff --git a/flash.h b/flash.h index 3912e730..c8c0f9d2 100644 --- a/flash.h +++ b/flash.h @@ -420,7 +420,6 @@ __attribute__((format(printf, 2, 3))); /* layout.c */ int register_include_arg(struct layout_include_args **args, const char *arg); int read_romlayout(const char *name); -int normalize_romentries(const struct flashctx *flash); void layout_cleanup(struct layout_include_args **args); /* spi.c */ -- cgit v1.2.3