summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/pch
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-03-25 13:02:22 +0100
committerPatrick Rudolph <siro@das-labor.org>2021-06-21 08:26:41 +0000
commit232222727d51f2d254121738b2e3ff92b8c1dc1f (patch)
treebf8be8f510686c774581c8afa6df0dfb6cc1a391 /src/soc/intel/common/pch
parentd21b463fb058deccef3a2c2ad80d771b5aba9f19 (diff)
soc/intel/common: Add InSMM.STS support
Tested on HP 280 G2, SMMSTORE v1 and v2 still work. Other tests: - If one does not set BIOS_CONTROL bit WPD, SMMSTORE breaks. - If one does not write the magic MSR `or 1`, SMMSTORE breaks. Change-Id: Ia90c0e3f8ccf895bfb6d46ffe26750393dab95fb Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51796 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/soc/intel/common/pch')
-rw-r--r--src/soc/intel/common/pch/lockdown/lockdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/common/pch/lockdown/lockdown.c b/src/soc/intel/common/pch/lockdown/lockdown.c
index 87f36fc91c..374e3e67be 100644
--- a/src/soc/intel/common/pch/lockdown/lockdown.c
+++ b/src/soc/intel/common/pch/lockdown/lockdown.c
@@ -67,7 +67,7 @@ static void fast_spi_lockdown_cfg(int chipset_lockdown)
/* Only allow writes in SMM */
if (CONFIG(BOOTMEDIA_SMM_BWP)) {
- //fast_spi_set_eiss(); /* TODO */
+ fast_spi_set_eiss();
fast_spi_enable_wp();
}