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

Unified Diff: include/lib/flashrom.h

Issue 6646016: leverage flashrom fast partial read function to speed up VPD read. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vpd.git@master
Patch Set: refine code to handle corner case of eps->table_address. 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 | « no previous file | include/lib/fmap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/lib/flashrom.h
diff --git a/include/lib/flashrom.h b/include/lib/flashrom.h
index 51d604d74ae2c1fc550e5833c436b42798cad42a..c4268c9ac6a8143a88f87dc5f9fc2eb611132e5a 100644
--- a/include/lib/flashrom.h
+++ b/include/lib/flashrom.h
@@ -33,10 +33,10 @@ enum {
FLASHROM_FAIL,
};
-int flashromRead(const char* tmp_file);
+int flashromRead(const char* part_file, const char* full_file,
+ const char* partition_name);
-int flashromPartialWrite(const char* tmp_file,
- const off_t section_offset,
- const size_t section_size);
+int flashromPartialWrite(const char* part_file, const char* full_file,
+ const char* partition_name);
#endif /* __LIB_FLASHROM_H__ */
« no previous file with comments | « no previous file | include/lib/fmap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698