diff options
author | Inderpal Singh <inderpal.singh@linaro.org> | 2011-11-22 15:19:15 +0530 |
---|---|---|
committer | Tushar Behera <tushar.behera@linaro.org> | 2012-04-18 13:15:10 +0530 |
commit | c3616670a65cb97b0d599bcd0d41f8ad7d95ca4c (patch) | |
tree | 5fce19712dd8cf3c78ca1bc959d1b5e9afec4bc7 | |
parent | 82ee500cd14a47b2880f6dea45f70952314a4edb (diff) |
ARM: EXYNOS: Fix reboot hang after suspend/resumetracking-samslt-s2ram-3.4-rc3-2012.04-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.c | 3 |
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; } |