Skip to content
Snippets Groups Projects
Commit 4a6c81ff authored by Simon Glass's avatar Simon Glass Committed by Bin Meng
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 30bf8a0d
No related branches found
No related tags found
No related merge requests found
...@@ -537,6 +537,15 @@ config SPL_SPI_SUPPORT ...@@ -537,6 +537,15 @@ config SPL_SPI_SUPPORT
enable SPI drivers that are needed for other purposes also, such enable SPI drivers that are needed for other purposes also, such
as a SPI PMIC. 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 config SPL_USB_HOST_SUPPORT
bool "Support USB host drivers" bool "Support USB host drivers"
depends on SPL depends on SPL
......
...@@ -35,6 +35,7 @@ obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/ ...@@ -35,6 +35,7 @@ obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/
obj-$(CONFIG_SPL_USBETH_SUPPORT) += net/phy/ obj-$(CONFIG_SPL_USBETH_SUPPORT) += net/phy/
obj-$(CONFIG_SPL_PCI_SUPPORT) += pci/ obj-$(CONFIG_SPL_PCI_SUPPORT) += pci/
obj-$(CONFIG_SPL_RTC_SUPPORT) += rtc/ obj-$(CONFIG_SPL_RTC_SUPPORT) += rtc/
obj-$(CONFIG_SPL_TIMER_SUPPORT) += timer/
obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/ obj-$(CONFIG_SPL_MUSB_NEW_SUPPORT) += usb/musb-new/
obj-$(CONFIG_SPL_USB_GADGET_SUPPORT) += usb/gadget/ obj-$(CONFIG_SPL_USB_GADGET_SUPPORT) += usb/gadget/
obj-$(CONFIG_SPL_USB_GADGET_SUPPORT) += usb/gadget/udc/ obj-$(CONFIG_SPL_USB_GADGET_SUPPORT) += usb/gadget/udc/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment