summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.battery
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-12-29 09:26:04 -0700
committerCommit Bot <commit-bot@chromium.org>2020-12-30 21:58:10 +0000
commit1b6965649a91fdcd150dabdd306584ce469126ac (patch)
tree0bf007ca646441f80997b725fd39436080f0f060 /zephyr/Kconfig.battery
parentc1834d87f64c06760905656ac01ac4585a96ee07 (diff)
downloadchrome-ec-1b6965649a91fdcd150dabdd306584ce469126ac.tar.gz
zephyr: Convert the sub-Kconfig files into menus
Use a menu for each of these since it produces a tidier top-level view for the EC. Put the function as the first word to make it easier to follow. For battery and USB-C, use menuconfig so that it works the same way as power sequencing. BUG=b:176449230 BRANCH=none TEST=ninja -C /tmp/z/vol/build-ro menuconfig See that the menus appear Signed-off-by: Simon Glass <sjg@chromium.org> Change-Id: I57e58f94aeaa0783ca69b0c948b7760c2e42adbf Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2606571 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.battery')
-rw-r--r--zephyr/Kconfig.battery4
1 files changed, 2 insertions, 2 deletions
diff --git a/zephyr/Kconfig.battery b/zephyr/Kconfig.battery
index c81001dd93..acaa994175 100644
--- a/zephyr/Kconfig.battery
+++ b/zephyr/Kconfig.battery
@@ -2,8 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-config PLATFORM_EC_BATTERY
- bool "Support batteries"
+menuconfig PLATFORM_EC_BATTERY
+ bool "Battery support"
help
Enables battery support on the board. Requires selection of a battery
and a charger IC.