diff options
Diffstat (limited to 'PandaBoardPkg/Library/ResetSystemLib/ResetSystemLib.c')
-rw-r--r-- | PandaBoardPkg/Library/ResetSystemLib/ResetSystemLib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/PandaBoardPkg/Library/ResetSystemLib/ResetSystemLib.c b/PandaBoardPkg/Library/ResetSystemLib/ResetSystemLib.c index 79a51e13..fa0877a5 100644 --- a/PandaBoardPkg/Library/ResetSystemLib/ResetSystemLib.c +++ b/PandaBoardPkg/Library/ResetSystemLib/ResetSystemLib.c @@ -132,8 +132,8 @@ LibResetSystem ( case EfiResetShutdown: default: //Perform cold reset of the system. - MmioOr32 (PRM_RSTCTRL, RST_DPLL3); - while ((MmioRead32(PRM_RSTST) & GLOBAL_COLD_RST) != 0x1); + MmioOr32 (PRM_RSTCTRL, PRM_RSTCTRL_RST_GLOBAL_COLD_SW_VAL); + while ((MmioRead32(PRM_RSTST) & PRM_RSTST_GLOBAL_COLD_RST_MASK) != 0x1); break; } |