
25 Nov
2014
25 Nov
'14
4:55 a.m.
On 24 November 2014 at 19:47, Simon Glass sjg@chromium.org wrote:
On 14 November 2014 at 20:37, Bin Meng bmeng.cn@gmail.com wrote:
On Sat, Nov 15, 2014 at 9:18 AM, Simon Glass sjg@chromium.org wrote:
Provide a function to set up the RTC ready for use.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v2:
- Drop the part of the commit message that talks about using build date
- Move CLEAR_CMOS up to the top, indicated to be manually changed
- Remove the parameter from rtc_init() and simplify the code
drivers/rtc/mc146818.c | 43 +++++++++++++++++++++++++++++++++++++++---- include/rtc.h | 5 +++++ 2 files changed, 44 insertions(+), 4 deletions(-)
Applied to u-boot-x86.
But with a small fix that I missed earlier - I had to remove 'static' from the definition in drivers/rtc/bfin_rtc since it conflicts, unfortunately.