diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2015-01-09 08:36:42 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-01-19 09:02:23 +0100 |
commit | e340ce04833ad6063965113e7b2345c45c6bc47a (patch) | |
tree | e4a2790c5e008b96ad7d91f870d34e27cc3b112a /arch/arm/mach-pxa/sleep.S | |
parent | 8e876a81052725f7b069e615698902752dee7791 (diff) | |
download | barebox-e340ce04833ad6063965113e7b2345c45c6bc47a.tar.gz barebox-e340ce04833ad6063965113e7b2345c45c6bc47a.tar.xz |
ARM: pxa: add pxa3xx architecture
Add the pxa3xx architecture, for pxa300, pxa310 and pxa320 SoCs.
This includes :
- the registers
- the cpu type
- the reset source handling
- a minimal set of clocks
- pin control definitions
In this last case, the big mfp-pxaxxx.h files were dropped, forcing
board developers to use MFP_LPM_* macros cunningly.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-pxa/sleep.S')
-rw-r--r-- | arch/arm/mach-pxa/sleep.S | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/sleep.S b/arch/arm/mach-pxa/sleep.S index 881033da21..7145f7c750 100644 --- a/arch/arm/mach-pxa/sleep.S +++ b/arch/arm/mach-pxa/sleep.S @@ -79,3 +79,10 @@ pxa_cpu_do_suspend: @ enter sleep mode mcr p14, 0, r1, c7, c0, 0 @ PWRMODE 20: b 20b @ loop waiting for sleep + + /* + * pxa3xx_finish_suspend() - forces CPU into sleep state + */ +ENTRY(pxa3xx_suspend) + mcr p14, 0, r0, c7, c0, 0 @ enter sleep +20: b 20b @ waiting for sleep |