diff options
author | Tobias Diedrich <ranma+coreboot@tdiedrich.de> | 2016-02-15 13:13:58 +0100 |
---|---|---|
committer | Duncan Laurie <dlaurie@google.com> | 2016-02-18 01:48:10 +0100 |
commit | 85a255fbd89aba7edea7ac1d09c39099d53f7c44 (patch) | |
tree | 039a7751c839380271903c9dbe24a7e38338692d /src/mainboard/intel | |
parent | 05082737a9507a8bbb238d9d439f74a72a7606e8 (diff) |
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>
Diffstat (limited to 'src/mainboard/intel')
0 files changed, 0 insertions, 0 deletions