diff options
author | Simon Glass <sjg@chromium.org> | 2021-03-28 17:29:27 +1300 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-04-03 03:50:20 +0000 |
commit | cee74879b587f36a1e6e910b98c100942eb59e40 (patch) | |
tree | 3964bef2f367612e0411618903ec05e16b987c00 /zephyr/Kconfig.battery | |
parent | 6020c0f31ac9866559523a8c88891e5e8b25284f (diff) | |
download | chrome-ec-cee74879b587f36a1e6e910b98c100942eb59e40.tar.gz |
zephyr: Support the amonbmon command
Add support for this debugging command in Zephyr.
BUG=b:183296099
BRANCH=none
TEST=build for lazor and check the various options in
in /tmp/z/trog/build-ro/zephyr/.config
Signed-off-by: Simon Glass <sjg@chromium.org>
Change-Id: I0849eaf2652e74751ffe938fa6696362bfa34d75
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2789802
Reviewed-by: Yuval Peress <peress@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Diffstat (limited to 'zephyr/Kconfig.battery')
-rw-r--r-- | zephyr/Kconfig.battery | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/zephyr/Kconfig.battery b/zephyr/Kconfig.battery index f58fad8731..3959f26aca 100644 --- a/zephyr/Kconfig.battery +++ b/zephyr/Kconfig.battery @@ -312,6 +312,14 @@ config PLATFORM_EC_CHARGE_RAMP_SW endchoice # "Charge-ramp method" +config PLATFORM_EC_CONSOLE_CMD_CHARGER_ADC_AMON_BMON + bool "Console command: amonbmon" + help + Enable the 'amonbmon' command. This shows the charger adapter-current + monitor (AMON) and battery-charging current monitor (BMON). + + amonbmon a | b + config PLATFORM_EC_CONSOLE_CMD_CHGRAMP bool "Console command: chgramp" depends on PLATFORM_EC_CHARGE_RAMP_SW |