summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/Kconfig
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/rtc/Kconfig
parentc69abd801b3600252726948e0763b2b3c3fe9e19 (diff)
downloadblackbird-obmc-uboot-0b11dbf705ee294ac5a9fe1aeda7b7f5537a8d72.tar.gz
blackbird-obmc-uboot-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/rtc/Kconfig')
-rw-r--r--drivers/rtc/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index bd63621e37..b5d9048ad6 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
OpenPOWER on IntegriCloud