summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/tpm/Makefile.inc
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2016-09-01 15:56:44 -0700
committerDuncan Laurie <dlaurie@chromium.org>2016-09-06 22:58:39 +0200
commit6eb8e1d6cc639474d42b212add51913e24324ccd (patch)
tree376a40fc58a936f0a12c45d136064741c0db4e94 /src/drivers/i2c/tpm/Makefile.inc
parentffa765f6eb49d242df6c74f63c4aa1e6f65143e3 (diff)
downloadcoreboot-6eb8e1d6cc639474d42b212add51913e24324ccd.tar.xz
drivers/i2c/tpm: Add support for generating ACPI table
Add code to generate an ACPI descriptor for an I2C TPM based on the device as described in devicetree.cb. This currently requires the devicetree to provide the HID, since we don't currently talk to the TPM in ramstage and I didn't want to add yet another init path for it here. This was tested on a reef board to ensure that the device is described properly in the SSDT. Change-Id: I43d7f6192f48e99a4074baa4e52f0a9ee554a250 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://review.coreboot.org/16397 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/drivers/i2c/tpm/Makefile.inc')
-rw-r--r--src/drivers/i2c/tpm/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/i2c/tpm/Makefile.inc b/src/drivers/i2c/tpm/Makefile.inc
index 4f5913fe39..3eb5de0518 100644
--- a/src/drivers/i2c/tpm/Makefile.inc
+++ b/src/drivers/i2c/tpm/Makefile.inc
@@ -2,3 +2,5 @@ ramstage-$(CONFIG_I2C_TPM) += tis.c tpm.c
romstage-$(CONFIG_I2C_TPM) += tis.c tpm.c
verstage-$(CONFIG_I2C_TPM) += tis.c tpm.c
bootblock-$(CONFIG_I2C_TPM) += tis.c tpm.c
+
+ramstage-$(CONFIG_DRIVER_I2C_TPM_ACPI) += chip.c