coreboot-kgpe-d16/src/soc/intel/skylake
Duncan Laurie 205ed2d2b5 skylake: Add function to set PRR for protecting flash
Add a function similar to broadwell to set the PRR for a region of
flash and protect it from writes.  This is used to secure the MRC
cache region if the SPI is write protected.

BUG=chrome-os-partner:54003
BRANCH=glados
TEST=boot on chell, verify PRR register is set and that the
MRC cache region cannot be written if the SPI is write protected.

Change-Id: I925ec9ce186f7adac327bca9c96255325b7f54ec
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Original-Commit-Id: abb6f645f5ceef3f52bb7afd2632212ea916ff8d
Original-Change-Id: I2f90556a217b35b7c93645e41a1fcfe8070c53da
Original-Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/349274
Original-Reviewed-by: Shawn N <shawnn@chromium.org>
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Tested-by: Shawn N <shawnn@chromium.org>
Reviewed-on: https://review.coreboot.org/15102
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Leroy P Leahy <leroy.p.leahy@intel.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2016-06-09 17:06:58 +02:00
..
acpi skylake: Add and fill out CID1 NVS field 2016-03-08 18:43:11 +01:00
bootblock soc/intel: Update license headers 2016-04-14 16:54:33 +02:00
include/soc skylake: Add function to set PRR for protecting flash 2016-06-09 17:06:58 +02:00
nhlt intel/skylake: Fix typo in comment 2016-06-06 21:41:08 +02:00
romstage skylake: Increase IGD stolen size to 64MB 2016-02-29 20:16:10 +01:00
acpi.c skylake: Add and fill out CID1 NVS field 2016-03-08 18:43:11 +01:00
chip.c skylake: Add ACPI device name handler 2016-05-21 06:00:38 +02:00
chip.h skylake: Add SD card device to configure card detect GPIO 2016-05-31 18:46:39 +02:00
cpu.c soc/intel/skylake: convert to using common MP and SMM init 2016-05-06 16:47:02 +02:00
cpu_info.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
dsp.c skylake: Add Audio DSP device 2016-05-31 18:45:15 +02:00
elog.c intel/skylake: Do not log wake source on reset 2016-03-12 09:23:15 +01:00
finalize.c skylake: Finalize SMM in coreboot 2016-02-15 08:07:11 +01:00
flash_controller.c skylake: Add function to set PRR for protecting flash 2016-06-09 17:06:58 +02:00
fsp_reset.c intel/skylake: During RO mode after FSP reset CB lose original state 2016-01-17 22:52:02 +01:00
gpio.c skylake: Add handler for finding ACPI path for GPIO 2016-05-21 06:02:11 +02:00
i2c.c skylake: Add I2C devices 2016-05-31 18:43:55 +02:00
igd.c skylake: Enable DDI-A 4-lane support if GOP does not execute 2016-02-15 08:05:41 +01:00
Kconfig skylake: Add function to set PRR for protecting flash 2016-06-09 17:06:58 +02:00
lpc.c soc/intel/skylake: add option to statically clock gate 8254 timer 2016-03-12 09:21:56 +01:00
Makefile.inc skylake: Add SD card device to configure card detect GPIO 2016-05-31 18:46:39 +02:00
me_status.c soc/intel/skylake: Output more ME status information 2016-05-09 08:28:37 +02:00
memmap.c drivers/intel/fsp1_1: Fix spelling error in API and copyright 2016-01-31 20:51:29 +01:00
monotonic_timer.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pch.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pcie.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pcr.c intel/skylake: Init variable so GCC knows it's set 2016-01-15 22:41:11 +01:00
pei_data.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pmc.c chromeos: Remove CONFIG_VBNV_SIZE variable 2016-02-09 13:19:48 +01:00
pmutil.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
ramstage.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
sd.c skylake: Add SD card device to configure card detect GPIO 2016-05-31 18:46:39 +02:00
smbus.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
smbus_common.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
smi.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
smihandler.c Correct some common spelling mistakes 2016-01-07 22:57:02 +01:00
smmrelocate.c {cpu,soc}/intel: remove unused smm_init() function 2016-05-06 16:48:21 +02:00
systemagent.c intel/skylake: Fix issues found by klockwork 2016-01-19 17:23:42 +01:00
tsc_freq.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
uart.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
uart_debug.c drivers/uart: Use uart_platform_refclk for all UART models 2016-05-09 18:45:44 +02:00
vr_config.c intel/skylake: provide default VR configuration 2016-01-18 12:12:12 +01:00
xhci.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00