]> xenbits.xensource.com Git - osstest/seabios.git/commit
tpm: Rework the assertion of physical presence
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Thu, 7 Jan 2016 17:02:49 +0000 (12:02 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Thu, 7 Jan 2016 17:13:07 +0000 (12:13 -0500)
commit115d0084831b1e9e085d8fe49fa9e4ea21542464
tree29a6495a6e1acbc45422f2ccc684f72884964684
parenta2206d30aed52722ce708519ef7b31d88330d515
tpm: Rework the assertion of physical presence

Rework the assertion of physical presence by calling assert_physical_presence
in tpm_setup. This call will assert physical presence if SW assertion is
possible or by checking whether HW physical presence is enabled.
The TPM menu will only be shown if physical presence is asserted or HW
physical presence is enabled after this call.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
src/boot.c
src/tcgbios.c
src/tcgbios.h