coreboot/src/drivers
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
..
ati drivers: Fix spelling 2013-07-10 20:18:15 +02:00
dec GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
elog elog: handle ROM_SIZE differences from detected flash size 2013-12-07 03:27:44 +01:00
emulation qemu/videoinit: Set required fields in fake EDID 2013-12-16 23:57:43 +01:00
generic x86 I/O APIC: Make functions io_apic_{read,write}() public 2013-05-07 22:40:10 +02:00
i2c rtd2132: implement full configuration 2013-12-21 08:55:54 +01:00
ics Get rid of drivers class 2012-11-27 22:00:49 +01:00
intel FUI: Fill in link_m and link_n values 2013-12-21 08:04:10 +01:00
ipmi Get rid of drivers class 2012-11-27 22:00:49 +01:00
maxim max77802: add header for max77802 PMIC 2013-07-10 22:35:26 +02:00
oxford Rename cpu/x86/car.h to arch/early_variables.h 2013-10-13 12:47:05 +02:00
parade Pit: move parade writes to mainboard.c 2013-12-21 08:06:52 +01:00
pc80 tpm: provide explicit tpm register access 2013-12-21 10:49:11 +01:00
realtek GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
sil Get rid of drivers class 2012-11-27 22:00:49 +01:00
spi SPI: Support STMicro partial page write 2013-08-23 05:07:11 +02:00
ti [2/2] tps65090: re-factor for coreboot 2013-04-10 17:34:19 +02:00
trident Get rid of drivers class 2012-11-27 22:00:49 +01:00
Kconfig FUI: add intel_dp driver derived from kernel functions 2013-12-05 20:24:03 +01:00
Makefile.inc Add in the Makefile bits for the new intel gma driver 2013-12-06 00:33:58 +01:00