summaryrefslogtreecommitdiffstats
path: root/libflashrom.h
diff options
context:
space:
mode:
Diffstat (limited to 'libflashrom.h')
-rw-r--r--libflashrom.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libflashrom.h b/libflashrom.h
index 04907b2af..4fbcd35cc 100644
--- a/libflashrom.h
+++ b/libflashrom.h
@@ -61,8 +61,12 @@ int flashrom_image_verify(struct flashrom_flashctx *, const void *buffer, size_t
struct flashrom_layout;
int flashrom_layout_read_from_ifd(struct flashrom_layout **, struct flashrom_flashctx *, const void *dump, size_t len);
+int flashrom_layout_read_fmap_from_rom(struct flashrom_layout **,
+ struct flashrom_flashctx *, off_t offset, size_t length);
+int flashrom_layout_read_fmap_from_buffer(struct flashrom_layout **layout,
+ struct flashrom_flashctx *, const uint8_t *buf, size_t len);
int flashrom_layout_include_region(struct flashrom_layout *, const char *name);
void flashrom_layout_release(struct flashrom_layout *);
void flashrom_layout_set(struct flashrom_flashctx *, const struct flashrom_layout *);
-#endif /* !__LIBFLASHROM_H__ */ \ No newline at end of file
+#endif /* !__LIBFLASHROM_H__ */