[coreboot-gerrit] Patch merged into coreboot/master: 4e3b15b tpm: provide explicit tpm register access
gerrit at coreboot.org
gerrit at coreboot.org
Sat Dec 21 10:49:13 CET 2013
the following patch was just integrated into master:
commit 4e3b15b7cc2e5e93c9ed12ca7146e76c23f81a35
Author: Aaron Durbin <adurbin at chromium.org>
Date: Wed Jul 24 16:02:14 2013 -0500
tpm: provide explicit tpm register access
An issue was observed using a specific vendor's TPM in that it
chokes on access to registers that are not explicitly defined in the
PC client specification. The previous driver used generic access
functions for reading and writing registers. However, issues come
to play when reading from the status register. It read it as a 32-bit
value, but that read address 0x1b which is not defined in the spec.
Instead of using generic access functions for the tpm registers
provide explicit ones. To that end provide more high level wrapper
functions to perform the semantic access required.
Change-Id: I781b31723f819e1387d7aa25512c83780ea0877f
Signed-off-by: Aaron Durbin <adurbin at chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/63243
Reviewed-by: Duncan Laurie <dlaurie at chromium.org>
See http://review.coreboot.org/4388 for details.
-gerrit
More information about the coreboot-gerrit
mailing list