diff options
author | Sergii Dmytruk <sergii.dmytruk@3mdeb.com> | 2024-04-12 15:47:04 +0300 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-04-15 13:35:00 +0000 |
commit | 1a90314ac5123aa5d4d612831807dea2ed76a6d1 (patch) | |
tree | 429352dc1ba1d4522dbec0d6232e8cb62694aa1a /src/acpi | |
parent | 45145ba805a83d89de8888b7dc9f06db0a636b06 (diff) |
drivers/crb: use crb_tpm_ prefix instead of tpm2_
This prevents name clashes with drivers/spi/tpm and allows both to be
potentially compiled in at the same time.
Change-Id: I0aa2686103546e0696ab8dcf77e2b99bf9734915
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81860
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/acpi')
-rw-r--r-- | src/acpi/acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c index c33d195515..39eadc3a7f 100644 --- a/src/acpi/acpi.c +++ b/src/acpi/acpi.c @@ -273,7 +273,7 @@ static void acpi_create_tpm2(acpi_header_t *header, void *unused) /* Hard to detect for coreboot. Just set it to 0 */ tpm2->platform_class = 0; - if (CONFIG(CRB_TPM) && tpm2_has_crb_active()) { + if (CONFIG(CRB_TPM) && crb_tpm_is_active()) { /* Must be set to 7 for CRB Support */ tpm2->control_area = CONFIG_CRB_TPM_BASE_ADDRESS + 0x40; tpm2->start_method = 7; |