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 /include | |
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 'include')
-rw-r--r-- | include/config.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/config.h b/include/config.h index df6ddcde4e..5ffd9f84e7 100644 --- a/include/config.h +++ b/include/config.h @@ -337,9 +337,6 @@ #undef CONFIG_CHARGER_V1 #undef CONFIG_CHARGER_V2 -/* Enable charger AMON_BMON ADC current detection */ -#undef CONFIG_CHARGER_ADC_AMON_BMON - /* Compile charger-specific code for these chargers (pick at most one) */ #undef CONFIG_CHARGER_BD99955 #undef CONFIG_CHARGER_BQ24707A @@ -528,6 +525,8 @@ #undef CONFIG_CMD_BATDEBUG #define CONFIG_CMD_BATTFAKE #define CONFIG_CMD_CHARGER +#undef CONFIG_CMD_CHARGER_ADC_AMON_BMON +#undef CONFIG_CMD_CHARGER_PSYS #define CONFIG_CMD_CHARGE_SUPPLIER_INFO #undef CONFIG_CMD_CHGRAMP #undef CONFIG_CMD_CLOCKGATES @@ -564,7 +563,6 @@ #define CONFIG_CMD_POWER_AP #define CONFIG_CMD_POWERINDEBUG #undef CONFIG_CMD_POWERLED -#undef CONFIG_CMD_PSYS #undef CONFIG_CMD_RTC_ALARM #undef CONFIG_CMD_SCRATCHPAD #define CONFIG_CMD_SHMEM |