platform/chrome: Support reading/writing the vboot context
authorEmilio López <emilio.lopez@collabora.co.uk>
Mon, 21 Sep 2015 13:38:22 +0000 (10:38 -0300)
committerOlof Johansson <olof@lixom.net>
Wed, 7 Oct 2015 22:05:53 +0000 (15:05 -0700)
commit18800fc7a04e7df8a345e7ef4fc3064368276f83
treee70b6cb9f8db8bc4e94e022d3273984219893151
parent7f5028cf6190407b7a632b0f30b83187577824cc
platform/chrome: Support reading/writing the vboot context

Some EC implementations include a small nvram space used to store
verified boot context data. This patch offers a way to expose this
data to userspace.

Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Emilio López <emilio.lopez@collabora.co.uk>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/platform/chrome/Makefile
drivers/platform/chrome/cros_ec_dev.c
drivers/platform/chrome/cros_ec_vbc.c [new file with mode: 0644]
include/linux/mfd/cros_ec.h