coreboot/src
Barnali Sarkar 0818a2a774 soc/intel/skylake: Move SPI lock down config after resource allocation
This patch to ensures that coreboot is performing SPI
registers lockdown after PCI enumeration is done.

This requirements are intended to support platform security
guideline where all required chipset registers are expected
to be in lock down stage before launching any 3rd party
code as in option rom etc.

coreboot has to change its execution order to meet those
requirements. Hence SPI lock down programming has been moved
right after pci resource allocation is donei, so that
SPI registers can be lock down before calling post pci
enumeration FSP NotifyPhase() API which is targeted to
be done in BS_DEV_ENABLE-BS_ON_ENTRY.

TEST=Ensure SPIBAR+HSFSTS(0x04) register FLOCKDN bit and WRSDIS
bit is set. Also, Bits 8-12 of SPIBAR+DLOCK(0x0C) register is set.

Change-Id: I8f5a952656e51d3bf365917b90d3056b46f899c5
Signed-off-by: Barnali Sarkar <barnali.sarkar@intel.com>
Reviewed-on: https://review.coreboot.org/21064
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2017-08-26 16:30:31 +00:00
..
acpi src/acpi: Add guards on all header files 2017-08-01 23:04:27 +00:00
arch i82801dx/gx/ix/jx: Add low-memory backup for S3 path 2017-08-19 15:31:51 +00:00
commonlib Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
console console: Add weak method to notify about death 2017-08-14 11:01:41 +00:00
cpu AMD K8 fam10-15: Tidy up CAR stack switch 2017-08-22 20:25:15 +00:00
device device/smbus: Reuse I2C bus operations where applicable 2017-08-18 15:34:15 +00:00
drivers drivers/i2c/rx6110sa: Drop I2C interface arbitration 2017-08-18 15:33:58 +00:00
ec ec/google: Detect keyboard backlight at runtime 2017-08-22 17:59:20 +00:00
include AMD K8 fam10-15: Tidy up CAR stack switch 2017-08-22 20:25:15 +00:00
lib lib/cbmem: provide optional cbmem top initialization hook 2017-08-04 04:29:57 +00:00
mainboard jetway/nf81-t56n-lf: Switch away from AGESA_LEGACY 2017-08-25 20:33:26 +00:00
northbridge AGESA: Sync f15tn and f15rl northbridge code 2017-08-24 10:53:01 +00:00
soc soc/intel/skylake: Move SPI lock down config after resource allocation 2017-08-26 16:30:31 +00:00
southbridge amd/XX/hudson: Remove #if IS_ENABLED(CONFIG_HUDSON_IMC_FWM) 2017-08-25 04:21:33 +00:00
superio superio/winbond/w83627*: Remove deprecated code 2017-08-21 17:02:53 +00:00
vboot vboot: Remove get_sw_write_protect_state callback 2017-07-18 23:24:01 +00:00
vendorcode vendorcode/intel/fsp/fsp2_0/denverton_ns: Add FSP header files for Denverton_NS SoC 2017-08-22 19:11:23 +00:00
Kconfig Add support for Undefined Behavior Sanitizer 2017-06-14 19:56:59 +02:00