Commit b31eca4f authored by Eric Miao's avatar Eric Miao

[ARM] pxa: move pxa2xx specific PWRMODE definitions into pxa2xx-regs.h

Signed-off-by: default avatarEric Miao <eric.miao@marvell.com>
parent a07efb5d
...@@ -553,11 +553,4 @@ ...@@ -553,11 +553,4 @@
* Core Clock - see arch/arm/mach-pxa/include/mach/pxa2xx-regs.h * Core Clock - see arch/arm/mach-pxa/include/mach/pxa2xx-regs.h
*/ */
/* PWRMODE register M field values */
#define PWRMODE_IDLE 0x1
#define PWRMODE_STANDBY 0x2
#define PWRMODE_SLEEP 0x3
#define PWRMODE_DEEPSLEEP 0x7
#endif #endif
...@@ -243,4 +243,11 @@ ...@@ -243,4 +243,11 @@
#define OSCC_OON (1 << 1) /* 32.768kHz OON (write-once only bit) */ #define OSCC_OON (1 << 1) /* 32.768kHz OON (write-once only bit) */
#define OSCC_OOK (1 << 0) /* 32.768kHz OOK (read-only bit) */ #define OSCC_OOK (1 << 0) /* 32.768kHz OOK (read-only bit) */
/* PWRMODE register M field values */
#define PWRMODE_IDLE 0x1
#define PWRMODE_STANDBY 0x2
#define PWRMODE_SLEEP 0x3
#define PWRMODE_DEEPSLEEP 0x7
#endif #endif
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