summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2017-02-22 16:52:04 -0800
committerchrome-bot <chrome-bot@chromium.org>2017-02-25 16:34:15 -0800
commit6ba124a81bd6d5af1edae5f30add22e81b8b7de7 (patch)
tree8305113b48e281b41ee4bbf005eb5a07d7e07a3a /include
parent9619578ad20a2a4c9ed500e53227fab6158e41d0 (diff)
downloadchrome-ec-6ba124a81bd6d5af1edae5f30add22e81b8b7de7.tar.gz
hostcmd: Remove EC_CMD_VBNV_CONTEXT handler for most boards
Most boards do not keep VBNV storage on the EC, so leave out the host command handler by default. BUG=chromium:693210 BRANCH=None TEST=`make buildall -j` Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Change-Id: Ia202ec7d73d1804d8430fe7516cc783afd86e89a Reviewed-on: https://chromium-review.googlesource.com/446716 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h5
-rw-r--r--include/system.h4
2 files changed, 4 insertions, 5 deletions
diff --git a/include/config.h b/include/config.h
index 29625d201d..d9597d01cd 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1328,9 +1328,12 @@
/* Panic when status of PD MCU reflects that it has crashed */
#undef CONFIG_HOSTCMD_PD_PANIC
-/* Board supports RTC host commands*/
+/* Board supports RTC host commands */
#undef CONFIG_HOSTCMD_RTC
+/* For access to VBNV on-EC battery-backed storage */
+#undef CONFIG_HOSTCMD_VBNV_CONTEXT
+
/*****************************************************************************/
/* Enable debugging and profiling statistics for hook functions */
diff --git a/include/system.h b/include/system.h
index 12b40e09ab..b584e3586e 100644
--- a/include/system.h
+++ b/include/system.h
@@ -273,10 +273,6 @@ const char *system_get_chip_revision(void);
* not implemented.
*/
enum system_bbram_idx {
- /*
- * TODO(crbug.com/693210): Consider boards without vbnvcontext
- * host command.
- */
SYSTEM_BBRAM_IDX_VBNVBLOCK0 = 0,
/*
* ...