coreboot/src
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
..
acpi acpi/: add missing license header 2016-01-14 22:52:11 +01:00
arch arch/x86: Add option to disable default mmap_boot implementation 2016-02-17 04:57:12 +01:00
commonlib commonlib: move uefi includes out of commonlib includes 2016-02-02 14:27:03 +01:00
console console: Disable SQUELCH_EARLY_SMP if SMP is not selected 2016-02-09 17:14:50 +01:00
cpu cpu/amd: Add socket FM2 2016-02-18 01:29:17 +01:00
device device/pci_rom: Rename missleading ON_DEVICE_ROM_RUN 2016-02-16 22:44:04 +01:00
drivers acpi/tpm: Gracefully handle missing TPM module. 2016-02-18 01:48:10 +01:00
ec ASL: Remove unused modulo recipient. 2016-02-09 22:56:00 +01:00
include lib: Add Kconfig to toggle boot state debugging 2016-02-18 00:01:14 +01:00
lib lib: Add Kconfig to toggle boot state debugging 2016-02-18 00:01:14 +01:00
mainboard southbridge/intel/bd82x6x: Use common gpio.c 2016-02-18 01:35:57 +01:00
northbridge nb/intel/sandybridge: Start PEG link training 2016-02-18 01:40:07 +01:00
soc soc/intel/apollolake: bootblock: implement platform_prog_run() 2016-02-16 22:45:48 +01:00
southbridge southbridge/intel/bd82x6x/acpi: Fix IRQ warnings 2016-02-18 01:39:06 +01:00
superio superio/nuvoton/nct5572d: Add PS/2 presence detect 2016-02-09 20:34:15 +01:00
vendorcode chromeos/Kconfig: Remove dependency on GBB_HAVE_BMPFV 2016-02-10 16:53:55 +01:00
Kconfig lib: Add Kconfig to toggle boot state debugging 2016-02-18 00:01:14 +01:00