summaryrefslogtreecommitdiffstats
path: root/include/rtc.h
diff options
context:
space:
mode:
authorDetlev Zundel <dzu@denx.de>2009-03-30 00:31:33 +0200
committerWolfgang Denk <wd@denx.de>2009-03-30 09:39:46 +0200
commit04e11cf383ff6231535fd981023bb1306b2133d4 (patch)
treebbfb243286845a758ef3126a7a276149c0f56b5c /include/rtc.h
parent572e6179adb5447ff42ec2aa5cf3a26decf97583 (diff)
downloadblackbird-obmc-uboot-04e11cf383ff6231535fd981023bb1306b2133d4.tar.gz
blackbird-obmc-uboot-04e11cf383ff6231535fd981023bb1306b2133d4.zip
rtc: add support for 4543 RTC (manufactured by e.g. EPSON)
Signed-off-by: Detlev Zundel <dzu@denx.de> Signed-off-by: Andreas Pfefferle <ap@denx.de>
Diffstat (limited to 'include/rtc.h')
-rw-r--r--include/rtc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rtc.h b/include/rtc.h
index 785fbe3807..019c2ebb51 100644
--- a/include/rtc.h
+++ b/include/rtc.h
@@ -61,4 +61,8 @@ void to_tm (int, struct rtc_time *);
unsigned long mktime (unsigned int, unsigned int, unsigned int,
unsigned int, unsigned int, unsigned int);
+uchar rtc_read(uchar reg) __attribute__((weak));
+void rtc_write(uchar reg, uchar val) __attribute__((weak));
+
+
#endif /* _RTC_H_ */
OpenPOWER on IntegriCloud