summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2024-03-30 07:36:30 +0100
committerElyes Haouas <ehaouas@noos.fr>2024-03-30 08:33:22 +0000
commite9e31eb4b9c122f40fc053bc84c7d2232687d344 (patch)
treec0cdf554383fc80c879d062099a0e89803016ca1 /src/drivers
parentc0d3cf105254c0bbde5c57c8817f5263271fb0fe (diff)
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 <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81590 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/tpm/ppi.c4
1 files changed, 2 insertions, 2 deletions
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;
}