Alexandre Belloni
23b8408246
ARM: at91: remove hardware.h
...
hardware.h is now mostyl unused, move the remaining declarations to pm.c and
remove it.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com >
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com >
2015-03-19 16:37:45 +01:00
Wenyou Yang
20567658b8
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 >
2015-03-13 13:34:55 +01:00
Wenyou Yang
5726a8b968
ARM: at91/pm: rename function name: at91_slow_clock() --> at91_pm_suspend_sram_fn()
...
As the file name is renamed, rename the function name at91_slow_clock()
--> at91_pm_suspend_sram_fn(), rename the function handler's name at the
same time.
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 >
[nicolas.ferre@atmel.com: little update of the commit message]
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
2015-03-13 13:34:54 +01:00
Wenyou Yang
828b98fa38
ARM: at91/pm: rename file name: pm_slowclock.S --> pm_suspend.S
...
Because the sram function is used for both suspend to memory and the suspend
to standby mode, renaming is more elegant.
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 >
2015-03-13 13:34:54 +01:00