]> git.sur5r.net Git - u-boot/commit
dm: rtc: sandbox: Add a driver for the sandbox I2C RTC
authorSimon Glass <sjg@chromium.org>
Mon, 20 Apr 2015 18:37:25 +0000 (12:37 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 6 May 2015 02:58:40 +0000 (20:58 -0600)
commit5871416640a5ef93ccdfaf391dc6321c5fc2f50a
tree7e43decee7a706b0afa01871bafefb60a80920e5
parentdd18e5d8441e12e4ed084dfe7400112851b807f8
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>
drivers/rtc/Makefile
drivers/rtc/sandbox_rtc.c [new file with mode: 0644]