blob: 25b1e6adfe8ca938a410fd7bea8b93f1f6c1aad8 [file] [log] [blame]
Paul Mundtc019fd82007-11-28 19:14:23 +09001#ifndef __ASM_SH_CPU_SH4_RTC_H
2#define __ASM_SH_CPU_SH4_RTC_H
3
Paul Mundt178dd0c2008-04-09 17:56:18 +09004#ifdef CONFIG_CPU_SUBTYPE_SH7723
5#define rtc_reg_size sizeof(u16)
6#else
Paul Mundtc019fd82007-11-28 19:14:23 +09007#define rtc_reg_size sizeof(u32)
Paul Mundt178dd0c2008-04-09 17:56:18 +09008#endif
9
Paul Mundtc019fd82007-11-28 19:14:23 +090010#define RTC_BIT_INVERTED 0x40 /* bug on SH7750, SH7750S */
11#define RTC_DEF_CAPABILITIES RTC_CAP_4_DIGIT_YEAR
12
13#endif /* __ASM_SH_CPU_SH4_RTC_H */