drivers/tpm: Make it compile again
Fix regression introduced in 47e9e8cde1
"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>
This commit is contained in:
committed by
Elyes Haouas
parent
c0d3cf1052
commit
e9e31eb4b9
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user