Commit 9599d1db authored by Mike Rapoport's avatar Mike Rapoport Committed by Eric Miao

[ARM] pxa/em-x270, cm-x270: use DEEPSLEEP for PM_SUSPEND_MEM

Signed-off-by: default avatarMike Rapoport <mike@compulab.co.il>
Signed-off-by: default avatarEric Miao <eric.miao@marvell.com>
parent 128d88b8
...@@ -335,6 +335,10 @@ void __init cmx270_init(void) ...@@ -335,6 +335,10 @@ void __init cmx270_init(void)
{ {
pxa2xx_mfp_config(ARRAY_AND_SIZE(cmx270_pin_config)); pxa2xx_mfp_config(ARRAY_AND_SIZE(cmx270_pin_config));
#ifdef CONFIG_PM
pxa27x_set_pwrmode(PWRMODE_DEEPSLEEP);
#endif
cmx270_init_rtc(); cmx270_init_rtc();
cmx270_init_mmc(); cmx270_init_mmc();
cmx270_init_ohci(); cmx270_init_ohci();
......
...@@ -1215,6 +1215,10 @@ static void __init em_x270_init(void) ...@@ -1215,6 +1215,10 @@ static void __init em_x270_init(void)
{ {
pxa2xx_mfp_config(ARRAY_AND_SIZE(common_pin_config)); pxa2xx_mfp_config(ARRAY_AND_SIZE(common_pin_config));
#ifdef CONFIG_PM
pxa27x_set_pwrmode(PWRMODE_DEEPSLEEP);
#endif
if (machine_is_em_x270()) if (machine_is_em_x270())
em_x270_module_init(); em_x270_module_init();
else if (machine_is_exeda()) else if (machine_is_exeda())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment