soc/intel/skylake: Use intel common support to write-protect SPI flash
commit723a84e2920c8ba52257cf4bf445b23ff01d8754
authorFurquan Shaikh <furquan@chromium.org>
Mon, 24 Oct 2016 22:27:21 +0000 (24 15:27 -0700)
committerFurquan Shaikh <furquan@google.com>
Tue, 25 Oct 2016 23:50:45 +0000 (26 01:50 +0200)
tree86ea0f936ee6e9e16e878976a4ad511e7971ce99
parentaedbfc8f0917b332e648fe6c4333567bd8e58b0d
soc/intel/skylake: Use intel common support to write-protect SPI flash

BUG=chrome-os-partner:58896

Change-Id: I281c799a1798f3353d78edd8a6cd16bbe762bc2c
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/17116
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
src/soc/intel/skylake/Kconfig
src/soc/intel/skylake/flash_controller.c
src/soc/intel/skylake/include/soc/spi.h