[U-Boot] [PATCH v2 08/30] rtc: mc146818: Set up RTC at start of day

Simon Glass sjg at chromium.org
Tue Nov 25 04:55:06 CET 2014


On 24 November 2014 at 19:47, Simon Glass <sjg at chromium.org> wrote:
> On 14 November 2014 at 20:37, Bin Meng <bmeng.cn at gmail.com> wrote:
>> On Sat, Nov 15, 2014 at 9:18 AM, Simon Glass <sjg at chromium.org> wrote:
>>> Provide a function to set up the RTC ready for use.
>>>
>>> Signed-off-by: Simon Glass <sjg at 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.


More information about the U-Boot mailing list