glados: Add nvram vboot command support

Add support for reading/writing NVRAM VBNV data in flash on
skylake systems that provide RW_NVRAM FMAP region.

This makes the 'nvram vboot read' and 'nvram vboot write'
commands functional on all skylake boards.

BUG=chrome-os-partner:51846
BRANCH=none
TEST=test mosys nvram vboot read/write on chell

Change-Id: Ida78d3630634e6161c04f7ce8843b9c5e83d900e
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/336282
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
3 files changed