From 4d74836488ac1deb32da0abe0a887cfbe1c33ba4 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Wed, 19 Apr 2017 19:34:07 +0200 Subject: [PATCH] drivers/i2c/tpm: Hide ACPI on unsupported platforms MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Depend on I2C_TPM to prevent showing the menu entry on systems that do not have an I2C TPM installed. Change-Id: I7cd647c9c7e9721eab96ab64b844a882f156ee68 Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/19374 Tested-by: build bot (Jenkins) Reviewed-by: Duncan Laurie Reviewed-by: Paul Menzel Reviewed-by: Philippe Mathieu-Daudé --- src/drivers/i2c/tpm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/drivers/i2c/tpm/Kconfig b/src/drivers/i2c/tpm/Kconfig index 32e5fb4700..9e3a0aa82e 100644 --- a/src/drivers/i2c/tpm/Kconfig +++ b/src/drivers/i2c/tpm/Kconfig @@ -50,6 +50,7 @@ config DRIVER_TPM_I2C_IRQ 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