diff options
author | Keith Short <keithshort@chromium.org> | 2023-05-09 09:24:04 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-05-09 21:44:14 +0000 |
commit | 24d911de09145dcb98644e811b1cdcbf1d3f1e85 (patch) | |
tree | 1ab233380b6ddce617c9db380c845425bcdd9856 /zephyr | |
parent | a291065141bd97c6f9bbc433228a4671600e7822 (diff) | |
download | chrome-ec-24d911de09145dcb98644e811b1cdcbf1d3f1e85.tar.gz |
zephyr: mtlrvp: Enable VBUS_MEASURE_CHARGER option
The legacy config.h silently enables using the charger to measure VBUS
when a compatible charger is enabled. Explicitly enable
CONFIG_PLATFORM_EC_USB_PD_VBUS_MEASURE_CHARGER to remove the hidden
dependency on config.h
BUG=none
TEST=zmake compare-builds mtlrvpp_mchp mtlrvpp_npcx
Change-Id: I34d49c09506eefa506304fee404bb699f7c655e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4518121
Auto-Submit: Keith Short <keithshort@chromium.org>
Tested-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Commit-Queue: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'zephyr')
-rw-r--r-- | zephyr/program/intelrvp/mtlrvp/prj.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/program/intelrvp/mtlrvp/prj.conf b/zephyr/program/intelrvp/mtlrvp/prj.conf index ccc27e04f7..8fe89d712a 100644 --- a/zephyr/program/intelrvp/mtlrvp/prj.conf +++ b/zephyr/program/intelrvp/mtlrvp/prj.conf @@ -46,6 +46,7 @@ CONFIG_PLATFORM_EC_USBC_PPC=y CONFIG_PLATFORM_EC_USB_PD_PPC=y CONFIG_PLATFORM_EC_USB_PD_VBUS_DETECT_PPC=y CONFIG_PLATFORM_EC_USB_PD_VBUS_DETECT_TCPC=y +CONFIG_PLATFORM_EC_USB_PD_VBUS_MEASURE_CHARGER=y CONFIG_PLATFORM_EC_USB_PD_DISCHARGE_PPC=y CONFIG_PLATFORM_EC_USB_PD_DISCHARGE_TCPC=y CONFIG_PLATFORM_EC_USB_PD_TCPC_LOW_POWER=y |