summaryrefslogtreecommitdiff
path: root/common/spl
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-01-16 14:03:32 (GMT)
committerBin Meng <bmeng.cn@gmail.com>2017-02-06 03:38:46 (GMT)
commit4a6c81ff42fc19ca82e8acc9562c6e077b9d11f1 (patch)
tree85295ad979e87961ecd8b7917b079e21680201f1 /common/spl
parent30bf8a0dae205862c2e8b28ba1bd0a379a4fac1f (diff)
downloadu-boot-4a6c81ff42fc19ca82e8acc9562c6e077b9d11f1.tar.xz
spl: Allow timer drivers to be used in SPL
Add a new Kconfig option to allow timer 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/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index bdbab19..3e71817 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -537,6 +537,15 @@ config SPL_SPI_SUPPORT
enable SPI drivers that are needed for other purposes also, such
as a SPI PMIC.
+config SPL_TIMER_SUPPORT
+ bool "Support timer drivers"
+ depends on SPL
+ help
+ Enable support for timer drivers in SPL. These can be used to get
+ a timer value when in SPL, or perhaps for implementing a delay
+ function. This enables the drivers in drivers/timer as part of an
+ SPL build.
+
config SPL_USB_HOST_SUPPORT
bool "Support USB host drivers"
depends on SPL