summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRong Chang <rongchang@chromium.org>2013-07-25 09:44:46 -0700
committerChromeBot <chrome-bot@google.com>2013-07-29 11:07:31 -0700
commitbf71082456ab63fd6f7c849e722bedc878b2b98c (patch)
treeee226c0e6eea2931708d1279f5f2736a59dbfa74 /include
parent1b4c5cf71e01ea89af8353eab5e4a62af6d3e894 (diff)
downloadchrome-ec-bf71082456ab63fd6f7c849e722bedc878b2b98c.tar.gz
Add PMU powerinfo host command and console command
Before this change, powerinfo host command supports only one target with USB charging. This change adds a common powerinfo host command and console command for TPSChrome based targets. BRANCH=None BUG=chrome-os-partner:20326 TEST=manual build and flash pit target, check console command 'powerinfo'. check ectool powerinfo with and without AC adapter. Change-Id: I2cfd8dfa011e23f819c6bae19cf22b4a7343f044 Signed-off-by: Rong Chang <rongchang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/63350 Reviewed-by: Vic Yang <victoryang@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index f0a0f08614..635c47f9b3 100644
--- a/include/config.h
+++ b/include/config.h
@@ -422,6 +422,9 @@
/* Compile support for TPS65090 PMU */
#undef CONFIG_PMU_TPS65090
+/* Compile support for PMU powerinfo host command */
+#undef CONFIG_PMU_POWERINFO
+
/*****************************************************************************/
/* Compile common code to support power button debouncing */