OSDN Git Service

ARM: at91/pm_suspend: add the WFI instruction support for ARMv7
authorWenyou Yang <wenyou.yang@atmel.com>
Mon, 9 Mar 2015 03:53:46 +0000 (11:53 +0800)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 13 Mar 2015 12:34:55 +0000 (13:34 +0100)
commit20567658b8f010eea287087bfdbeb25757801aed
tree8d1d3aa3d9c6a974daceb075d85c331292e1d0ac
parente32d995cf9db8dbf48d0ae25794b1b7b3872857d
ARM: at91/pm_suspend: add the WFI instruction support for ARMv7

Add the WFI instruction to make the cpu to the idle state.
In the meanwhile, disable the processor's clock.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Tested-by: Sylvain Rochet <sylvain.rochet@finsecur.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/pm_suspend.S