commit | d559a23516a62940ef7878859a02ded783232a68 | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Sat Nov 28 08:35:26 2015 -0500 |
committer | Kevin O'Connor <kevin@koconnor.net> | Tue Jan 05 11:46:49 2016 -0500 |
tree | ac3c22a2830300b863518af083758e5fb84cbd3b | |
parent | a059915b1b4487e6657a962e9cdb19098a796432 [diff] |
tpm: Simplify hardware probe and detection checks Perform the hardware probe once during setup instead of checking if the probe has been completed on each measurement event. Don't probe for hardware during BIOS interface detection. Just check if the previous probe found the hardware. Unify has_working_tpm() with similar tpm_is_working(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>