flashrom.c/flash.h: Add flash map symbols req for upstream fmap
This is a pre-requirement for the upstream fmap implementation
to link correctly.
BUG=b:162047014
BRANCH=none
TEST=builds
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Change-Id: I0db87c151a86d221e3e96846ced6f095566cf9cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/2361362
Tested-by: Edward O'Callaghan <quasisec@chromium.org>
Commit-Queue: Sam McNally <sammc@chromium.org>
Reviewed-by: Sam McNally <sammc@chromium.org>
diff --git a/flash.h b/flash.h
index 7ee8c5a..5843f28 100644
--- a/flash.h
+++ b/flash.h
@@ -360,6 +360,8 @@
int selfcheck(void);
int read_buf_from_file(unsigned char *buf, unsigned long size, const char *filename);
int write_buf_to_file(const unsigned char *buf, unsigned long size, const char *filename);
+int prepare_flash_access(struct flashctx *, bool read_it, bool write_it, bool erase_it, bool verify_it);
+void finalize_flash_access(struct flashctx *);
/*
*