import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / mach-mt8127 / tpw8127_c_mlc / rtc / rtc-mt.h
1 /*
2 * Copyright (C) 2010 MediaTek, Inc.
3 *
4 * Author: Terry Chang <terry.chang@mediatek.com>
5 *
6 * This software is licensed under the terms of the GNU General Public
7 * License version 2, as published by the Free Software Foundation, and
8 * may be copied, distributed, and modified under those terms.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 */
16
17 #ifndef _RTC_MT_H_
18 #define _RTC_MT_H_
19
20 #define RTC_YES 1
21 #define RTC_NO 0
22
23 /*
24 * Reset to default date if RTC time is over 2038/1/19 3:14:7
25 * Year (YEA) : 1970 ~ 2037
26 * Month (MTH) : 1 ~ 12
27 * Day of Month (DOM): 1 ~ 31
28 */
29 #define RTC_OVER_TIME_RESET RTC_YES
30 #define RTC_DEFAULT_YEA 2010
31 #define RTC_DEFAULT_MTH 1
32 #define RTC_DEFAULT_DOM 1
33
34 #endif