ARM: OMAP4: PRCM: remove references to cm-regbits-44xx.h from PRCM core files
authorTero Kristo <t-kristo@ti.com>
Mon, 31 Mar 2014 15:15:52 +0000 (18:15 +0300)
committerPaul Walmsley <paul@pwsan.com>
Fri, 16 May 2014 04:35:10 +0000 (22:35 -0600)
Done in preparation to make PRCM a standalone driver.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/cm44xx.c
arch/arm/mach-omap2/cminst44xx.c
arch/arm/mach-omap2/powerdomain-common.c

index 37ba6e8f95050f0b1143ae159339bbf78520ecd6..c440ba753882cdda781da0ec43ca56772ce5f350 100644 (file)
@@ -21,7 +21,6 @@
 #include "cm.h"
 #include "cm1_44xx.h"
 #include "cm2_44xx.h"
-#include "cm-regbits-44xx.h"
 
 /* CM1 hardware module low-level functions */
 
index 434b52af0364a7429ccc87d468aa8040e6135f13..82984b2f27154f7f8d96c28b5b2e7a3900aad6dd 100644 (file)
 #include "cm44xx.h"
 #include "cminst44xx.h"
 #include "cm-regbits-34xx.h"
-#include "cm-regbits-44xx.h"
 #include "prcm44xx.h"
 #include "prm44xx.h"
 #include "prcm_mpu44xx.h"
 #include "prcm-common.h"
 
+#define OMAP4430_IDLEST_SHIFT          16
+#define OMAP4430_IDLEST_MASK           (0x3 << 16)
+#define OMAP4430_CLKTRCTRL_SHIFT       0
+#define OMAP4430_CLKTRCTRL_MASK                (0x3 << 0)
+#define OMAP4430_MODULEMODE_SHIFT      0
+#define OMAP4430_MODULEMODE_MASK       (0x3 << 0)
+
 /*
  * CLKCTRL_IDLEST_*: possible values for the CM_*_CLKCTRL.IDLEST bitfield:
  *
index c0aeabfcf0091251b2f9893149f9482ac2c2f023..c40e5f009826ebca7a26d6ede3d3d590bc51c826 100644 (file)
@@ -17,7 +17,6 @@
 #include "pm.h"
 #include "cm.h"
 #include "cm-regbits-34xx.h"
-#include "cm-regbits-44xx.h"
 #include "prm-regbits-34xx.h"
 #include "prm-regbits-44xx.h"