Index: flashrom.c |
diff --git a/flashrom.c b/flashrom.c |
index 436f8d3a5a612fe3f62392498ab26c17b3296a02..5353f2abb2010eff6b4449f69e57dec0c71b7dd6 100644 |
--- a/flashrom.c |
+++ b/flashrom.c |
@@ -1897,6 +1897,12 @@ int doit(struct flashchip *flash, int force, char *filename, int read_it, int wr |
if (flash->unlock) |
flash->unlock(flash); |
+ /* add entries for regions specified in flashmap */ |
+ if (add_fmap_entries(flash) < 0) { |
+ ret = 1; |
+ goto out_nofree; |
+ } |
+ |
/* mark entries included using -i argument as "included" if they are |
found in the master rom_entries list */ |
if (process_include_args() < 0) { |