summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Deprez <o-deprez@ti.com>2013-03-01 15:21:18 +0100
committerLeif Lindholm <leif.lindholm@linaro.org>2014-01-24 15:44:18 +0000
commit26bdc3b3fe4be268ead1bf6d5d79ebcb74a0ccd6 (patch)
tree83e611866fb967d121f0a0b96c2e9ff02ae0e5b3
parent07df1622b22375e99b446a73070690a485b817fb (diff)
panda: cleaned up reset definitions
reset registers updated to omap4 Signed-off-by: Steven Kinney <steven.kinney@linaro.org>
-rw-r--r--PandaBoardPkg/Library/ResetSystemLib/ResetSystemLib.c4
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;
}