diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2018-01-07 20:46:31 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-06-04 08:27:08 +0000 |
commit | 11fcb2bcc6293ee7d09cdf234dc92868664d0a22 (patch) | |
tree | f718ead4b1beffeedd028202fc7b79d69d0bde6d /src/lib | |
parent | a59333941b7e7d8ab509472807d73b2682bdb2ac (diff) | |
download | coreboot-11fcb2bcc6293ee7d09cdf234dc92868664d0a22.tar.xz |
sb/intel/common/spi.c: Add a SPI write protect function
Could be useful to write protect regions like for instance the
MRC_CACHE region.
Tested on Intel DG41WV (i82801gx) and Lenovo Thinkpad X220 (bd82x6x)
to write protect the mrc_cache region.
Change-Id: Id0a9a0de639c5d6761a77a56ceba6d89110a4ea1
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/23146
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions