Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | #ifndef _ASM_RTC_H | ||||
3 | #define _ASM_RTC_H | ||||
4 | |||||
5 | void time_init(void); | ||||
6 | extern void (*board_time_init)(void); | ||||
7 | extern void (*rtc_sh_get_time)(struct timespec *); | ||||
8 | extern int (*rtc_sh_set_time)(const time_t); | ||||
9 | |||||
10 | #define RTC_CAP_4_DIGIT_YEAR (1 << 0) | ||||
11 | |||||
12 | struct sh_rtc_platform_info { | ||||
13 | unsigned long capabilities; | ||||
14 | }; | ||||
15 | |||||
16 | #include <cpu/rtc.h> | ||||
17 | |||||
18 | #endif /* _ASM_RTC_H */ |