coreboot/src
Duncan Laurie f059b241ad broadwell: Add function to apply PRR to a range of SPI flash
This function will use the next available/free protected range
register to cover the specified region of flash and write
protect it until the next reset.

This will be used by the common MRC cache code to protect the
RW_MRC_CACHE region after it is updated.

In order to communicate to the common NVM code that this function
is defined also enable CONFIG_MRC_SETTINGS_PROTECT variable.

BUG=chrome-os-partner:28234
BRANCH=broadwell
TEST=build and boot on samus

Change-Id: I710c6a69f725479411ed978cc615e1bb78fb42b8
Signed-off-by: Stefan Reinauer <reinauer@chromium.org>
Original-Commit-Id: 25365433be0f190e10a96d9946b8ea90c883b78a
Original-Change-Id: I4a4cd27f9f4a94b9134dcba623f33b114299818f
Original-Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/241129
Original-Reviewed-by: Shawn N <shawnn@chromium.org>
Reviewed-on: http://review.coreboot.org/9493
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-04-10 20:16:30 +02:00
..
arch build system: Fix SeaBIOS integration with multilib compilers 2015-04-10 16:13:32 +02:00
console New mechanism to define SRAM/memory map with automatic bounds checking 2015-04-06 22:05:01 +02:00
cpu vendorcode/amd/agesa/f16kb: Enable support for AM1 socket 2015-04-10 15:29:24 +02:00
device cbfs: correct types used for accessing files 2015-04-01 22:51:10 +02:00
drivers TPM: Reduce buffer size to fix stack overflow 2015-04-10 20:06:23 +02:00
ec kconfig: drop intermittend forwarder files 2015-04-07 17:40:28 +02:00
include PCI - Add interrupt disable bit definition 2015-04-10 20:10:55 +02:00
lib vboot: Include vb2_api.h, instead of lower-level vboot2 header files 2015-04-10 16:49:15 +02:00
mainboard samus: Add clear_recovery_mode_switch function 2015-04-10 20:16:06 +02:00
northbridge northbridge/amd/agesa/familyXY: Make NULL device op explicit 2015-04-09 19:34:22 +02:00
soc broadwell: Add function to apply PRR to a range of SPI flash 2015-04-10 20:16:30 +02:00
southbridge southbridge/intel/fsp_rangeley/ : Spellcheck + Formatting 2015-04-10 17:57:11 +02:00
superio kconfig: drop intermittend forwarder files 2015-04-07 17:40:28 +02:00
vendorcode vboot: Remove unused 2lib header path 2015-04-10 16:49:24 +02:00
Kconfig cbtables: Add RAM config information 2015-04-10 16:47:44 +02:00