summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/skylake/finalize.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/intel/skylake/finalize.c b/src/soc/intel/skylake/finalize.c
index 171d92e9cd..34f26eb8cb 100644
--- a/src/soc/intel/skylake/finalize.c
+++ b/src/soc/intel/skylake/finalize.c
@@ -185,6 +185,9 @@ static void soc_lockdown(void)
pci_read_config8(PCH_DEV_LPC,
BIOS_CNTL) | LPC_BC_LE);
+ /* Ensure an additional read back after performing lock down */
+ pci_read_config8(PCH_DEV_LPC, BIOS_CNTL);
+
fast_spi_set_lock_enable();
}
@@ -194,6 +197,9 @@ static void soc_lockdown(void)
pci_read_config8(PCH_DEV_LPC,
BIOS_CNTL) | LPC_BC_EISS);
+ /* Ensure an additional read back after performing lock down */
+ pci_read_config8(PCH_DEV_LPC, BIOS_CNTL);
+
fast_spi_set_eiss();
}
}