uboot/drivers/rtc
Benoît Thébaudeau df930e9b3c rtc: pcf8563: Make century compatible with Linux
This driver uses the century bit of this RTC in the opposite way Linux does.
From Linux's rtc-pcf8563.c:
	/*
	 * The meaning of MO_C bit varies by the chip type.
	 * From PCF8563 datasheet: this bit is toggled when the years
	 * register overflows from 99 to 00
	 *   0 indicates the century is 20xx
	 *   1 indicates the century is 19xx
	 * From RTC8564 datasheet: this bit indicates change of
	 * century. When the year digit data overflows from 99 to 00,
	 * this bit is set. By presetting it to 0 while still in the
	 * 20th century, it will be set in year 2000, ...
	 * There seems no reliable way to know how the system use this
	 * bit.  So let's do it heuristically, assuming we are live in
	 * 1970...2069.
	 */

As U-Boot's PCF8563 driver does not say it is supposed to support the RTC8564,
make this driver compatible with Linux's by giving the opposite meaning to the
century bit.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Wolfgang Denk <wd@denx.de>
2012-09-02 17:31:00 +02:00
..
Makefile rtc: add support of mx27 rtc 2012-09-01 14:58:25 +02:00
at91sam9_rtt.c
bfin_rtc.c
date.c
davinci.c
ds164x.c
ds174x.c
ds1302.c
ds1306.c
ds1307.c
ds1337.c
ds1374.c
ds1556.c
ds3231.c
ds12887.c
ftrtc010.c
imxdi.c rtc: imxdi: Initial support 2012-09-01 14:58:18 +02:00
isl1208.c
m41t11.c
m41t60.c
m41t62.c
m41t94.c
m48t35ax.c
max6900.c
mc13xxx-rtc.c
mc146818.c
mcfrtc.c
mk48t59.c
mpc5xxx.c
mpc8xx.c
mvrtc.c
mvrtc.h
mx27rtc.c rtc: add support of mx27 rtc 2012-09-01 14:58:25 +02:00
mxsrtc.c mxs: Convert sys_proto.h prefixes to 'mxs' 2012-09-01 14:58:25 +02:00
pcf8563.c rtc: pcf8563: Make century compatible with Linux 2012-09-02 17:31:00 +02:00
pl031.c
pt7c4338.c
rs5c372.c
rtc4543.c
rv3029.c
rx8025.c
s3c24x0_rtc.c
s3c44b0_rtc.c
x1205.c