diff options
author | Bill Richardson <wfrichar@chromium.org> | 2014-10-02 18:50:33 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-10-21 22:44:12 +0000 |
commit | 6df3e33912baf2633ed27fce6fe166d87e2f04a8 (patch) | |
tree | 97ae4ca1d602d15715a77888f332b708e9a4abf1 /utility | |
parent | 8bb3689d42089241b209ccea2860f03aeaddd8f8 (diff) | |
download | vboot-6df3e33912baf2633ed27fce6fe166d87e2f04a8.tar.gz |
Add hwid digest field to GBB header
This adds a field in the GBB header to store the sha256 digest of
the HWID string, and updates gbb_utility so that it stores the
digest when it modifies the HWID. Because this is a new field,
the GBB_MINOR_VER is incremented.
BUG=chromium:415227
BRANCH=ToT
TEST=make runtests, VBOOT2=1 make runtests
Since the GBB is in the RO firmware, there should be no side
effects for existing devices (but even without that, they should
handle a minor version change without complaint).
Change-Id: Icdb2a0b564677b0b65e58df897d2ec5af3964998
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/221360
Diffstat (limited to 'utility')
-rw-r--r-- | utility/bmpblk_utility.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utility/bmpblk_utility.cc b/utility/bmpblk_utility.cc index b3af1414..5069e4a8 100644 --- a/utility/bmpblk_utility.cc +++ b/utility/bmpblk_utility.cc @@ -499,7 +499,7 @@ namespace vboot_reference { config_.header.minor_version = minor_version_; config_.header.number_of_localizations = config_.localizations.size(); config_.header.number_of_screenlayouts = config_.localizations[0].size(); - // HEY: this is part of the yaml consistency check + // NOTE: this is part of the yaml consistency check for (unsigned int i = 1; i < config_.localizations.size(); ++i) { assert(config_.header.number_of_screenlayouts == config_.localizations[i].size()); |