summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/Makefile
diff options
context:
space:
mode:
authorLarry Johnson <lrj@arlinx.com>2007-12-22 15:14:00 -0500
committerStefan Roese <sr@denx.de>2007-12-27 19:35:35 +0100
commit12618278688ea9b3d76536960a5ad2e3790fac40 (patch)
treeaadc5e053acaa4592b8fa700c3e95484b3c33e36 /drivers/rtc/Makefile
parentd3471173e14b7544bb60339eda8d3d3906694b0a (diff)
downloadblackbird-obmc-uboot-12618278688ea9b3d76536960a5ad2e3790fac40.tar.gz
blackbird-obmc-uboot-12618278688ea9b3d76536960a5ad2e3790fac40.zip
Add driver for STMicroelectronics M41T60 RTC
This driver is based on the driver for the M41T11. In the intended application, the RTC will be powered by a large capacitor, rather than a battery. The driver therefore checks to see whether the RTC has lost power. The chip's OUT bit is normally reset from its power-up state. If the OUT bit is read as set, or if the date and time are not valid, then the RTC is assumed to have lost power, and its date and time are reset to 1900-01-01 00:00:00. Support for adjusting the speed of the clock to improve accuracy is provided through an environment variable. Signed-off-by: Larry Johnson <lrj@acm.org>
Diffstat (limited to 'drivers/rtc/Makefile')
-rw-r--r--drivers/rtc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile
index 1d6016ef87..e5ee611350 100644
--- a/drivers/rtc/Makefile
+++ b/drivers/rtc/Makefile
@@ -40,6 +40,7 @@ COBJS-y += ds164x.o
COBJS-y += ds174x.o
COBJS-y += ds3231.o
COBJS-y += m41t11.o
+COBJS-y += m41t60.o
COBJS-y += max6900.o
COBJS-y += m48t35ax.o
COBJS-y += mc146818.o
OpenPOWER on IntegriCloud