mb/siemens/mc_ehl: Enable LPC TPM

All the boards based on the mc_ehl baseboard have a TPM which is
connected to SPI but mapped into the address space of the x86 so that
it acts like a LPC attached TPM. Enable the TPM driver so that it will
be used. In addition add the needed entry in devicetree.

Change-Id: I301d0ed4a108bac45d95eced120e7ba280945d9c
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56541
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
This commit is contained in:
Werner Zeh 2021-07-23 09:44:07 +02:00 committed by Patrick Georgi
parent 04d8cc3514
commit 11d65f9f03
2 changed files with 7 additions and 1 deletions

View File

@ -6,6 +6,8 @@ config BOARD_SIEMENS_BASEBOARD_MC_EHL
select HAVE_SPD_IN_CBFS select HAVE_SPD_IN_CBFS
select HAVE_ACPI_TABLES select HAVE_ACPI_TABLES
select DRIVERS_I2C_RX6110SA select DRIVERS_I2C_RX6110SA
select MAINBOARD_HAS_TPM2
select MAINBOARD_HAS_LPC_TPM
source "src/mainboard/siemens/mc_ehl/variants/*/Kconfig" source "src/mainboard/siemens/mc_ehl/variants/*/Kconfig"

View File

@ -214,7 +214,11 @@ chip soc/intel/elkhartlake
device pci 1e.6 on end # HPET device pci 1e.6 on end # HPET
device pci 1e.7 on end # IOAPIC device pci 1e.7 on end # IOAPIC
device pci 1f.0 on end # eSPI Interface device pci 1f.0 on # eSPI Interface
chip drivers/pc80/tpm
device pnp 0c31.0 on end
end
end
device pci 1f.1 on end # P2SB device pci 1f.1 on end # P2SB
device pci 1f.2 hidden end # Power Management Controller device pci 1f.2 hidden end # Power Management Controller
device pci 1f.3 off end # Intel cAVS/HDA device pci 1f.3 off end # Intel cAVS/HDA