aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x201/romstage.c
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2015-05-21 09:28:14 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2015-05-27 22:24:13 +0200
commita93c0143ac79f937f774b99e4afedee6a20eb5d3 (patch)
tree703fb897e5028cd2e7537152a8e927d20c7485ea /src/mainboard/lenovo/x201/romstage.c
parent61273d46197b724598b6a579951a03321a2789c9 (diff)
x201: Add TPM declaration.
This allows to deactivate TPM on X201. Change-Id: Ic085db6cc2c57668e7a4fdbc7440735c806cc256 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/10278 Tested-by: build bot (Jenkins) Reviewed-by: Philipp Deppenwiese <zaolin@das-labor.org>
Diffstat (limited to 'src/mainboard/lenovo/x201/romstage.c')
-rw-r--r--src/mainboard/lenovo/x201/romstage.c5
1 files changed, 5 insertions, 0 deletions
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 <timestamp.h>
#include <arch/acpi.h>
#include <cbmem.h>
+#include <tpm.h>
#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);
}