Use intel common infrastructure to enable support for write-protecting SPI flash range. Also, enable this protection for RW_MRC_CACHE.
BUG=chrome-os-partner:58896 TEST=Verified that write to RW_MRC_CACHE fails in OS using "flashrom -p host -i RW_MRC_CACHE -w /tmp/test.bin"
Change-Id: I35df12bc295d141e314ec2cb092d904842432394
ffb3a2d soc/intel/apollolake: Enable write-protect SPI flash range support
src/soc/intel/apollolake/Kconfig | 2 ++
src/soc/intel/apollolake/include/soc/spi.h | 3 +++
src/soc/intel/apollolake/spi.c | 14 ++++++++++++++
3 files changed, 19 insertions(+)
Upstream: review.coreboot.org