summaryrefslogtreecommitdiff
path: root/drivers/platform/chrome/cros_ec_dev.c
diff options
context:
space:
mode:
authorEmilio López <emilio.lopez@collabora.co.uk>2015-09-21 16:38:22 +0300
committerOlof Johansson <olof@lixom.net>2015-10-08 01:05:53 +0300
commit18800fc7a04e7df8a345e7ef4fc3064368276f83 (patch)
treee70b6cb9f8db8bc4e94e022d3273984219893151 /drivers/platform/chrome/cros_ec_dev.c
parent7f5028cf6190407b7a632b0f30b83187577824cc (diff)
downloadlinux-18800fc7a04e7df8a345e7ef4fc3064368276f83.tar.xz
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>
Diffstat (limited to 'drivers/platform/chrome/cros_ec_dev.c')
-rw-r--r--drivers/platform/chrome/cros_ec_dev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/chrome/cros_ec_dev.c b/drivers/platform/chrome/cros_ec_dev.c
index 2f4099820480..d45cd254ed1c 100644
--- a/drivers/platform/chrome/cros_ec_dev.c
+++ b/drivers/platform/chrome/cros_ec_dev.c
@@ -32,6 +32,7 @@ static int ec_major;
static const struct attribute_group *cros_ec_groups[] = {
&cros_ec_attr_group,
&cros_ec_lightbar_attr_group,
+ &cros_ec_vbc_attr_group,
NULL,
};