From 7ce357e48d335b1e25647cddab9cf6fbc854d8cd 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 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; } -- cgit v1.2.3