summaryrefslogtreecommitdiff
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)
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 b229c94b7d..adce988348 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 1773f9f7b8..d51391da42 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