From e5d3455005d7219c0e4b52057bc74992e300f0ac Mon Sep 17 00:00:00 2001 From: Inderpal Singh Date: Tue, 22 Nov 2011 15:19:15 +0530 Subject: ARM: EXYNOS: Fix reboot hang after suspend/resume 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 --- arch/arm/mach-exynos/pm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c index c06c992943a1..239045f198e5 100644 --- a/arch/arm/mach-exynos/pm.c +++ b/arch/arm/mach-exynos/pm.c @@ -312,6 +312,9 @@ static void exynos_pm_resume(void) } early_wakeup: + /* Clear INFORM Register */ + __raw_writel(0, S5P_INFORM1); + return; } -- cgit v1.2.3