From 6eb8e1d6cc639474d42b212add51913e24324ccd Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Thu, 1 Sep 2016 15:56:44 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/16397 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/drivers/i2c/tpm/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/drivers/i2c/tpm/Kconfig') diff --git a/src/drivers/i2c/tpm/Kconfig b/src/drivers/i2c/tpm/Kconfig index 594ffd51b3..903fc3bbe5 100644 --- a/src/drivers/i2c/tpm/Kconfig +++ b/src/drivers/i2c/tpm/Kconfig @@ -11,3 +11,8 @@ config DRIVER_TPM_I2C_ADDR hex "I2C TPM chip address" default 2 # FIXME, workaround for Kconfig BS depends on I2C_TPM + +config DRIVER_I2C_TPM_ACPI + bool "Generate I2C TPM ACPI device" + default y if ARCH_X86 && I2C_TPM + default n -- cgit v1.2.3