[coreboot-gerrit] New patch to review for coreboot: drivers/pc80/tpm: Set default TPM acpi path if unset
Philipp Deppenwiese (zaolin.daisuki@googlemail.com)
gerrit at coreboot.org
Wed Dec 14 01:13:48 CET 2016
Philipp Deppenwiese (zaolin.daisuki at googlemail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17855
-gerrit
commit 45c17419e47d8721f5e297ea8e0baa14117209b5
Author: Philipp Deppenwiese <zaolin at das-labor.org>
Date: Wed Dec 14 01:06:55 2016 +0100
drivers/pc80/tpm: Set default TPM acpi path if unset
Enables default acpi path PCI0.LPCB if TPM support is
selected in the kconfig system and the acpi path is not set via
acpi_name callback in the platform code.
Thanks to Aaron Durbin for providing this fix.
Change-Id: Idb56cafe71efc8a52eee5a5a663478da99152360
Signed-off-by: Philipp Deppenwiese <zaolin at das-labor.org>
---
src/drivers/pc80/tpm/tpm.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/drivers/pc80/tpm/tpm.c b/src/drivers/pc80/tpm/tpm.c
index 57ea919..83dc923 100644
--- a/src/drivers/pc80/tpm/tpm.c
+++ b/src/drivers/pc80/tpm/tpm.c
@@ -875,8 +875,10 @@ static void lpc_tpm_fill_ssdt(struct device *dev)
struct opregion opreg = OPREGION("TREG", SYSTEMMEMORY,
CONFIG_TPM_TIS_BASE_ADDRESS, 0x5000);
- if (!path)
- return;
+ if (!path) {
+ path = "PCI0.LPCB";
+ printk(BIOS_DEBUG, "Using default TPM ACPI path: '%s'\n", path);
+ }
/* Device */
acpigen_write_scope(path);
More information about the coreboot-gerrit
mailing list