summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/intel/cannonlake/bootblock/cpu.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/soc/intel/cannonlake/bootblock/cpu.c b/src/soc/intel/cannonlake/bootblock/cpu.c
index 5a56d29b43..30c1a412ea 100644
--- a/src/soc/intel/cannonlake/bootblock/cpu.c
+++ b/src/soc/intel/cannonlake/bootblock/cpu.c
@@ -6,7 +6,5 @@
void bootblock_cpu_init(void)
{
/* Temporarily cache the memory-mapped boot media. */
- if (CONFIG(BOOT_DEVICE_MEMORY_MAPPED) &&
- CONFIG(BOOT_DEVICE_SPI_FLASH))
- fast_spi_cache_bios_region();
+ fast_spi_cache_bios_region();
}