From 949ccc8a7ed2a7ad075103e064ad92483ffa8720 Mon Sep 17 00:00:00 2001 From: Stefan Tauner Date: Sun, 15 Sep 2013 14:01:06 +0000 Subject: layout: Add a method to cleanup layout data structures Add layout_cleanup() to layout.c and hook it up in cli_classic.c. Corresponding to flashrom svn r1749. Signed-off-by: Stefan Tauner Acked-by: Carl-Daniel Hailfinger --- flash.h | 1 + 1 file changed, 1 insertion(+) (limited to 'flash.h') diff --git a/flash.h b/flash.h index 63701ed0..7b884771 100644 --- a/flash.h +++ b/flash.h @@ -320,6 +320,7 @@ int register_include_arg(char *name); int process_include_args(void); int read_romlayout(char *name); int handle_romentries(const struct flashctx *flash, uint8_t *oldcontents, uint8_t *newcontents); +void layout_cleanup(void); /* spi.c */ struct spi_command { -- cgit v1.2.3