From: Dmitry Eremin-Solenikov Date: Thu, 15 Jan 2015 02:06:22 +0000 (+0100) Subject: ARM: 8284/1: sa1100: clear RCSR_SMR on resume X-Git-Tag: v3.2.69~201 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=268b9d240c0cbcbc25f3a5a54041f001cd91f3d4;p=pandora-kernel.git ARM: 8284/1: sa1100: clear RCSR_SMR on resume commit e461894dc2ce7778ccde1c3483c9b15a85a7fc5f upstream. StrongARM core uses RCSR SMR bit to tell to bootloader that it was reset by entering the sleep mode. After we have resumed, there is little point in having that bit enabled. Moreover, if this bit is set before reboot, the bootloader can become confused. Thus clear the SMR bit on resume just before clearing the scratchpad (resume address) register. Signed-off-by: Dmitry Eremin-Solenikov Signed-off-by: Russell King Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed