switch-coreboot/src
Aaron Durbin c422002b5f 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@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/63243
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: http://review.coreboot.org/4388
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
2013-12-21 10:49:11 +01:00
..
arch arm: Don't use const pointers with the write functions 2013-12-21 10:48:57 +01:00
console snprintf: lockless operation 2013-12-07 19:27:53 +01:00
cpu exynos5420: Fix some clock settings 2013-12-21 10:49:04 +01:00
device device/dram/ddr3: Move CRC calculation in a separate function 2013-12-17 19:59:22 +01:00
drivers tpm: provide explicit tpm register access 2013-12-21 10:49:11 +01:00
ec ec/lenovo/h8: Enable 3G modem 2013-12-19 08:58:16 +01:00
include Add simple hexdump function 2013-12-21 08:25:44 +01:00
lib Add simple hexdump function 2013-12-21 08:25:44 +01:00
mainboard pit: Bump the EC SPI bus speed up to 5 MHz 2013-12-21 10:49:08 +01:00
northbridge haswell: Add pei_data field for USB routing 2013-12-21 07:39:33 +01:00
southbridge lynxpoint: Avoid any ME device communication in S3 path 2013-12-21 07:38:54 +01:00
superio Correct file permissions. 2013-12-07 00:39:09 +01:00
vendorcode chromeos: Check for recovery reason code in shared data 2013-12-21 07:28:37 +01:00
Kconfig Add GRUB2 payload to build system 2013-11-19 01:07:25 +01:00