diff options
author | Michał Barnaś <mb@semihalf.com> | 2022-10-11 16:00:54 +0200 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-01-05 18:43:00 +0000 |
commit | b60c51e844350eef8098470755153960db8cb838 (patch) | |
tree | 8ef39e083e136f4757538ca1d59282b445faf9be /zephyr/program/brya/prj.conf | |
parent | 7138b3cf00e8785a261c6b020c265c05e67306e8 (diff) | |
download | chrome-ec-b60c51e844350eef8098470755153960db8cb838.tar.gz |
zephyr: enable Kconfig based on the devicetree - battery
This commit adds automatic selection of required Kconfig options
based on the device tree nodes for module: battery
BUG=b:251812799
BRANCH=main
TEST=run twister and zcompare script
Change-Id: I99596c96e336d342b10465c79f464945f418e75b
Signed-off-by: Michał Barnaś <mb@semihalf.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3982643
Reviewed-by: Tristan Honscheid <honscheid@google.com>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Diffstat (limited to 'zephyr/program/brya/prj.conf')
-rw-r--r-- | zephyr/program/brya/prj.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/program/brya/prj.conf b/zephyr/program/brya/prj.conf index c50aa7f5f2..7c85394abf 100644 --- a/zephyr/program/brya/prj.conf +++ b/zephyr/program/brya/prj.conf @@ -91,7 +91,7 @@ CONFIG_PLATFORM_EC_CMD_BUTTON=n CONFIG_PLATFORM_EC_WORKAROUND_FLASH_DOWNLOAD_API=y # Battery -CONFIG_PLATFORM_EC_BATTERY_SMART=y +CONFIG_PLATFORM_EC_BATTERY_PRESENT_CUSTOM=y CONFIG_PLATFORM_EC_BATTERY_FUEL_GAUGE=y CONFIG_PLATFORM_EC_BATTERY_CUT_OFF=y CONFIG_PLATFORM_EC_BATTERY_HW_PRESENT_CUSTOM=y |