aboutsummaryrefslogtreecommitdiff
path: root/common/spl
diff options
context:
space:
mode:
authorSimon Glass2017-01-16 07:03:31 -0700
committerBin Meng2017-02-06 11:38:46 +0800
commit30bf8a0dae205862c2e8b28ba1bd0a379a4fac1f (patch)
treee1c222e709bf15f68572f96a61905151999e0f79 /common/spl
parent2446b6b8f7de28c8d54d920f14e7027e2e64f4ef (diff)
spl: Allow RTC drivers to be used in SPL
Add a new Kconfig option to allow RTC drivers to be used in SPL. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'common/spl')
-rw-r--r--common/spl/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index b7e316f0510..bdbab19d2da 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -484,6 +484,16 @@ config SPL_RAM_DEVICE
be already in memory when SPL takes over, e.g. loaded by the boot
ROM.
+config SPL_RTC_SUPPORT
+ bool "Support RTC drivers"
+ depends on SPL
+ help
+ Enable RTC (Real-time Clock) support in SPL. This includes support
+ for reading and setting the time. Some RTC devices also have some
+ non-volatile (battery-backed) memory which is accessible if
+ needed. This enables the drivers in drivers/rtc as part of an SPL
+ build.
+
config SPL_SATA_SUPPORT
bool "Support loading from SATA"
depends on SPL