coreboot-kgpe-d16/src/soc/intel/braswell
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 {sb,soc}/intel/*/acpi/lpc.asl: Drop commented-out code 2020-08-05 15:46:17 +00:00
bootblock src/soc/intel: Drop unneeded empty lines 2020-09-21 16:15:25 +00:00
include/soc src/soc/intel: Drop unneeded empty lines 2020-09-21 16:15:25 +00:00
romstage src/soc/intel: Drop unneeded empty lines 2020-09-21 16:15:25 +00:00
acpi.c soc/intel/braswell: Move acpi_fill_fadt to fadt.c 2020-07-14 22:33:56 +00:00
chip.c src/soc/intel: Drop unneeded empty lines 2020-09-21 16:15:25 +00:00
chip.h src/soc/intel: Drop unneeded empty lines 2020-09-21 16:15:25 +00:00
cpu.c src/soc/intel: Drop unneeded empty lines 2020-09-21 16:15:25 +00:00
elog.c elog: rename ELOG_WAKE_SOURCE_GPIO to ELOG_WAKE_SOURCE_GPE 2020-08-18 15:57:40 +00:00
emmc.c soc/intel/braswell: Drop some BIOS_SPEW printk's 2020-07-09 12:44:04 +00:00
fadt.c soc/intel/braswell/fadt.c: Use ACPI_ADDRESS_SPACE_IO macro 2020-07-28 10:53:55 +00:00
gfx.c {sb,soc}/intel/**/*.c: Use macros for PCI COMMAND bits 2020-07-26 21:17:50 +00:00
gpio.c src/soc/intel: Drop unneeded empty lines 2020-09-21 16:15:25 +00:00
gpio_support.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
iosf.c soc/intel/{baytrail,braswell}: Drop unneeded return 2020-07-25 10:19:14 +00:00
Kconfig drivers/spi: Add BOOT_DEVICE_SPI_FLASH_NO_EARLY_WRITES config 2020-10-02 23:11:04 +00:00
lpc_init.c src/soc/intel: Drop unneeded empty lines 2020-09-21 16:15:25 +00:00
lpe.c src/soc/intel: Drop unneeded empty lines 2020-09-21 16:15:25 +00:00
lpss.c {sb,soc}/intel/**/*.c: Use macros for PCI COMMAND bits 2020-07-26 21:17:50 +00:00
Makefile.inc soc/intel/braswell: Move acpi_fill_fadt to fadt.c 2020-07-14 22:33:56 +00:00
memmap.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
northcluster.c soc/intel/braswell/northcluster.c: Tidy up long lines 2020-08-02 12:03:04 +00:00
pcie.c soc/intel/braswell: Drop some BIOS_SPEW printk's 2020-07-09 12:44:04 +00:00
placeholders.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pmutil.c src/soc/intel: Drop unneeded empty lines 2020-09-21 16:15:25 +00:00
ramstage.c ACPI: Drop typedef global_nvs_t 2020-06-30 09:19:10 +00:00
sata.c soc/intel/braswell: Drop some BIOS_SPEW printk's 2020-07-09 12:44:04 +00:00
scc.c src/soc/intel: Drop unneeded empty lines 2020-09-21 16:15:25 +00:00
sd.c soc/intel/braswell: Drop some BIOS_SPEW printk's 2020-07-09 12:44:04 +00:00
smbus.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
smihandler.c src/soc/intel: Drop unneeded empty lines 2020-09-21 16:15:25 +00:00
smm.c ACPI: Replace smm_setup_structures() 2020-06-24 11:49:15 +00:00
southcluster.c soc/intel/braswell: Drop some BIOS_SPEW printk's 2020-07-09 12:44:04 +00:00
tsc_freq.c src: Remove unused '#include <stdint.h>' 2020-05-13 08:48:17 +00:00
xhci.c src: Remove unused '#include <stdint.h>' 2020-05-13 08:48:17 +00:00