summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-07-25 17:46:26 (GMT)
committerTom Rini <trini@konsulko.com>2015-08-13 00:47:44 (GMT)
commit0b11dbf705ee294ac5a9fe1aeda7b7f5537a8d72 (patch)
treed7c09acf7cf0bc6509b6c5b0ca40b1b20f3968d1 /drivers/rtc
parentc69abd801b3600252726948e0763b2b3c3fe9e19 (diff)
downloadu-boot-0b11dbf705ee294ac5a9fe1aeda7b7f5537a8d72.tar.xz
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/rtc')
-rw-r--r--drivers/rtc/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index bd63621..b5d9048 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -1,3 +1,9 @@
+#
+# RTC drivers configuration
+#
+
+menu "Real Time Clock"
+
config DM_RTC
bool "Enable Driver Model for RTC drivers"
depends on DM
@@ -6,3 +12,5 @@ config DM_RTC
then provides the rtc_get()/rtc_set() interface, delegating to
drivers to perform the actual functions. See rtc.h for a
description of the API.
+
+endmenu