mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-04 04:57:47 +01:00
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>
|
||
|---|---|---|
| .. | ||
| bfin_rtc.c | ||
| date.c | ||
| ds164x.c | ||
| ds174x.c | ||
| ds1302.c | ||
| ds1306.c | ||
| ds1307.c | ||
| ds1337.c | ||
| ds1374.c | ||
| ds1556.c | ||
| ds3231.c | ||
| ds12887.c | ||
| isl1208.c | ||
| m41t11.c | ||
| m41t60.c | ||
| m41t62.c | ||
| m48t35ax.c | ||
| Makefile | ||
| max6900.c | ||
| mc146818.c | ||
| mcfrtc.c | ||
| mk48t59.c | ||
| mpc5xxx.c | ||
| mpc8xx.c | ||
| pcf8563.c | ||
| rs5c372.c | ||
| rx8025.c | ||
| s3c24x0_rtc.c | ||
| x1205.c | ||