From 1b6965649a91fdcd150dabdd306584ce469126ac Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Tue, 29 Dec 2020 09:26:04 -0700 Subject: 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 Change-Id: I57e58f94aeaa0783ca69b0c948b7760c2e42adbf Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2606571 Reviewed-by: Keith Short --- zephyr/Kconfig.battery | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zephyr/Kconfig.battery') 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. -- cgit v1.2.1