diff options
author | Detlev Zundel <dzu@denx.de> | 2009-03-30 00:31:33 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-03-30 09:39:46 +0200 |
commit | 04e11cf383ff6231535fd981023bb1306b2133d4 (patch) | |
tree | bbfb243286845a758ef3126a7a276149c0f56b5c /include | |
parent | 572e6179adb5447ff42ec2aa5cf3a26decf97583 (diff) |
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 785fbe38079..019c2ebb518 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_ */ |