ARM: at91/pm_slowclock: create the procedure to handle the sdram self-refresh
authorWenyou Yang <wenyou.yang@atmel.com>
Mon, 9 Mar 2015 03:48:26 +0000 (11:48 +0800)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 13 Mar 2015 10:12:07 +0000 (11:12 +0100)
commit0ab285c2fafe90dfd665b29057666c3953b2592c
tree8877b0e66663718af88c00518e14183cc6ec0f0e
parentd18c570ef3fe9c3b394c0c215b04e9729d85d14f
ARM: at91/pm_slowclock: create the procedure to handle the sdram self-refresh

To decrease the duplicated code, create the procedure
to contain both activing and exiting the sdram self-refresh mode.

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_slowclock.S