coreboot-kgpe-d16/src/soc/intel/broadwell
Rizwan Qureshi f9f5093644 drivers/spi: Add controller protection type
Some SPI controllers support both READ and WRITE protection
add a variable to the protect API for the callers to specify
the kind of protection they want (Read/Write/Both).
Also, update the callers and protect API implementation.

BUG=None
BRANCH=None
TEST=test that the mrc cache is protected as expected on soraka.
Also tried if the read protection is applied correctly.

Change-Id: I093884c4768b08a378f21242ac82e430ac013d15
Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Reviewed-on: https://review.coreboot.org/c/30559
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
2019-01-21 13:25:31 +00:00
..
acpi cpu/intel/common: Use a common acpi/cpu.asl file 2018-11-30 22:02:35 +00:00
bootblock arch/x86: Use a common timestamp.inc with romcc bootblocks 2018-12-30 12:30:55 +00:00
include/soc drivers/spi: Add controller protection type 2019-01-21 13:25:31 +00:00
romstage cpu/intel/car: Prepare for C_ENVIRONMENT_BOOTBLOCK 2019-01-08 15:33:47 +00:00
acpi.c soc/intel/broadwell: implement RMRR ACPI table 2018-12-20 22:19:29 +00:00
adsp.c
chip.c src: Remove unneeded include <console/console.h> 2018-11-16 09:50:29 +00:00
chip.h src: Add missing include <stdint.h> 2018-11-01 11:25:07 +00:00
cpu.c soc/intel: Standardize names of common MSRs 2019-01-07 10:27:32 +00:00
cpu_info.c src: Remove unneeded include <console/console.h> 2018-11-16 09:50:29 +00:00
ehci.c src: Remove unneeded include <console/console.h> 2018-11-16 09:50:29 +00:00
elog.c
finalize.c
gpio.c
hda.c
igd.c
iobp.c
Kconfig Kconfig: Unify power-after-failure options 2019-01-06 15:54:19 +00:00
lpc.c Kconfig: Unify power-after-failure options 2019-01-06 15:54:19 +00:00
Makefile.inc usbdebug: Make the EHCI debug console work in the bootblock 2019-01-06 14:05:20 +00:00
me.c src/soc/intel/broadwell/me.c: Correct HMRFPO misspelling 2018-10-02 11:13:44 +00:00
me_status.c soc: Remove useless include <device/pci_ids.h> 2018-12-19 05:20:49 +00:00
memmap.c
minihd.c
monotonic_timer.c
pch.c soc/broadwell: Don't use device_t 2018-09-21 14:05:04 +00:00
pcie.c soc/intel/broadwell: Get rid of device_t 2018-06-01 16:26:09 +00:00
pei_data.c
pmutil.c vboot: fix CONFIG_RESUME_PATH_SAME_AS_BOOT S3 resume logic 2018-10-24 09:07:43 +00:00
ramstage.c src: Remove unneeded include <console/console.h> 2018-11-16 09:50:29 +00:00
refcode.c src: Get rid of duplicated includes 2018-11-16 09:50:03 +00:00
sata.c soc/intel/broadwell: Get rid of device_t 2018-06-01 16:26:09 +00:00
serialio.c
smbus.c src: Remove unneeded include <console/console.h> 2018-11-16 09:50:29 +00:00
smbus_common.c soc: Remove useless include <device/pci_ids.h> 2018-12-19 05:20:49 +00:00
smi.c src: Remove unneeded include "{arch,cpu}/cpu.h" 2018-11-12 09:22:18 +00:00
smihandler.c Kconfig: Unify power-after-failure options 2019-01-06 15:54:19 +00:00
smmrelocate.c soc/intel: Standardize names of common MSRs 2019-01-07 10:27:32 +00:00
spi.c drivers/spi: Add controller protection type 2019-01-21 13:25:31 +00:00
stage_cache.c
systemagent.c soc/intel/broadwell: implement RMRR ACPI table 2018-12-20 22:19:29 +00:00
tsc_freq.c
usb_debug.c src: Remove unneeded include <console/console.h> 2018-11-16 09:50:29 +00:00
xhci.c src: Remove unneeded include <console/console.h> 2018-11-16 09:50:29 +00:00