coreboot-kgpe-d16/src/soc/intel/baytrail
Shawn Nematbakhsh 565d409753 baytrail: romstage: Add function to check SW WP status for vboot
Implement vboot_get_sw_write_protect, which returns the FW SPI ROM SW WP
status.

BUG=chrome-os-partner:26777
TEST=Manual on Rambi with all patches in sequence:
`crossystem sw_wpsw_boot` prints 0
`flashrom --wp-enable` + reboot
`crossystem sw_wpsw_boot` prints 1
BRANCH=Rambi

Original-Change-Id: I5da35c1b2d25b8679bf0084af65d08de224387f8
Original-Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/190097
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
(cherry picked from commit 5bba447654417c42952c49542ed047b4867d04d1)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>

Change-Id: I739cbb8fca5f02462cf78c81f9b364aabfd3fe86
Reviewed-on: http://review.coreboot.org/7211
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2014-10-28 17:56:11 +01:00
..
acpi baytrail/rambi: S3 support and other updates 2014-10-22 03:22:25 +02:00
baytrail baytrail: romstage: Add function to check SW WP status for vboot 2014-10-28 17:56:11 +01:00
bootblock baytrail: load microcode in bootblock 2014-02-05 05:24:13 +01:00
microcode baytrail: update C0 microcode 2014-10-01 23:30:05 +02:00
romstage baytrail: romstage: Add function to check SW WP status for vboot 2014-10-28 17:56:11 +01:00
acpi.c baytrail/rambi: spi, charger, and audio updates 2014-09-19 21:38:48 +02:00
chip.c baytrail/rambi: S3 support and other updates 2014-10-22 03:22:25 +02:00
chip.h baytrail/rambi: S3 support and other updates 2014-10-22 03:22:25 +02:00
cpu.c baytrail/rambi: S3 support and other updates 2014-10-22 03:22:25 +02:00
dptf.c rambi/baytrail: ACPI, GPIO, audio, misc updates 2014-09-18 01:23:14 +02:00
ehci.c intel boards: Use acpi_is_wakeup_s3() 2014-06-21 08:04:52 +02:00
elog.c rambi/baytrail: ACPI, GPIO, audio, misc updates 2014-09-18 01:23:14 +02:00
emmc.c baytrail: Put devices in ACPI mode after setup 2014-05-12 22:08:22 +02:00
gfx.c rambi/baytrail: ACPI, GPIO, audio, misc updates 2014-09-18 01:23:14 +02:00
gpio.c baytrail/rambi: S3 support and other updates 2014-10-22 03:22:25 +02:00
hda.c baytrail: Move HDA verb table to Intel SOC common directory 2014-10-22 03:35:13 +02:00
iosf.c baytrail: add more iosf access functions 2014-05-10 06:31:00 +02:00
Kconfig reg_script: default to n for ARCH_X86 2014-10-22 03:57:51 +02:00
lpe.c rambi/baytrail: ACPI, GPIO, audio, misc updates 2014-09-18 01:23:14 +02:00
lpss.c baytrail: Put devices in ACPI mode after setup 2014-05-12 22:08:22 +02:00
Makefile.inc baytrail: Move HDA verb table to Intel SOC common directory 2014-10-22 03:35:13 +02:00
memmap.c baytrail: SMM support 2014-02-16 20:57:14 +01:00
northcluster.c baytrail/rambi: S3 support and other updates 2014-10-22 03:22:25 +02:00
pcie.c baytrail/rambi: S3 support and other updates 2014-10-22 03:22:25 +02:00
perf_power.c baytrail: align with intel recommendations 2014-05-12 22:11:10 +02:00
placeholders.c baytrail: Add ACPI CPU entries 2014-05-06 18:39:04 +02:00
pmutil.c rambi/baytrail: ACPI, GPIO, audio, misc updates 2014-09-18 01:23:14 +02:00
ramstage.c baytrail/rambi: S3 support and other updates 2014-10-22 03:22:25 +02:00
refcode.c soc: Trivial - drop trailing blank lines at EOF 2014-07-08 13:52:54 +02:00
reset.c baytrail: add reset support 2014-02-11 22:22:25 +01:00
sata.c baytrail: Add SATA driver 2014-02-27 06:13:30 +01:00
scc.c baytrail: utilize reg_script_run_on_dev() 2014-05-10 06:31:29 +02:00
sd.c baytrail: Add support for LPSS and SCC devices in ACPI mode 2014-05-10 06:30:36 +02:00
smihandler.c baytrail: add GPIO SMI support 2014-05-06 18:39:29 +02:00
smm.c baytrail/rambi: S3 support and other updates 2014-10-22 03:22:25 +02:00
southcluster.c cmos: Rename the CMOS related functions. 2014-10-22 03:55:14 +02:00
spi.c baytrail/rambi: spi, charger, and audio updates 2014-09-19 21:38:48 +02:00
stage_cache.c baytrail: allow ramstage_cache_location() usage in ramstage 2014-05-10 06:31:52 +02:00
tsc_freq.c baytrail: Add BCLK and IACORE to pattrs 2014-05-06 18:38:58 +02:00
xhci.c rambi/baytrail: ACPI, GPIO, audio, misc updates 2014-09-18 01:23:14 +02:00