coreboot/src/drivers
Jes Klinke f99f589ea9 drivers/i2c/tpm: Unconditionally allow I2C TPM ACPI node
DRIVER_I2C_TPM_ACPI is used to enable the "driver" needed for coreboot
to present a TPM node in the devicetree.  It would usually only do so,
if coreboot itself is communicating with the TPM via I2C (I2C_TPM).
However, technically, there is no dependency.

In order to not show the ACPI option in menuconfig if the board is not
using I2C, a dependency was declared in Kconfig.  However, the same can
be achieved without making it an error to manually declare
DRIVER_I2C_TPM_ACPI without I2C_TPM.

For Volteer, we have just such a need, since it has two "sub-variants"
sharing the same overridetree.cb, one having SPI 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 (for
one of the two sub-variants, namely volteer2).

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

Change-Id: I9717f6b68afd90fbc294fbbd2a5b8d0c6ee9ae55
Signed-off-by: Jes Bodi Klinke <jbk@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48222
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-12-08 16:54:56 +00:00
..
amd cbfs: Simplify load/map API names, remove type arguments 2020-12-02 22:13:17 +00:00
ams treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
analogix/anx7625 src/drivers: Drop unneeded empty lines 2020-09-21 15:51:52 +00:00
asmedia src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
aspeed drivers/aspeed/common/ast: Fix compilation under x86_64 2020-12-01 16:01:31 +00:00
broadcom src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
camera drivers/camera: Add config CHROMEOS_CAMERA 2020-10-19 06:50:20 +00:00
crb src/drivers: Drop unneeded empty lines 2020-09-21 15:51:52 +00:00
elog src/drivers: Drop unneeded empty lines 2020-09-21 15:51:52 +00:00
emulation/qemu src/drivers: Drop unneeded empty lines 2020-09-21 15:51:52 +00:00
generic acpi: Call acpi_fill_ssdt() only for enabled devices 2020-11-09 07:24:13 +00:00
genesyslogic drivers/genesyslogic/gl9755: Add driver for Genesys Logic GL9755 2020-09-18 15:49:15 +00:00
gfx/generic acpi: Call acpi_fill_ssdt() only for enabled devices 2020-11-09 07:24:13 +00:00
gic treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
i2c drivers/i2c/tpm: Unconditionally allow I2C TPM ACPI node 2020-12-08 16:54:56 +00:00
intel drivers/intel/fsp2_0/memory_init: Wrap calls into FSP 2020-12-05 08:19:34 +00:00
ipmi src/drivers/ipmi: Add function to get BMC revision 2020-10-26 06:46:17 +00:00
lenovo src: Remove unused 'include <types.h>' 2020-07-14 16:10:17 +00:00
maxim src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
mrc_cache mrc_cache: Move code for triggering memory training into mrc_cache 2020-11-13 22:57:50 +00:00
net src/drivers: Drop unneeded empty lines 2020-09-21 15:51:52 +00:00
ocp/dmi soc/intel/xeon_sp: Move read_msr_ppin() to common util.c 2020-10-30 17:13:53 +00:00
parade src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
pc80 cbfs: Introduce cbfs_ro_map() and cbfs_ro_load() 2020-12-03 00:00:19 +00:00
ricoh/rce822 treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
secunet/dmi treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
siemens/nc_fpga src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
sil/3114 treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
smmstore drivers/smmstore: Implement SMMSTORE version 2 2020-10-22 12:29:47 +00:00
soundwire acpi: Call acpi_fill_ssdt() only for enabled devices 2020-11-09 07:24:13 +00:00
spi spi/flashconsole: Fix internal buffer overflow 2020-12-03 23:26:43 +00:00
ti drivers: snsn65dsi86: Fix link rate parsing 2020-10-13 22:41:05 +00:00
tpm drivers/tpm: Move PPI stub 2020-11-22 22:27:29 +00:00
uart lib/trace: Remove TRACE support 2020-12-02 23:35:58 +00:00
usb drivers/usb/acpi: Add support for privacy_gpio 2020-11-09 07:40:52 +00:00
vpd drivers/vpd: add VPD region VPD_RW_THEN_RO 2020-06-02 07:18:40 +00:00
wifi/generic vc/google/chromeos/sar: Make "SAR not found" log a debug message 2020-11-20 08:36:26 +00:00