summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInderpal Singh <inderpal.singh@linaro.org>2011-11-22 15:19:15 +0530
committerTushar Behera <tushar.behera@linaro.org>2012-05-17 10:44:07 +0530
commit7ce357e48d335b1e25647cddab9cf6fbc854d8cd (patch)
treee57ebc3bc727490c90c5831e6c009f50d3e58540
parent95561264aad7988c75411b1fdab8a84097a18b3b (diff)
ARM: EXYNOS: Fix reboot hang after suspend/resumetracking-samslt-s2ram-3.4-2012.05-1tracking-samslt-s2ram-3.4-2012.05-0
Clear INFORM1 register used by u-boot to check the reset reason. If not cleared, u-boot will detect reboot as wake from sleep and jumps to an invalid address and hangs. Signed-off-by: Inderpal SIngh <inderpal.singh@linaro.org>
-rw-r--r--arch/arm/mach-exynos/pm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c
index 428cfeb57724..35452670cf06 100644
--- a/arch/arm/mach-exynos/pm.c
+++ b/arch/arm/mach-exynos/pm.c
@@ -381,6 +381,9 @@ static void exynos4_pm_resume(void)
#endif
early_wakeup:
+ /* Clear INFORM Register */
+ __raw_writel(0, S5P_INFORM1);
+
return;
}