coreboot/src
Duncan Laurie 0165038561 chromeos: Make vbnv_flash driver safe for CAR usage
This modifies the vbnv_flash driver to make it safe for use
in cache-as-ram by handling the global variables safely.

To make this cleaner all of the variables were moved into
one structure and referenced from there.

BUG=chrome-os-partner:47915
BRANCH=glados
TEST=build and boot on chell using following patches to
test backup and restore of vbnv_cmos into flash

Change-Id: I3a17fa51cfd754455502ac2e5f181dae35967f2a
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 48876561fa4fb61e1ec8f92596c5610d97135201
Original-Change-Id: Id9fda8467edcc55e5ed760ddab197ab97d1f3d25
Original-Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/324121
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/13599
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
2016-02-09 13:20:41 +01:00
..
acpi acpi/: add missing license header 2016-01-14 22:52:11 +01:00
arch xcompile: Add a way to specify -march=i586 2016-02-03 02:58:10 +01:00
commonlib commonlib: move uefi includes out of commonlib includes 2016-02-02 14:27:03 +01:00
console console: Simplify bootblock console Kconfig selection logic 2016-01-21 05:37:27 +01:00
cpu cpu/amd/fam10h-fam15h: Honor CMOS option to disable CPB (core boost) 2016-02-05 22:27:31 +01:00
device arch/x86: Drop arch/pciconf.h 2016-01-26 20:22:44 +01:00
drivers drivers/intel/fsp1_1: Make fsp_run_silicon_init public 2016-02-08 18:53:45 +01:00
ec google/chromeec: implement vboot_(save|retrieve)_hash API 2016-02-04 17:34:58 +01:00
include include/device: Move inline functions from pci_def.h to pci.h 2016-02-03 03:32:58 +01:00
lib chromeos: Remove CONFIG_VBNV_SIZE variable 2016-02-09 13:19:48 +01:00
mainboard mainboard/intel/galileo: Add board_info.txt 2016-02-05 23:02:57 +01:00
northbridge nb/amd/mct_ddr3: Fix RDIMM training failure on Fam15h 2016-02-05 22:26:54 +01:00
soc chromeos: Remove CONFIG_VBNV_SIZE variable 2016-02-09 13:19:48 +01:00
southbridge drivers/pc80: Add PS/2 mouse presence detect 2016-02-01 22:10:46 +01:00
superio drivers/pc80: Add PS/2 mouse presence detect 2016-02-01 22:10:46 +01:00
vendorcode chromeos: Make vbnv_flash driver safe for CAR usage 2016-02-09 13:20:41 +01:00
Kconfig chromeos/vboot: provide support for x86 memory init verification 2016-02-04 17:34:00 +01:00