Jes Klinke has uploaded this change for review.

View Change

drivers/i2c/tpm: Unconditionally allow I2C TPM ACPI node

Volteer has two "sub-variants" sharing the same overridetree.cb, one
having I2C TPM and another having I2C TPM. The former will have a
disabled ACPI node representing the I2C TPM, while its Kconfig is such
that coreboot itself does not have I2C TPM support.

In order to export even a disabled ACPI node representing the I2C
connected TPM, coreboot needs DRIVER_I2C_TPM_ACPI. Hence, that will
have to be enabled in a case where coreboot does not have I2C_TPM.

BUG=b:173461736
TEST=Tested as part of next CL in chain

Change-Id: I9717f6b68afd90fbc294fbbd2a5b8d0c6ee9ae55
Signed-off-by: Jes Bodi Klinke <jbk@chromium.org>
---
M src/drivers/i2c/tpm/Kconfig
1 file changed, 0 insertions(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/22/48222/1
diff --git a/src/drivers/i2c/tpm/Kconfig b/src/drivers/i2c/tpm/Kconfig
index 6a27224..e0f7fbf 100644
--- a/src/drivers/i2c/tpm/Kconfig
+++ b/src/drivers/i2c/tpm/Kconfig
@@ -41,7 +41,6 @@
depends on I2C_TPM

config DRIVER_I2C_TPM_ACPI
- depends on I2C_TPM
bool "Generate I2C TPM ACPI device"
default y if ARCH_X86 && I2C_TPM
default n

To view, visit change 48222. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9717f6b68afd90fbc294fbbd2a5b8d0c6ee9ae55
Gerrit-Change-Number: 48222
Gerrit-PatchSet: 1
Gerrit-Owner: Jes Klinke <jbk@chromium.org>
Gerrit-MessageType: newchange