From 04e11cf383ff6231535fd981023bb1306b2133d4 Mon Sep 17 00:00:00 2001 From: Detlev Zundel Date: Mon, 30 Mar 2009 00:31:33 +0200 Subject: rtc: add support for 4543 RTC (manufactured by e.g. EPSON) Signed-off-by: Detlev Zundel Signed-off-by: Andreas Pfefferle --- include/rtc.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/rtc.h') 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_ */ -- cgit v1.2.3