summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Miao <eric.miao@marvell.com>2008-11-28 05:49:22 (GMT)
committerEric Miao <eric.miao@marvell.com>2008-12-02 06:42:38 (GMT)
commitb31eca4f006c3efdd2dc501270172aa7ff8614b9 (patch)
tree8ac6d6238f23af0cb68cfe2069a4433b20a716e8
parenta07efb5dac2a1c9125b9bd84d2f9ea4803d93e60 (diff)
downloadlinux-fsl-qoriq-b31eca4f006c3efdd2dc501270172aa7ff8614b9.tar.xz
[ARM] pxa: move pxa2xx specific PWRMODE definitions into pxa2xx-regs.h
Signed-off-by: Eric Miao <eric.miao@marvell.com>
-rw-r--r--arch/arm/mach-pxa/include/mach/pxa-regs.h7
-rw-r--r--arch/arm/mach-pxa/include/mach/pxa2xx-regs.h7
2 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/mach-pxa/include/mach/pxa-regs.h b/arch/arm/mach-pxa/include/mach/pxa-regs.h
index 859b35e..ab62f6c 100644
--- a/arch/arm/mach-pxa/include/mach/pxa-regs.h
+++ b/arch/arm/mach-pxa/include/mach/pxa-regs.h
@@ -553,11 +553,4 @@
* 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
diff --git a/arch/arm/mach-pxa/include/mach/pxa2xx-regs.h b/arch/arm/mach-pxa/include/mach/pxa2xx-regs.h
index 806ecfe..2b71d87 100644
--- a/arch/arm/mach-pxa/include/mach/pxa2xx-regs.h
+++ b/arch/arm/mach-pxa/include/mach/pxa2xx-regs.h
@@ -243,4 +243,11 @@
#define OSCC_OON (1 << 1) /* 32.768kHz OON (write-once 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