summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-04-30 00:56:53 -0600
committerTom Rini <trini@konsulko.com>2022-05-02 09:58:13 -0400
commit747093dd4089bdb2eccae90d7bccf33198e78eaa (patch)
treee36264b636aee2ab78fa2c91defc292e2151b8ed /drivers/rtc
parentf86ca5ad8f780d306e79d49ffe4f5cf1edef37b9 (diff)
downloadu-boot-747093dd4089bdb2eccae90d7bccf33198e78eaa.tar.gz
u-boot-747093dd4089bdb2eccae90d7bccf33198e78eaa.tar.bz2
u-boot-747093dd4089bdb2eccae90d7bccf33198e78eaa.zip
vpl: Add Kconfig options for VPL
Add VPL versions of commonly used Kconfig options. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 7a6c6efb4b..2396327192 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -32,6 +32,15 @@ config TPL_DM_RTC
drivers to perform the actual functions. See rtc.h for a
description of the API.
+config VPL_DM_RTC
+ bool "Enable Driver Model for RTC drivers in VPL"
+ depends on VPL_DM
+ help
+ Enable drver model for real-time-clock drivers. The RTC uclass
+ 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.
+
config RTC_ENABLE_32KHZ_OUTPUT
bool "Enable RTC 32Khz output"
help