summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2017-09-06 18:14:45 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2017-09-11 21:34:24 +0000
commit6db5e458f8e294632a9466704e0372fc9d7483c1 (patch)
tree9553d88a59b706c6aef15bb841b4253c3ed1a80d /include
parent781ae9b7a7d1c96e70e1254445f46a2bc41d1f9b (diff)
downloadchrome-ec-6db5e458f8e294632a9466704e0372fc9d7483c1.tar.gz
ccd_config: Clean up help and config.h
Minor cleanup to the 'ccd help' command. Add 'ccd get' as a clearer alias to print the config. Change CONFIG_CMD_CCDDISABLE to CONFIG_CMD_CCD_DISABLE to indicate that it's a sub-command for 'ccd'. BUG=b:65407395 BRANCH=cr50 TEST=manual ccd -> see clue for 'ccd help' ccd help -> see 'get' command ccd get -> prints config ccd disable -> error (config option isn't defined by default) Change-Id: Icbcaa178171ca948cfaae58ab1a1e73ab3d95243 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/654380 Reviewed-by: Mary Ruthven <mruthven@chromium.org> (cherry picked from commit f3c51cb5bcdf469faf843e76af9d7c468b640960) Reviewed-on: https://chromium-review.googlesource.com/660894 Commit-Queue: Vadim Bendebury <vbendeb@chromium.org> Tested-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/config.h b/include/config.h
index 811c455fce..1f67b5a561 100644
--- a/include/config.h
+++ b/include/config.h
@@ -682,7 +682,7 @@
#define CONFIG_CMD_BATTFAKE
#undef CONFIG_CMD_BATT_MFG_ACCESS
#undef CONFIG_CMD_BUTTON
-#undef CONFIG_CMD_CCDDISABLE
+#undef CONFIG_CMD_CCD_DISABLE /* 'ccd disable' subcommand */
#define CONFIG_CMD_CHARGER
#undef CONFIG_CMD_CHARGER_ADC_AMON_BMON
#undef CONFIG_CMD_CHARGER_PROFILE_OVERRIDE