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

Unified Diff: client/cros/flashrom_util.py

Issue 6623026: Refactor site_fmap, flashrom_utils and gbb_utils module into client/cros. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch 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 | client/cros/fmap.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/cros/flashrom_util.py
diff --git a/client/common_lib/flashrom_util.py b/client/cros/flashrom_util.py
similarity index 99%
rename from client/common_lib/flashrom_util.py
rename to client/cros/flashrom_util.py
index 5c306446466fe9061d5dd1424b29c620455a74b6..7f4d215e0fb0cf3bfd654f790e751751c1c4b391 100644
--- a/client/common_lib/flashrom_util.py
+++ b/client/cros/flashrom_util.py
@@ -252,8 +252,8 @@ def decode_fmap_layout(conversion_map, image_blob):
Returns: layout structure for flashrom_util, or empty for failure.
"""
try:
- import site_fmap
- fmap_object = site_fmap.fmap_decode(image_blob)['areas']
+ import fmap
+ fmap_object = fmap.fmap_decode(image_blob)['areas']
except:
# print 'decode_fmap_layout: failed to decode from image blob'
fmap_object = []
« no previous file with comments | « no previous file | client/cros/fmap.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698