coreboot/src/drivers/pc80
Tobias Diedrich 85a255fbd8 acpi/tpm: Gracefully handle missing TPM module.
When TPM support is enabled, verify the TPM_DID_VID field is not
all zeroes or all ones before returning 0xf in the _STA method.

This avoids these kernel errors when no module is installed:
[    3.426426] tpm_tis 00:01: tpm_transmit: tpm_send: error -5
[    3.432049] tpm_tis: probe of 00:01 failed with error -5

Change-Id: Ia089d4232e0986b3bc635d346e68d982e8aecd44
Signed-off-by: Tobias Diedrich <ranma+coreboot@tdiedrich.de>
Reviewed-on: https://review.coreboot.org/13713
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Duncan Laurie <dlaurie@google.com>
2016-02-18 01:48:10 +01:00
..
tpm acpi/tpm: Gracefully handle missing TPM module. 2016-02-18 01:48:10 +01:00
vga tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
i8254.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
i8259.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
isa-dma.c Move top level pc80 directory to drivers/ 2012-04-27 19:23:16 +02:00
Kconfig drivers/pc80: Do not initialize PS2 keyboard by default 2015-09-09 16:47:48 +00:00
keyboard.c drivers/pc80: Add PS/2 mouse presence detect 2016-02-01 22:10:46 +01:00
Makefile.inc kbuild: Use wildcard for driver subdirectories 2015-05-07 19:41:42 +02:00
mc146818rtc.c drivers/pc80: Add optional spinlock for nvram CBFS access 2015-12-18 19:47:01 +01:00
mc146818rtc_early.c Remove #ifdef checks on Kconfig symbols 2015-12-06 18:46:12 +01:00
ps2_controller.asl tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
spkmodem.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
udelay_io.c drivers: Trivial - drop trailing blank lines at EOF 2014-07-08 13:51:47 +02:00