diff options
author | Detlev Zundel <dzu@denx.de> | 2009-03-29 22:31:33 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-03-30 07:39:46 (GMT) |
commit | 04e11cf383ff6231535fd981023bb1306b2133d4 (patch) | |
tree | bbfb243286845a758ef3126a7a276149c0f56b5c /include | |
parent | 572e6179adb5447ff42ec2aa5cf3a26decf97583 (diff) | |
download | u-boot-04e11cf383ff6231535fd981023bb1306b2133d4.tar.xz |
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')
-rw-r--r-- | include/rtc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rtc.h b/include/rtc.h index 785fbe3..019c2eb 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_ */ |