summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2013-09-15 14:01:06 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2013-09-15 14:01:06 +0000
commit949ccc8a7ed2a7ad075103e064ad92483ffa8720 (patch)
tree8aaa82d92b1b7366c53552da0b089bf83f37e55f /flash.h
parent88ee040ab98a1ffa0c7d8faf6aac1187500e4974 (diff)
downloadast2050-flashrom-949ccc8a7ed2a7ad075103e064ad92483ffa8720.zip
ast2050-flashrom-949ccc8a7ed2a7ad075103e064ad92483ffa8720.tar.gz
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 <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/flash.h b/flash.h
index 63701ed..7b88477 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 {
OpenPOWER on IntegriCloud