diff options
author | Furquan Shaikh <furquan@google.com> | 2016-06-15 08:01:10 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2016-06-16 19:38:36 +0200 |
commit | e51c20bf2c7097e6859c3bed43925a36194267ce (patch) | |
tree | 119ffcb2785098ec4034412384720ce94c0117e5 /src | |
parent | 4b373ca8a09c6cdd8636987ec62ec0309b5a0989 (diff) | |
download | coreboot-e51c20bf2c7097e6859c3bed43925a36194267ce.tar.xz |
ifwitool: Calculate checksum for subpart_dir
Checksum is calculated by using 2s complement method. 8-bit sum of the
entire subpart directory from first byte of header to last byte of last
partition directory entry.
BUG=chrome-os-partner:53508
Change-Id: I991d79dfdb5331ab732bf0d71cf8223d63426fa8
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/15200
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions