[coreboot-gerrit] Change in coreboot[master]: cr50: add marshaling/unmarshaling of vendor commands and pro...
Vadim Bendebury (Code Review)
gerrit at coreboot.org
Thu Mar 23 00:15:41 CET 2017
Vadim Bendebury has uploaded a new patch set (#2). ( https://review.coreboot.org/18945 )
Change subject: cr50: add marshaling/unmarshaling of vendor commands and process turn_on
......................................................................
cr50: add marshaling/unmarshaling of vendor commands and process turn_on
The upcoming CR50 firmware changes will require the AP to turn on the
previously downloaded CR50 firmware updates. A new vendor command
(TPM2_CR50_SUB_CMD_TURN_UPDATE_ON) is used for that. The command
accepts one parameter - the timeout before CR50 resets the system in
case there was an enabled update. The command also returns a value,
which indicates to the host if the update was turned on and the reboot
is coming.
This patch also adds more formal vendor command
marshaling/unmarshaling to make future additions easier.
BRANCH=gru,reef
BUG=b:35580805
TEST=with the actual user of this code in the next patch verified that
the cr50 update is enabled as expected.
Change-Id: Ic76d384d637c0eeaad206e0a8242cbb8e2b19b37
Signed-off-by: Vadim Bendebury <vbendeb at chromium.org>
---
M src/include/tpm_lite/tlcl.h
M src/lib/tpm2_marshaling.c
M src/lib/tpm2_tlcl.c
M src/lib/tpm2_tlcl_structures.h
4 files changed, 82 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/45/18945/2
--
To view, visit https://review.coreboot.org/18945
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ic76d384d637c0eeaad206e0a8242cbb8e2b19b37
Gerrit-PatchSet: 2
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Vadim Bendebury <vbendeb at chromium.org>
More information about the coreboot-gerrit
mailing list