]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: 8284/1: sa1100: clear RCSR_SMR on resume
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Thu, 15 Jan 2015 02:06:22 +0000 (03:06 +0100)
committerJiri Slaby <jslaby@suse.cz>
Sun, 1 Mar 2015 22:34:17 +0000 (23:34 +0100)
commit2b14545fae3daa39f6b05c5ce32e956292303c87
treef1e25369f1d0e3f4222193b502d996a41e83d545
parentd016c1bd3d9f062b27e6f36c5c339f88e25a4712
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 <dbaryshkov@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/arm/mach-sa1100/pm.c