diff options
author | Olivier Deprez <o-deprez@ti.com> | 2013-03-01 15:21:18 +0100 |
---|---|---|
committer | Ryan Harkin <ryan.harkin@linaro.org> | 2013-09-17 18:30:03 +0100 |
commit | 598899d2be5bf249413419144e3c0a7d389a8dac (patch) | |
tree | 6fbadc568e82405f2ebcd92040d3c50c9adbf1a5 /PandaBoardPkg | |
parent | 4ab65fea4235ac583afd6416d7153bf3f984e254 (diff) |
panda: cleaned up reset definitions
reset registers updated to omap4
Diffstat (limited to 'PandaBoardPkg')
-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 79a51e137..fa0877a5e 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; } |