rtc: mc146818: Set up RTC at start of day
authorSimon Glass <sjg@chromium.org>
Sat, 15 Nov 2014 01:18:26 +0000 (18:18 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 25 Nov 2014 13:33:59 +0000 (06:33 -0700)
commitc6577f7219489725924c646a360dc2d50cc5402b
tree7a97241801bc02a20b21a3ce96e6ba18fd4cacb7
parenta6a957849a0ad20323156ef2439b490306bd5e35
rtc: mc146818: Set up RTC at start of day

Provide a function to set up the RTC ready for use.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/rtc/bfin_rtc.c
drivers/rtc/mc146818.c
include/rtc.h