[Feature][ZXW-241]merge P56U01 version
Only Configure: No
Affected branch: master
Affected module: unknow
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No
Change-Id: I7985538dde6951dd824c36149bf9a1e3ca23c734
diff --git a/boot/common/src/uboot/include/zx234290.h b/boot/common/src/uboot/include/zx234290.h
index 2c0853f..d0dc5a7 100755
--- a/boot/common/src/uboot/include/zx234290.h
+++ b/boot/common/src/uboot/include/zx234290.h
@@ -60,6 +60,15 @@
#define ZX234297_REG_ADDR_SINK_CONTROL 0X29
#define ZX234290_REG_RTC_CONTROL2 0x31
+
+/*RTC ALARM Enable*/
+#define ZX234290_REG_ADDR_ALARM_MINUTE 0x39
+#define ZX234290_REG_ADDR_ALARM_HOUR 0x3A
+#define ZX234290_REG_ADDR_ALARM_DAY 0x3B
+#define ZX234290_REG_ADDR_ALARM_WEEK 0x3C
+#define ZX234290_REG_ADDR_ALARM_SECOND 0x3D
+#define ZX234290_RTC_AlARM_ACTIVATED_LSH (7)
+
#define RTC_CONTROL2_TIE (1 << 0)
#define RTC_CONTROL2_AIE (1 << 1)
#define RTC_CONTROL2_TF (1 << 2)