mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 18:25:10 +00:00
Fix typo, add one VBDEBUG.
BUG=none TEST=none Change-Id: Ie82c5eb3052c84272da4bf21d80cc2bf204fd08d Reviewed-on: https://gerrit.chromium.org/gerrit/11670 Reviewed-by: Bill Richardson <wfrichar@chromium.org> Tested-by: Bill Richardson <wfrichar@chromium.org>
This commit is contained in:
@@ -179,6 +179,7 @@ VbError_t VbBootDeveloper(VbCommonParams* cparams, LoadKernelParams* p) {
|
||||
}
|
||||
break;
|
||||
default:
|
||||
VBDEBUG(("VbBootDeveloper() - pressed key %d\n", key));
|
||||
VbCheckDisplayKey(cparams, key, &vnc);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -487,7 +487,7 @@ VbError_t VbDisplayDebugInfo(VbCommonParams* cparams, VbNvContext *vncptr) {
|
||||
if (0 == gbb->hwid_size ||
|
||||
gbb->hwid_offset > cparams->gbb_size ||
|
||||
gbb->hwid_offset + gbb->hwid_size > cparams->gbb_size) {
|
||||
VBDEBUG(("VbCheckDisplayKey(): invalid hwid offset/size\n"));
|
||||
VBDEBUG(("VbDisplayDebugInfo(): invalid hwid offset/size\n"));
|
||||
used += Strncat(buf + used, "(INVALID)", DEBUG_INFO_SIZE - used);
|
||||
} else {
|
||||
used += Strncat(buf + used, (char*)((uint8_t*)gbb + gbb->hwid_offset),
|
||||
|
||||
Reference in New Issue
Block a user