diff options
author | Shelley Chen <shchen@chromium.org> | 2017-11-22 17:31:40 -0800 |
---|---|---|
committer | Shelley Chen <shchen@google.com> | 2017-11-25 08:31:55 +0000 |
commit | eca98ba46051d5e2091ac4ad29b053321f06ff73 (patch) | |
tree | 0865f2f9b7d8aa40051221c2a38b5ff851ec766d /src/mainboard/google/fizz/mainboard.c | |
parent | 5537f02bd59dd064ace6e06e3de473140550c9ab (diff) | |
download | coreboot-eca98ba46051d5e2091ac4ad29b053321f06ff73.tar.xz |
google/fizz: Remove tpm i2c configs from Kconfig
We are disabling tpm over i2c, so the configs are not needed
anymore.
BUG=b:65056998
BRANCH=None
TEST=emerge fizz and make sure can still boot up.
Change-Id: Id88f32fa952801749544534442fc15d85fc1a892
Signed-off-by: Shelley Chen <shchen@chromium.org>
Reviewed-on: https://review.coreboot.org/22577
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/fizz/mainboard.c')
-rw-r--r-- | src/mainboard/google/fizz/mainboard.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mainboard/google/fizz/mainboard.c b/src/mainboard/google/fizz/mainboard.c index 54d7c4c103..ce60283eaf 100644 --- a/src/mainboard/google/fizz/mainboard.c +++ b/src/mainboard/google/fizz/mainboard.c @@ -132,7 +132,6 @@ static unsigned long mainboard_write_acpi_tables( static void mainboard_enable(device_t dev) { - device_t tpm; device_t root = SA_DEV_ROOT; config_t *conf = root->chip_info; @@ -140,20 +139,6 @@ static void mainboard_enable(device_t dev) dev->ops->init = mainboard_init; dev->ops->acpi_inject_dsdt_generator = chromeos_dsdt_generator; - - /* Disable unused interface for TPM. */ - if (!IS_ENABLED(CONFIG_FIZZ_USE_SPI_TPM)) { - tpm = PCH_DEV_GSPI0; - if (tpm) - tpm->enabled = 0; - } - - if (!IS_ENABLED(CONFIG_FIZZ_USE_I2C_TPM)) { - tpm = PCH_DEV_I2C1; - if (tpm) - tpm->enabled = 0; - } - dev->ops->write_acpi_tables = mainboard_write_acpi_tables; } |