summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/include
diff options
context:
space:
mode:
authorTim Chu <Tim.Chu@quantatw.com>2022-12-08 09:02:34 +0000
committerFelix Held <felix-coreboot@felixheld.de>2023-02-10 15:55:02 +0000
commit6e0c78b87fe4bad7f02b893bf1f1ce8d3bbf84d8 (patch)
treeb8b6aa41f01d97c98a624e618f6bb5d90c0bfa15 /src/soc/intel/common/block/include
parentebe7f7cee041ebc4e40de095c4d4f61472213b92 (diff)
soc/intel/common/block/fast_spi: Add SPI BIOS decode lock
The SPI BIOS decode lock bit needs to be set, according to Intel EBG EDS dodcumentation. Signed-off-by: Tim Chu <Tim.Chu@quantatw.com> Change-Id: I3366817b42a5878f16575698ebc546fa7852e285 Reviewed-on: https://review.coreboot.org/c/coreboot/+/71953 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jonathan Zhang <jonzhang@fb.com>
Diffstat (limited to 'src/soc/intel/common/block/include')
-rw-r--r--src/soc/intel/common/block/include/intelblocks/fast_spi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/include/intelblocks/fast_spi.h b/src/soc/intel/common/block/include/intelblocks/fast_spi.h
index 90f1cb224e..716f16a07a 100644
--- a/src/soc/intel/common/block/include/intelblocks/fast_spi.h
+++ b/src/soc/intel/common/block/include/intelblocks/fast_spi.h
@@ -103,5 +103,9 @@ uint32_t soc_get_spi_psf_destination_id(void);
*/
struct postcar_frame;
void fast_spi_cache_ext_bios_postcar(struct postcar_frame *pcf);
+/*
+ * Set FAST_SPIBAR BIOS Decode Lock bit
+ */
+void fast_spi_set_bde(void);
#endif /* SOC_INTEL_COMMON_BLOCK_FAST_SPI_H */