Add profile macro calls

This matches the calls in firmware version 0037.

BUG=none
TEST=manual

Review URL: http://codereview.chromium.org/3859002

Change-Id: I3b45051dec3f4f45414802b39122c8d52c4d62f1
This commit is contained in:
Randall Spangler
2010-10-18 15:49:28 -07:00
parent 38e0de5728
commit 6078ca3398
3 changed files with 25 additions and 1 deletions

View File

@@ -325,12 +325,15 @@ int LoadKernel(LoadKernelParams* params) {
}
/* Read the kernel data */
VBPERFSTART("VB_RKD");
if (0 != BootDeviceReadLBA(part_start + body_offset_sectors,
body_sectors,
params->kernel_buffer)) {
VBDEBUG(("Unable to read kernel data.\n"));
VBPERFEND("VB_RKD");
goto bad_kernel;
}
VBPERFEND("VB_RKD");
/* Verify kernel data */
if (0 != VerifyData((const uint8_t*)params->kernel_buffer,