Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1269)

Unified Diff: flashrom.c

Issue 6791005: Supports --ignore-fmap argument to skip parsing fmap structure on flash. (Closed) Base URL: ssh://gitrw.chromium.org:9222/flashrom.git@master
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « flash.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « flash.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698