summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Walter <christian.walter@9elements.com>2020-09-10 18:32:28 +0200
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2020-09-12 14:30:27 +0000
commitc92524d488748bbad4c3d169c4b3fa103b27613a (patch)
tree8a5c85d81e5b983429ba7db36f5515cea8dae82d
parent70fea013c7ebd6d85a7806748233fcfd76802f5f (diff)
downloadcoreboot-c92524d488748bbad4c3d169c4b3fa103b27613a.tar.gz
coreboot-c92524d488748bbad4c3d169c4b3fa103b27613a.tar.bz2
coreboot-c92524d488748bbad4c3d169c4b3fa103b27613a.zip
mb/ocp/deltalake: Enable TPM2
Change-Id: I6eaaf80dd2bd69096574ab967ec0c6738b05903b Signed-off-by: Christian Walter <christian.walter@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45268 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--src/mainboard/ocp/deltalake/Kconfig2
-rw-r--r--src/mainboard/ocp/deltalake/devicetree.cb3
2 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/ocp/deltalake/Kconfig b/src/mainboard/ocp/deltalake/Kconfig
index b229c94b7d9a..adce98834809 100644
--- a/src/mainboard/ocp/deltalake/Kconfig
+++ b/src/mainboard/ocp/deltalake/Kconfig
@@ -14,6 +14,8 @@ config BOARD_SPECIFIC_OPTIONS
select VPD
select VPD_SMBIOS_VERSION
select IPMI_OCP
+ select MAINBOARD_HAS_LPC_TPM
+ select MAINBOARD_HAS_TPM2
config POWER_STATE_DEFAULT_ON_AFTER_FAILURE
default n
diff --git a/src/mainboard/ocp/deltalake/devicetree.cb b/src/mainboard/ocp/deltalake/devicetree.cb
index 1773f9f7b82c..d51391da4243 100644
--- a/src/mainboard/ocp/deltalake/devicetree.cb
+++ b/src/mainboard/ocp/deltalake/devicetree.cb
@@ -89,6 +89,9 @@ chip soc/intel/xeon_sp/cpx
chip drivers/ipmi/ocp # OCP specific IPMI porting
device pnp ca2.1 on end
end
+ chip drivers/pc80/tpm # TPM
+ device pnp 0c31.0 on end
+ end
end # ISA bridge: Intel Device a245
device pci 1f.1 on end # p2sb
device pci 1f.2 on end # Memory controller: Intel Device a221