diff options
author | Simon Glass <sjg@chromium.org> | 2015-04-20 12:37:24 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-05-05 20:58:39 -0600 |
commit | dd18e5d8441e12e4ed084dfe7400112851b807f8 (patch) | |
tree | 5da479ed00917a6f39fcef4a6d67f556f23a6de8 /lib/vsprintf.c | |
parent | dbeda5b2255089889788e0dd3478680feec86139 (diff) | |
download | talos-obmc-uboot-dd18e5d8441e12e4ed084dfe7400112851b807f8.tar.gz talos-obmc-uboot-dd18e5d8441e12e4ed084dfe7400112851b807f8.zip |
dm: rtc: sandbox: Add an emulated I2C RTC device
Add a sandbox I2C emulation device which emulates a real-time clock. The
clock works off an offset from the current system time, and supports setting
and getting the clock, as well as access to byte-width regisers in the RTC.
It does not support changing the system time.
This device can be used for testing the 'date' command on sandbox, as well
as the RTC uclass.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/vsprintf.c')
0 files changed, 0 insertions, 0 deletions