summaryrefslogtreecommitdiff
path: root/zephyr
diff options
context:
space:
mode:
authorAaron Massey <aaronmassey@google.com>2022-04-07 12:36:49 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-04-07 20:14:43 +0000
commit9f8be12fa56214ee549da02f87d0887cbe123ef6 (patch)
tree58f9ef8503aae489aa5d8b84e6532536a8bd497d /zephyr
parent272b89865d0d98414f4cbdad3ee83c8c36d96549 (diff)
downloadchrome-ec-9f8be12fa56214ee549da02f87d0887cbe123ef6.tar.gz
zephyr: Fix Kconfig.charger charge_state_v2 help
The menuconfig PLATFORM_EC_CHARGER help section implies that enabling the PLATFORM_EC_CHARGER option compiles charge_state_v2 code. Correct the help text to move "enables compilation of charge_state_v2 code" to the appropriate Kconfig sub-option. BRANCH=none BUG=b:216366887 TEST=zmake testall Signed-off-by: Aaron Massey <aaronmassey@google.com> Change-Id: I740990525f6b05da9e68293b0a09e27c21e62871 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3576665 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'zephyr')
-rw-r--r--zephyr/Kconfig.charger6
1 files changed, 3 insertions, 3 deletions
diff --git a/zephyr/Kconfig.charger b/zephyr/Kconfig.charger
index 232e3030df..8b1b15d4ff 100644
--- a/zephyr/Kconfig.charger
+++ b/zephyr/Kconfig.charger
@@ -9,8 +9,7 @@ menuconfig PLATFORM_EC_CHARGER
select PLATFORM_EC_EXTPOWER
depends on PLATFORM_EC_BATTERY
help
- Enable the EC charging task. This enables compilation of the
- charge_state_v2 code.
+ Enable the EC charging task.
if PLATFORM_EC_CHARGER
@@ -57,7 +56,8 @@ config PLATFORM_EC_CHARGE_MANAGER
barrel jack connector), BC1.2 (Battery Charging 1.2) sources, and
USB-C sources. When multiple charge sources are connected to a
Chromebook simultaneously, the charge manager is responsible for
- picking the best source.
+ picking the best source. This also enables compilation of the
+ charge_state_v2 code.
Note that the charge manager assumes that at least one USB-C power
source is available on the hardware, so cannot be built without