diff options
author | Che-Liang Chiou <clchiou@chromium.org> | 2011-07-26 22:29:41 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2011-08-29 10:59:13 -0700 |
commit | 8d49b64ce973fe4b4767b26d10fea252322d34dc (patch) | |
tree | b7bcf513ab7abe33d3fcf2c9b8b6c75edc2185b8 /include/chromeos | |
parent | c872dd9061f6eb5a6f9fb873add21448674547da (diff) |
CHROMIUM: cherry-pick gbb partial loading optimization
This patch is cherry-picked from commit 1d01c6b. You may gain 142ms in
boot time.
BUG=chromium-os:16542
TEST=boot normal/developer/recovery on Aebl
Change-Id: I983e2dec32205dd586a2d7f267409eaafefb267f
Reviewed-on: http://gerrit.chromium.org/gerrit/4806
Tested-by: Che-Liang Chiou <clchiou@chromium.org>
Reviewed-by: Tom Wai-Hong Tam <waihong@chromium.org>
Diffstat (limited to 'include/chromeos')
-rw-r--r-- | include/chromeos/gbb.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/chromeos/gbb.h b/include/chromeos/gbb.h index 64fecd7f04c..0d54f8fdd85 100644 --- a/include/chromeos/gbb.h +++ b/include/chromeos/gbb.h @@ -48,4 +48,12 @@ int gbb_read_bmp_block(void *gbb, int gbb_read_recovery_key(void *gbb, firmware_storage_t *file, uint32_t gbb_offset); +/** + * This is a sanity check of GBB blob. + * + * @param gbb Buffer for holding GBB + * @return zero if the check passes, non-zero if the check fails + */ +int gbb_check_integrity(uint8_t *gbb); + #endif /* CHROMEOS_GBB_H_ */ |