diff options
author | Simon Glass <sjg@chromium.org> | 2015-04-20 12:37:25 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-05-05 20:58:40 -0600 |
commit | 5871416640a5ef93ccdfaf391dc6321c5fc2f50a (patch) | |
tree | 7e43decee7a706b0afa01871bafefb60a80920e5 /drivers/rtc/Makefile | |
parent | dd18e5d8441e12e4ed084dfe7400112851b807f8 (diff) | |
download | u-boot-imx-5871416640a5ef93ccdfaf391dc6321c5fc2f50a.zip u-boot-imx-5871416640a5ef93ccdfaf391dc6321c5fc2f50a.tar.gz u-boot-imx-5871416640a5ef93ccdfaf391dc6321c5fc2f50a.tar.bz2 |
dm: rtc: sandbox: Add a driver for the sandbox I2C RTC
Add a driver which communicates with the sandbox I2C emulation RTC device
and permits it to be used in U-Boot. This driver is very simple - it just
reads and writes selected I2C registers in the device.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/rtc/Makefile')
-rw-r--r-- | drivers/rtc/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile index aeb705a..9077bb3 100644 --- a/drivers/rtc/Makefile +++ b/drivers/rtc/Makefile @@ -52,4 +52,7 @@ obj-$(CONFIG_RTC_RTC4543) += rtc4543.o obj-$(CONFIG_RTC_RV3029) += rv3029.o obj-$(CONFIG_RTC_RX8025) += rx8025.o obj-$(CONFIG_RTC_S3C24X0) += s3c24x0_rtc.o +ifdef CONFIG_DM_RTC +obj-$(CONFIG_SANDBOX) += sandbox_rtc.o +endif obj-$(CONFIG_RTC_X1205) += x1205.o |