[Feature][task-view-998]merge P56U10 version, ZXW code
Only Configure: No
Affected branch: master
Affected module: unknow
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: No
Doc Update: No
Change-Id: I466f2ab935c5ede0be1803c75518b2cc4f939c15
diff --git a/boot/common/src/uboot/drivers/power/zx234290.c b/boot/common/src/uboot/drivers/power/zx234290.c
index 6e82f81..fbd0f9a 100755
--- a/boot/common/src/uboot/drivers/power/zx234290.c
+++ b/boot/common/src/uboot/drivers/power/zx234290.c
@@ -280,6 +280,7 @@
switch (reg_user)
{
case ZX234290_USER_RST_TO_NORMAL:
+ case ZX234290_USER_RST_TO_EXCEPT:
{
s_boot_reason = RB_RESET_NOMAL;
return 0;
@@ -289,13 +290,13 @@
{
s_boot_reason = RB_RESET_USB_OFF;
return 0;
- }
+ }
case ZX234290_USER_RST_TO_ALARM:
- {
+ {
s_boot_reason = RB_RESET_ALARM;
return 0;
- }
+ }
/* ZX234290_REG_USERΪÉϵ縴λֵ»ò·Ç·¨Öµ */
default: