mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
rtc: mc146818: Set up RTC at start of day
Provide a function to set up the RTC ready for use. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
@@ -50,4 +50,9 @@ void to_tm (int, struct rtc_time *);
|
||||
unsigned long mktime (unsigned int, unsigned int, unsigned int,
|
||||
unsigned int, unsigned int, unsigned int);
|
||||
|
||||
/**
|
||||
* rtc_init() - Set up the real time clock ready for use
|
||||
*/
|
||||
void rtc_init(void);
|
||||
|
||||
#endif /* _RTC_H_ */
|
||||
|
Reference in New Issue
Block a user