From a93c0143ac79f937f774b99e4afedee6a20eb5d3 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Thu, 21 May 2015 09:28:14 +0200 Subject: x201: Add TPM declaration. This allows to deactivate TPM on X201. Change-Id: Ic085db6cc2c57668e7a4fdbc7440735c806cc256 Signed-off-by: Vladimir Serbinenko Reviewed-on: http://review.coreboot.org/10278 Tested-by: build bot (Jenkins) Reviewed-by: Philipp Deppenwiese --- src/mainboard/lenovo/x201/romstage.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/mainboard/lenovo/x201/romstage.c') diff --git a/src/mainboard/lenovo/x201/romstage.c b/src/mainboard/lenovo/x201/romstage.c index 8d1289035f..1e335d33ec 100644 --- a/src/mainboard/lenovo/x201/romstage.c +++ b/src/mainboard/lenovo/x201/romstage.c @@ -37,6 +37,7 @@ #include #include #include +#include #include "gpio.h" #include "dock.h" @@ -306,5 +307,9 @@ void main(unsigned long bist) } #endif +#if CONFIG_LPC_TPM + init_tpm(s3resume); +#endif + timestamp_add_now(TS_END_ROMSTAGE); } -- cgit v1.2.3