summaryrefslogtreecommitdiff
path: root/board/oak
diff options
context:
space:
mode:
authorVijay Hiremath <vijay.p.hiremath@intel.com>2016-06-14 14:22:47 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-06-27 17:14:03 -0700
commitdcac93af41db6a28f49a02cb168b431ee9ffa2d3 (patch)
tree74faba19a180195898ec3b4f0724a41d5e3ff89f /board/oak
parent66b2f33e7dc929e64298f71707ce2f912b592129 (diff)
downloadchrome-ec-dcac93af41db6a28f49a02cb168b431ee9ffa2d3.tar.gz
BD99955: Added support for 'psys' & 'amonbmon' console commands
Added console commands for the debugging purpose psys - Can be used to measure the system power amonbmon - Can be used to measure AMON/BMON voltage diff, current BUG=chrome-os-partner:54273 BRANCH=none TEST=Manually tested on Amenia psys - Ran fish task and observed psys value changes. amonbmon - AMON & BMON voltage & current are same as measured across sense resistors. Change-Id: I6653e814d9b00efe7dae9ce1fbd7ddbc2356f8e0 Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/353043 Commit-Ready: Vijay P Hiremath <vijay.p.hiremath@intel.com> Tested-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board/oak')
-rw-r--r--board/oak/board.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/oak/board.h b/board/oak/board.h
index da022f48f0..dfc154f3cb 100644
--- a/board/oak/board.h
+++ b/board/oak/board.h
@@ -52,13 +52,14 @@
#define CONFIG_CHARGER_SENSE_RESISTOR_AC 20
#endif /* BOARD_REV */
-#define CONFIG_CHARGER_ADC_AMON_BMON
#define CONFIG_CHARGER_DISCHARGE_ON_AC
#define CONFIG_CHARGER_V2
#define CONFIG_CHIPSET_MEDIATEK
#define CONFIG_CMD_TYPEC
#define CONFIG_EXTPOWER_GPIO
#define CONFIG_FORCE_CONSOLE_RESUME
+#define CONFIG_CMD_CHARGER_ADC_AMON_BMON
+
/*
* EC_WAKE: PA0 - WKUP1
* POWER_BUTTON_L: PB5 - WKUP6