summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2019-04-03 16:32:32 -0700
committerchrome-bot <chrome-bot@chromium.org>2019-04-05 03:53:39 -0700
commit7912ce208ce1356e261ca6e36de87f09ec014b6b (patch)
tree2aaacfa5db41cdea52c461004be9260e16daf308 /include
parente0e48a3187826d03248e35313feb1e8d068439fc (diff)
downloadchrome-ec-7912ce208ce1356e261ca6e36de87f09ec014b6b.tar.gz
cbi: Allow cbi command included optionally
Currently, console command 'cbi' is always included when cbi is enabled. This patch adds CONFIG_CMD_CBI so that a board can choose to include or exclude the command. Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> BUG=b/129746223,b/127720872 BRANCH=none TEST=buildall Change-Id: I465d9b52af91d54a686022bf19a1c4e698d2a727 Reviewed-on: https://chromium-review.googlesource.com/1552359 Commit-Ready: Daisuke Nojiri <dnojiri@chromium.org> Tested-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-by: YH Lin <yueherngl@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index aaf134c02f..981d72ce59 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1027,6 +1027,7 @@
#define CONFIG_CMD_BATTFAKE
#undef CONFIG_CMD_BATT_MFG_ACCESS
#undef CONFIG_CMD_BUTTON
+#define CONFIG_CMD_CBI
#undef CONFIG_CMD_CCD_DISABLE /* 'ccd disable' subcommand */
#define CONFIG_CMD_CHARGER
#undef CONFIG_CMD_CHARGER_ADC_AMON_BMON