coreboot-kgpe-d16/src/soc/intel/cannonlake
Shelley Chen 6c2568f4f5 drivers/spi: Add BOOT_DEVICE_SPI_FLASH_NO_EARLY_WRITES config
Added new config BOOT_DEVICE_SPI_FLASH_NO_EARLY_WRITES to accomodate
older x86 platforms that don't allow writing to SPI flash when early
stages are running XIP from flash.  If
BOOT_DEVICE_SPI_FLASH_NO_EARLY_WRITES is not selected,
BOOT_DEVICE_SPI_FLASH_RW_NOMMAP_EARLY will get auto-selected if
BOOT_DEVICE_SPI_FLASH_RW_NOMMAP=y.  This allows for current platforms
that write to flash in the earlier stages, assuming that they have
that capability.

BUG=b:150502246
BRANCH=None

TEST=diff the coreboot.rom files resulting from running
     ./util/abuild/abuild -p none -t GOOGLE_NAMI -x -a --timeless
     with and without this change to make sure that there was no
     difference.  Also did this for GOOGLE_CANDY board, which is
     baytrail based (and has BOOT_DEVICE_SPI_FLASH_NO_EARLY_WRITES
     enabled).

Change-Id: I3aef8be702f55873233610b8e20d0662aa951ca7
Signed-off-by: Shelley Chen <shchen@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45740
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2020-10-02 23:11:04 +00:00
..
acpi soc/intel/common/block/acpi: Factor out common gpio_op.asl 2020-09-27 03:03:06 +00:00
bootblock src/soc/intel: Drop unneeded empty lines 2020-09-21 16:15:25 +00:00
include/soc soc/intel/cannonlake: Align gpio_op.asl with TGL 2020-09-27 03:01:31 +00:00
romstage soc/intel: rename get_prmrr_size 2020-09-21 15:51:01 +00:00
acpi.c soc/intel/cannonlake: Fix DMAR when no iGPU is present 2020-07-31 09:42:16 +00:00
chip.c soc/intel/common/block/lpc: add acpi name 2020-09-28 09:38:39 +00:00
chip.h src/soc/intel: Drop unneeded empty lines 2020-09-21 16:15:25 +00:00
cnl_memcfg_init.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
cpu.c soc/intel/common: add TCC activation functionality 2020-06-28 21:47:52 +00:00
elog.c elog: rename ELOG_WAKE_SOURCE_GPIO to ELOG_WAKE_SOURCE_GPE 2020-08-18 15:57:40 +00:00
finalize.c soc/intel: Drop unused #include <reg_script.h> 2020-07-06 19:29:07 +00:00
fsp_params.c src/soc/intel: Drop unneeded empty lines 2020-09-21 16:15:25 +00:00
gpio.c soc/intel/cannonlake: add missing special function pads 2020-09-17 21:53:38 +00:00
gpio_cnp_h.c soc/intel/cannonlake: add missing special function pads 2020-09-17 21:53:38 +00:00
gpio_common.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
gspi.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
i2c.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
Kconfig drivers/spi: Add BOOT_DEVICE_SPI_FLASH_NO_EARLY_WRITES config 2020-10-02 23:11:04 +00:00
lockdown.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
lpc.c soc/intel: Drop unused #include <reg_script.h> 2020-07-06 19:29:07 +00:00
Makefile.inc soc/intel/gma: Implement fsp_soc_get_igd_bar() in common code 2020-05-27 21:35:43 +00:00
me.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
nhlt.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
p2sb.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pmc.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pmutil.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
reset.c Revert "soc/intel: Refactor do_global_reset() function" 2020-09-22 05:13:39 +00:00
sd.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
smihandler.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
smmrelocate.c src/soc/intel: Drop unneeded empty lines 2020-09-21 16:15:25 +00:00
spi.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
systemagent.c soc/intel/common: Improve Type16 SMBIOS tables 2020-05-28 06:26:53 +00:00
uart.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
vr_config.c src/soc/intel: Drop unneeded empty lines 2020-09-21 16:15:25 +00:00
xhci.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00