summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Niewöhner <michael.niewoehner@8com.de>2019-09-17 16:03:18 +0200
committerSubrata Banik <subrata.banik@intel.com>2019-09-22 04:04:27 +0000
commit5a7dc9eb6212ef65c93ddb1493ba3a1d660929ed (patch)
tree09594bbbc24d031b83195fa38cb221a125add334 /src
parent3dd6867ea9374e442e8af000bada73c17631abb8 (diff)
downloadcoreboot-5a7dc9eb6212ef65c93ddb1493ba3a1d660929ed.tar.xz
soc/intel/skylake: lock down TCO on pch finalize
Change-Id: I5bd95b3580adc0f4cffa667f8979b7cf08925720 Signed-off-by: Michael Niewöhner <michael.niewoehner@8com.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35448 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/skylake/finalize.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/soc/intel/skylake/finalize.c b/src/soc/intel/skylake/finalize.c
index 8afaf4d344..0d6f7370a5 100644
--- a/src/soc/intel/skylake/finalize.c
+++ b/src/soc/intel/skylake/finalize.c
@@ -26,6 +26,7 @@
#include <intelblocks/lpc_lib.h>
#include <intelblocks/p2sb.h>
#include <intelblocks/pcr.h>
+#include <intelblocks/tco.h>
#include <intelblocks/thermal.h>
#include <reg_script.h>
#include <spi-generic.h>
@@ -72,6 +73,8 @@ static void pch_finalize_script(struct device *dev)
config_t *config;
u8 reg8;
+ tco_lockdown();
+
/* Display me status before we hide it */
intel_me_status();