Chromium Code Reviews| Index: flashrom.c |
| diff --git a/flashrom.c b/flashrom.c |
| index 5b5f01c709372afa82347afd7618cdfd02af46e9..a9fbbc1cb0e0dead111d25982d43269191f6e59c 100644 |
| --- a/flashrom.c |
| +++ b/flashrom.c |
| @@ -1898,7 +1898,7 @@ int doit(struct flashchip *flash, int force, char *filename, int read_it, int wr |
| flash->unlock(flash); |
| /* add entries for regions specified in flashmap */ |
| - if (add_fmap_entries(flash) < 0) { |
| + if (!set_ignore_fmap && add_fmap_entries(flash) < 0) { |
| ret = 1; |
| goto out_nofree; |
| } |