From e9e31eb4b9c122f40fc053bc84c7d2232687d344 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Sat, 30 Mar 2024 07:36:30 +0100 Subject: drivers/tpm: Make it compile again Fix regression introduced in 47e9e8cde1810ee9f249027b14ee9f82a7a52d84 "security/tpm: replace CONFIG(TPMx) checks with runtime check": Replace BIOS_WARN with BIOS_WARNING. Change-Id: Id23cda2f5403effd2a4bda3852f0f300d0e62cdf Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/c/coreboot/+/81590 Reviewed-by: Elyes Haouas Tested-by: build bot (Jenkins) --- src/drivers/tpm/ppi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/drivers') diff --git a/src/drivers/tpm/ppi.c b/src/drivers/tpm/ppi.c index d63b8f811b..2ce1d07808 100644 --- a/src/drivers/tpm/ppi.c +++ b/src/drivers/tpm/ppi.c @@ -571,7 +571,7 @@ void tpm_ppi_acpi_fill_ssdt(const struct device *dev) enum tpm_family family = tlcl_get_family(); if (family == TPM_UNKNOWN) { - printk(BIOS_WARN, "PPI: %s: aborting, because no TPM detected\n", __func__); + printk(BIOS_WARNING, "PPI: %s: aborting, because no TPM detected\n", __func__); return; } @@ -726,7 +726,7 @@ void lb_tpm_ppi(struct lb_header *header) family = tlcl_get_family(); if (family == TPM_UNKNOWN) { - printk(BIOS_WARN, "PPI: %s: aborting, because no TPM detected\n", __func__); + printk(BIOS_WARNING, "PPI: %s: aborting, because no TPM detected\n", __func__); return; } -- cgit v1.2.3