]> xenbits.xensource.com Git - seabios.git/commit
tpm: Simplify tcpa probe
authorKevin O'Connor <kevin@koconnor.net>
Sat, 28 Nov 2015 19:25:41 +0000 (14:25 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Tue, 5 Jan 2016 16:47:03 +0000 (11:47 -0500)
commit2706532c92ee1a6e0bbd7ec5fe738bf3136193cf
tree1048fad3fb5c60b3e86f8abc3cef21f681abce9b
parent5907613a28a9d8e3795f7e9a6fa181d10b9bb1cd
tpm: Simplify tcpa probe

The TPM ACPI tables are only scanned once at startup and the code can
rely on that.  Merge find_tcpa_table() into find_tcpa_by_rsdp(), merge
get_lasa_base_ptr() into reset_acpi_log(), and merge tpm_acpi_init()
into tpm_setup().

The tpm_state structure is now only used for TCPA tracking.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/tcgbios.c