security/tpm: Fix TPM 1.2 state machine issues
commit4d2af9df7cc1aab4a48ddf0f06c3f92e6580f6fa
authorPhilipp Deppenwiese <zaolin@das-labor.org>
Tue, 14 Aug 2018 16:46:55 +0000 (14 09:46 -0700)
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>
Tue, 21 Aug 2018 15:45:15 +0000 (21 15:45 +0000)
tree8e68da928a527b66e785f397f03938c6fa47fad2
parente155e78a4726369aad2ef28054030adb7a2a204d
security/tpm: Fix TPM 1.2 state machine issues

* Fix ACPI resume path compilation for TPM ramstage
  driver
* Move enabling of the TPM prior activation and remove
  reboot return status from TPM enable.

More information can be found via the TCG
specification v1.2

Tested=Elgon

Change-Id: Ided110e0c1889b302e29acac6d8d2341f97eb10b
Signed-off-by: Philipp Deppenwiese <zaolin@das-labor.org>
Reviewed-on: https://review.coreboot.org/28085
Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/drivers/tpm/tpm.c
src/security/tpm/tspi/tspi.c