diff options
author | Vijay Hiremath <vijay.p.hiremath@intel.com> | 2016-06-14 14:22:47 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-06-27 17:14:03 -0700 |
commit | dcac93af41db6a28f49a02cb168b431ee9ffa2d3 (patch) | |
tree | 74faba19a180195898ec3b4f0724a41d5e3ff89f /board/elm/board.h | |
parent | 66b2f33e7dc929e64298f71707ce2f912b592129 (diff) | |
download | chrome-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/elm/board.h')
-rw-r--r-- | board/elm/board.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/elm/board.h b/board/elm/board.h index b30c05b04a..7ba5a5c443 100644 --- a/board/elm/board.h +++ b/board/elm/board.h @@ -41,7 +41,6 @@ #define CONFIG_CHARGER_NARROW_VDC #define CONFIG_CHARGER_SENSE_RESISTOR 10 #define CONFIG_CHARGER_SENSE_RESISTOR_AC 20 -#define CONFIG_CHARGER_ADC_AMON_BMON #define CONFIG_CHARGER_DISCHARGE_ON_AC #define CONFIG_CHARGER_V2 #define CONFIG_CHIPSET_MEDIATEK @@ -110,6 +109,7 @@ #define CONFIG_USB_SWITCH_PI3USB9281_CHIP_COUNT 1 /* Optional features */ +#define CONFIG_CMD_CHARGER_ADC_AMON_BMON #define CONFIG_CMD_HOSTCMD #define CONFIG_CMD_I2C_PROTECT #define CONFIG_CMD_PD_CONTROL |