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>
This commit is contained in:
parent
8941158d19
commit
4d74836488
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue