coreboot-kgpe-d16/src/soc/intel/denverton_ns
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 src/**/acpi/smbus.asl: Drop dead code 2020-07-06 23:11:08 +00:00
bootblock src: Remove unused 'include <cpu/x86/mtrr.h>' 2020-06-06 09:43:11 +00:00
include/soc src/soc/intel: Drop unneeded empty lines 2020-09-21 16:15:25 +00:00
acpi.c src: Report word-sized access for PM1a_EVT 2020-07-20 13:33:32 +00:00
chip.c device/pci_device: Extract pci_domain_set_resources from SOC 2020-05-12 20:07:25 +00:00
chip.h soc/intel/common: add TCC activation functionality 2020-06-28 21:47:52 +00:00
cpu.c soc/intel: Drop unused #include <reg_script.h> 2020-07-06 19:29:07 +00:00
csme_ie_kt.c src: Remove unused '#include <stdint.h>' 2020-05-13 08:48:17 +00:00
fiamux.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
gpio.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
gpio_dnv.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
hob_display.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
hob_mem.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
lpc.c arch/x86: Create helper for APM_CNT SMI triggers 2020-06-16 08:02:18 +00:00
Makefile.inc src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
memmap.c src: Remove unused 'include <lib.h>' 2020-05-18 07:39:17 +00:00
npk.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pmc.c sb/intel: Remove spurious HAVE_SMI_HANDLER test 2020-06-16 08:02:54 +00:00
pmutil.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
reset.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
romstage.c src: Remove unused 'include <cbmem.h>' 2020-07-26 20:59:44 +00:00
sata.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
smihandler.c ACPI GNVS: Replace uses of smm_get_gnvs() 2020-07-01 05:14:24 +00:00
smm.c ACPI: Replace smm_setup_structures() 2020-06-24 11:49:15 +00:00
soc_util.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
spi.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
systemagent.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
tsc_freq.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
uart.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
uart_debug.c soc/intel/denverton_ns/uart_debug: include header for uart_platform_base 2020-09-12 15:00:07 +00:00
upd_display.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
xhci.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00