Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/36431 )
Change subject: soc/intel/icelake: Remove redundent dependency check in cpu.c ......................................................................
soc/intel/icelake: Remove redundent dependency check in cpu.c
This patch removes redundent dependency check related to CONFIG_BOOT_DEVICE_SPI_FLASH kconfig inside bootblock/cpu.c.
CONFIG_BOOT_DEVICE_MEMORY_MAPPED is enable if CONFIG_BOOT_DEVICE_SPI_FLASH is selected.
TEST=Able to build and boot ICL DE board.
Change-Id: I46d9ec054c4804ca756f2101085a55e91b5cc6f0 Signed-off-by: Subrata Banik subrata.banik@intel.com --- M src/soc/intel/icelake/bootblock/cpu.c 1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/31/36431/1
diff --git a/src/soc/intel/icelake/bootblock/cpu.c b/src/soc/intel/icelake/bootblock/cpu.c index e23286c..4b092e2 100644 --- a/src/soc/intel/icelake/bootblock/cpu.c +++ b/src/soc/intel/icelake/bootblock/cpu.c @@ -20,7 +20,6 @@ void bootblock_cpu_init(void) { /* Temporarily cache the memory-mapped boot media. */ - if (CONFIG(BOOT_DEVICE_MEMORY_MAPPED) && - CONFIG(BOOT_DEVICE_SPI_FLASH)) + if (CONFIG(BOOT_DEVICE_MEMORY_MAPPED)) fast_spi_cache_bios_region(); }