| Paul Mundt | c019fd8 | 2007-11-28 19:14:23 +0900 | [diff] [blame] | 1 | #ifndef __ASM_SH_CPU_SH4_RTC_H | 
|  | 2 | #define __ASM_SH_CPU_SH4_RTC_H | 
|  | 3 |  | 
| Paul Mundt | 178dd0c | 2008-04-09 17:56:18 +0900 | [diff] [blame] | 4 | #ifdef CONFIG_CPU_SUBTYPE_SH7723 | 
|  | 5 | #define rtc_reg_size		sizeof(u16) | 
|  | 6 | #else | 
| Paul Mundt | c019fd8 | 2007-11-28 19:14:23 +0900 | [diff] [blame] | 7 | #define rtc_reg_size		sizeof(u32) | 
| Paul Mundt | 178dd0c | 2008-04-09 17:56:18 +0900 | [diff] [blame] | 8 | #endif | 
|  | 9 |  | 
| Paul Mundt | c019fd8 | 2007-11-28 19:14:23 +0900 | [diff] [blame] | 10 | #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 */ |