import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / mach-mt8127 / kr076_nand / rtc / rtc-mt.h
diff --git a/arch/arm/mach-mt8127/kr076_nand/rtc/rtc-mt.h b/arch/arm/mach-mt8127/kr076_nand/rtc/rtc-mt.h
new file mode 100644 (file)
index 0000000..dfcd287
--- /dev/null
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2010 MediaTek, Inc.
+ *
+ * Author: Terry Chang <terry.chang@mediatek.com>
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
+ * may be copied, distributed, and modified under those terms.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ */
+
+#ifndef _RTC_MT_H_
+#define _RTC_MT_H_
+
+#define RTC_YES                1
+#define RTC_NO         0
+
+/*
+ * Reset to default date if RTC time is over 2038/1/19 3:14:7
+ * Year (YEA)        : 1970 ~ 2037
+ * Month (MTH)       : 1 ~ 12
+ * Day of Month (DOM): 1 ~ 31
+ */
+#define RTC_OVER_TIME_RESET    RTC_YES
+#define RTC_DEFAULT_YEA                2010
+#define RTC_DEFAULT_MTH                1
+#define RTC_DEFAULT_DOM                1
+
+#endif