mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-15 20:37:33 +00:00
Add VbSharedData field parsing
R=reinauer@chromium.org BUG=chrome-os-partner:2578 TEST=manual crossystem vdat_timers should show 'LFS=0,0 LF=number1,number2 LK=number3,number4' where number1 < number2 < number3 < number4 crossystem vdat_lfdebug run from a dev mode console, should show 'check=12,0 index=0x00 tpmver=(hex number) lowestver=(hex number)' crossystem vdat_flags run from a dev mode console, flags should be 0x04. Review URL: http://codereview.chromium.org/6685068 Change-Id: Id7b958ae300d10cdcdc1b17a1bb17b7e5069166f
This commit is contained in:
@@ -99,8 +99,8 @@ int VerifyFirmwareDriver_stub(uint8_t* gbb_data,
|
||||
p.nv_context = &vnc;
|
||||
|
||||
/* Allocate a shared data buffer */
|
||||
p.shared_data_blob = Malloc(LOAD_FIRMWARE_SHARED_DATA_REC_SIZE);
|
||||
p.shared_data_size = LOAD_FIRMWARE_SHARED_DATA_REC_SIZE;
|
||||
p.shared_data_blob = Malloc(VB_SHARED_DATA_REC_SIZE);
|
||||
p.shared_data_size = VB_SHARED_DATA_REC_SIZE;
|
||||
|
||||
/* TODO: YOU NEED TO SET THE BOOT FLAGS SOMEHOW */
|
||||
p.boot_flags = 0;
|
||||
|
||||
Reference in New Issue
Block a user