diff options
author | Furquan Shaikh <furquan@chromium.org> | 2016-09-30 12:53:19 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-10-02 19:07:29 +0200 |
commit | cc3365a0398d02dc2e88c3caf969c0b874d6a3dc (patch) | |
tree | 62fff8aa6413fa8c36cd331449bd590df38603ab /src/device/pci_rom.c | |
parent | 5db043f0d6ddcae38b8addde1c8b3466265fa823 (diff) |
TPM2: Fill in empty tlcl_resume function in TPM2 tlcl
On resume, TPM2_Starup(STATE) command needs to be sent to the TPM. This
ensures that TPM restores the state saved at last Shutdown(STATE).
Since tlcl_resume and tlcl_startup both use the same sequence for
sending startup command with different arguments, add a common function
that can be used by both.
BUG=chrome-os-partner:58043
BRANCH=None
TEST=Verified that on resume coreboot no longer complains about index
read for 0x1007. Return value is 0 as expected.
Change-Id: Ib8640acc9cc9cdb3ba5d40e0ccee5ca7d67fa645
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/16832
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'src/device/pci_rom.c')
0 files changed, 0 insertions, 0 deletions