mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
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>
This commit is contained in:
parent
2446b6b8f7
commit
30bf8a0dae
2 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -34,6 +34,7 @@ obj-$(CONFIG_SPL_ETH_SUPPORT) += net/
|
|||
obj-$(CONFIG_SPL_ETH_SUPPORT) += net/phy/
|
||||
obj-$(CONFIG_SPL_USBETH_SUPPORT) += net/phy/
|
||||
obj-$(CONFIG_SPL_PCI_SUPPORT) += pci/
|
||||
obj-$(CONFIG_SPL_RTC_SUPPORT) += rtc/
|
||||
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/udc/
|
||||
|
|
Loading…
Add table
Reference in a new issue