]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: at91/pm: standby mode uses same sram function as suspend to memory mode
authorWenyou Yang <wenyou.yang@atmel.com>
Mon, 9 Mar 2015 03:49:46 +0000 (11:49 +0800)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 13 Mar 2015 12:34:53 +0000 (13:34 +0100)
commit04c9efaf334fd6c921e8d20d29687a28883c537e
treecc34cdd0a35d9a7a23b6bd33876c963fce00bd89
parent1aec5bfff8620b541ac084d6bfd032a7d39322d4
ARM: at91/pm: standby mode uses same sram function as suspend to memory mode

To simply the PM code, the suspend to standby mode uses same sram function
as the suspend to memory mode, running in the internal SRAM, instead of the
respective code for each mode.

For the suspend to standby mode, the master clock doesn't switch to the slow
clock, and PLLA and the main oscillator doesn't turn off as well.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Tested-by: Sylvain Rochet <sylvain.rochet@finsecur.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/pm.c
arch/arm/mach-at91/pm.h
arch/arm/mach-at91/pm_slowclock.S