@@ -26,9 +26,16 @@
#include "cm.h"
#include "cm33xx.h"
#include "cm-regbits-34xx.h"
-#include "cm-regbits-33xx.h"
#include "prm33xx.h"
+#define AM33XX_MODULEMODE_SHIFT 0
+#define AM33XX_MODULEMODE_MASK (0x3 << 0)
+
+#define AM33XX_CLKTRCTRL_SHIFT 0
+#define AM33XX_CLKTRCTRL_MASK (0x3 << 0)
+#define AM33XX_IDLEST_SHIFT 16
+#define AM33XX_IDLEST_MASK (0x3 << 16)
+
/*
* CLKCTRL_IDLEST_*: possible values for the CM_*_CLKCTRL.IDLEST bitfield:
*
@@ -18,7 +18,6 @@
#define __ARCH_ARM_MACH_OMAP2_CM_33XX_H
#include "cm.h"
-#include "cm-regbits-33xx.h"
/* CM base address */
#define AM33XX_CM_BASE 0x44e00000
Done in preparation to make CM a standalone driver. Signed-off-by: Tero Kristo <t-kristo@ti.com> --- arch/arm/mach-omap2/cm33xx.c | 9 ++++++++- arch/arm/mach-omap2/cm33xx.h | 1 - 2 files changed, 8 insertions(+), 2 deletions(-)