summaryrefslogtreecommitdiff
path: root/drivers/rtc/ds1302.c
AgeCommit message (Collapse)AuthorFilesLines
2008-09-07rtc: allow rtc_set to return an error and use it in cmd_dateJean-Christophe PLAGNIOL-VILLARD1-2/+3
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-08-18rtc: Clean drivers/rtc/MakefileMichal Simek1-1/+1
Signed-off-by: Michal Simek <monstr@monstr.eu>
2008-05-21Big white-space cleanup.Wolfgang Denk1-2/+2
This commit gets rid of a huge amount of silly white-space issues. Especially, all sequences of SPACEs followed by TAB characters get removed (unless they appear in print statements). Also remove all embedded "vim:" and "vi:" statements which hide indentation problems. Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-03-20LWMON5: POST RTC fixYuri Tikhonov1-1/+5
Modify the RTC API to provide one a status for the time reported by the rtc_get() function: 0 - a reliable time is guaranteed, < 0 - a reliable time isn't guaranteed (power fault, clock issues, and so on). The RTC chip drivers are responsible for providing this info if the corresponding chip supports such functionality. If not - always report that the time is reliable. The POST RTC test was modified to detect the RTC faults utilizing this new rtc_get() feature. Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
2007-11-25drivers/rtc : move rtc drivers to drivers/rtcJean-Christophe PLAGNIOL-VILLARD1-0/+327
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>