coreboot-kgpe-d16/src/security/tpm
Sergii Dmytruk 963f7b9e5e security/tpm/: turn tis_{init,open} into tis_probe
init() was always followed by open() and after successful initialization
we only need send-receive function which is now returned by tis_probe()
on success, thus further reducing number of functions to export from
drivers.

This also removes check for opening TIS twice that seems to have no
value.

Change-Id: I52ad8d69d50d449f031c36b15bf70ef07986946c
Ticket: https://ticket.coreboot.org/issues/433
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76954
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-11-13 14:17:38 +00:00
..
tspi cbmem.h: Drop cbmem_possible_online in favor of ENV_HAS_CBMEM 2023-10-25 13:58:02 +00:00
tss security/tpm/: turn tis_{init,open} into tis_probe 2023-11-13 14:17:38 +00:00
Kconfig security/tpm: Enable Hibernate on setup failure 2023-10-02 17:06:32 +00:00
Makefile.inc commonlib,console,nb,sb,security: Add SPDX licenses to Makefiles 2023-08-14 15:14:45 +00:00
tis.h security/tpm/: turn tis_{init,open} into tis_probe 2023-11-13 14:17:38 +00:00
tpm1_log_serialized.h security/tpm/tpm{1,2}_log_serialized.h: Use C99 flexible arrays 2023-08-01 12:41:14 +00:00
tpm2_log_serialized.h security/tpm/tpm{1,2}_log_serialized.h: Use C99 flexible arrays 2023-08-01 12:41:14 +00:00
tspi.h treewide: convert to tpm_result_t 2023-09-28 16:54:37 +00:00
tss.h treewide: convert to tpm_result_t 2023-09-28 16:54:37 +00:00
tss_errors.h treewide: convert to tpm_result_t 2023-09-28 16:54:37 +00:00