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/glados | |
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/glados')
-rw-r--r-- | board/glados/board.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/glados/board.h b/board/glados/board.h index dbe1fd614c..498fd45a04 100644 --- a/board/glados/board.h +++ b/board/glados/board.h @@ -31,7 +31,6 @@ #define CONFIG_CHARGER #define CONFIG_CHARGER_V2 -#define CONFIG_CHARGER_ADC_AMON_BMON #define CONFIG_CHARGER_DISCHARGE_ON_AC #define CONFIG_CHARGER_ISL9237 #define CONFIG_CHARGER_ILIM_PIN_DISABLED @@ -41,6 +40,7 @@ #define CONFIG_CHARGER_PROFILE_OVERRIDE #define CONFIG_CHARGER_SENSE_RESISTOR 10 #define CONFIG_CHARGER_SENSE_RESISTOR_AC 20 +#define CONFIG_CMD_CHARGER_ADC_AMON_BMON #define CONFIG_CHIPSET_SKYLAKE #define CONFIG_CHIPSET_RESET_HOOK |