diff options
author | Patrick Rudolph <siro@das-labor.org> | 2017-04-19 19:34:07 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-04-24 19:26:42 +0200 |
commit | 4d74836488ac1deb32da0abe0a887cfbe1c33ba4 (patch) | |
tree | 872f48ef13e8b2a759db55a07f9d473b34fcdd0f /src/drivers | |
parent | 8941158d1970c3da1d7fd9714dea32bec88d180e (diff) | |
download | coreboot-4d74836488ac1deb32da0abe0a887cfbe1c33ba4.tar.xz |
drivers/i2c/tpm: Hide ACPI on unsupported platforms
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 <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/19374
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/i2c/tpm/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
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 |