summaryrefslogtreecommitdiff
path: root/drivers/led
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-07-26 02:46:26 +0900
committerTom Rini <trini@konsulko.com>2015-08-12 20:47:44 -0400
commit0b11dbf705ee294ac5a9fe1aeda7b7f5537a8d72 (patch)
treed7c09acf7cf0bc6509b6c5b0ca40b1b20f3968d1 /drivers/led
parentc69abd801b3600252726948e0763b2b3c3fe9e19 (diff)
downloadu-boot-0b11dbf705ee294ac5a9fe1aeda7b7f5537a8d72.tar.gz
u-boot-0b11dbf705ee294ac5a9fe1aeda7b7f5537a8d72.tar.bz2
u-boot-0b11dbf705ee294ac5a9fe1aeda7b7f5537a8d72.zip
drivers: hierarchize drivers Kconfig menu
The menuconfig for drivers are getting more and more cluttered and unreadable because too many entries are displayed in a single flat menu. Use hierarchic menu for each category. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org> [trini: Update to apply again in a few places, drop USB hunk] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/led')
-rw-r--r--drivers/led/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/led/Kconfig b/drivers/led/Kconfig
index de5feea8dd..b21bc94748 100644
--- a/drivers/led/Kconfig
+++ b/drivers/led/Kconfig
@@ -1,3 +1,5 @@
+menu "LED Support"
+
config LED
bool "Enable LED support"
depends on DM
@@ -24,3 +26,5 @@ config LED_GPIO
GPIOs may be on the SoC or some other device which provides GPIOs.
The GPIO driver must used driver model. LEDs are configured using
the device tree.
+
+endmenu