coreboot/src/drivers/pc80/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
..
chip.h
Kconfig tpm: Refactor TPM Kconfig dimensions 2022-04-21 23:07:20 +00:00
Makefile.inc drivers: Add SPDX license headers to Makefiles 2023-08-06 19:27:36 +00:00
tis.c security/tpm/: turn tis_{init,open} into tis_probe 2023-11-13 14:17:38 +00:00