[coreboot-gerrit] Change in coreboot[master]: drivers/pc80/tpm: Refactor init_tpm() implementation

Philipp Deppenwiese (Code Review) gerrit at coreboot.org
Wed May 3 22:41:04 CEST 2017


Hello build bot (Jenkins),

I'd like you to reexamine a change.  Please visit

    https://review.coreboot.org/19555

to look at the new patch set (#2).

Change subject: drivers/pc80/tpm: Refactor init_tpm() implementation
......................................................................

drivers/pc80/tpm: Refactor init_tpm() implementation

Move the TPM deactivate command after the tis_init()
function in order to ensure that there is a TPM which
can be used.

Add additional doc for CONFIG_NO_TPM_RESUME kconfig option
which is mainly used by chromebooks.

Add TPM_PcrRead command for TPM state retrieval by calling
it. Now the TPM state is logged. Also if TPM deactivate is
enforced and something is wrong it will jump directly to
the error handling.

Change-Id: I2c51ce402f43466e211bc1990335fd320d685829
Signed-off-by: Philipp Deppenwiese <zaolin at das-labor.org>
---
M src/drivers/pc80/tpm/romstage.c
1 file changed, 62 insertions(+), 34 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/55/19555/2
-- 
To view, visit https://review.coreboot.org/19555
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I2c51ce402f43466e211bc1990335fd320d685829
Gerrit-PatchSet: 2
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>



More information about the coreboot-gerrit mailing list