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

Unified Diff: saft/test_kernel_handler.py

Issue 3328008: Make SAFT use layout retrieved from the BIOS image. (Closed) Base URL: http://git.chromium.org/git/firmware.git
Patch Set: Cosmetic changes before committing. Created 10 years, 3 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 | « saft/saft_utility.py ('k') | x86-generic/flashrom_util.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: saft/test_kernel_handler.py
diff --git a/saft/test_kernel_handler.py b/saft/test_kernel_handler.py
index ea7dde1ff5ce37a505609e5dc7502a8dd3081bc7..d3f29652870dd7dabb14d401b6e119be51841e24 100755
--- a/saft/test_kernel_handler.py
+++ b/saft/test_kernel_handler.py
@@ -37,9 +37,8 @@ def get_kernel_key(section, pubkey_file):
'''
fum = flashrom_util.flashrom_util()
image = fum.read_whole()
- layout = fum.detect_chromeos_layout('bios', len(image))
# get the block header
- kblock = fum.get_section(image, layout, 'VBOOT' + section)
+ kblock = fum.get_section(image, 'VBOOT' + section)
kbsize = struct.unpack_from(KEYBLOCK_SIZE_ACCESS_FORMAT, kblock)[1]
pk_base_offset = kbsize + FW_PREAMBLE_PUBKEY_OFFSET
« no previous file with comments | « saft/saft_utility.py ('k') | x86-generic/flashrom_util.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698