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)
commit23be4be5a666c6b4e6fe8ddbbb84fb4f2efee0a5
treecc34cdd0a35d9a7a23b6bd33876c963fce00bd89
parentd94e688cae5661b18164fb7366d1696a1921baba
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