summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2018-01-24 18:26:00 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-01-30 14:54:17 -0800
commit9362b0620159acadc5f8231407acca746c1d2c39 (patch)
tree3fb0e2c513fa702716b5b1c864ba2aee87a4a66f /include
parentf543a8e7982c8facb74502b3e96d83bd336f6522 (diff)
downloadchrome-ec-9362b0620159acadc5f8231407acca746c1d2c39.tar.gz
samus_pd: Remove 'adc' console command
Remove console command for flash / RAM savings. BUG=None TEST=`make buildall -j` BRANCH=None Change-Id: Ibfccbdf45e5c86260cc55237387994fdf094c19c Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/885463 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/config.h b/include/config.h
index 848f1ec49c..a2a27c3aa6 100644
--- a/include/config.h
+++ b/include/config.h
@@ -736,6 +736,7 @@
#undef CONFIG_CMD_ACCEL_FIFO
#undef CONFIG_CMD_ACCEL_INFO
#define CONFIG_CMD_ACCELSPOOF
+#define CONFIG_CMD_ADC
#undef CONFIG_CMD_ALS
#define CONFIG_CMD_APTHROTTLE
#undef CONFIG_CMD_BATDEBUG
@@ -3305,13 +3306,15 @@
#undef CONFIG_HOSTCMD_PD
#endif
-/*
- * Power Average task only works when there's a battery to talk to.
- */
+/* Certain console cmds are irrelevant without parent modules. */
#ifndef CONFIG_BATTERY
#undef CONFIG_CMD_PWR_AVG
#endif
+#ifndef CONFIG_ADC
+#undef CONFIG_CMD_ADC
+#endif
+
/*****************************************************************************/
/*
* Apply test config overrides last, since tests need to override some of the