diff options
author | Tero Kristo <t-kristo@ti.com> | 2014-03-04 20:19:01 +0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2014-05-12 05:35:13 +0400 |
commit | b21be7bcd8871014a5e446886ea7fb9ae9d6e591 (patch) | |
tree | 4476eebe60ac3bb33cf398275181c15535d23e25 /arch/arm/mach-omap2/cm3xxx.h | |
parent | c9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff) | |
download | linux-b21be7bcd8871014a5e446886ea7fb9ae9d6e591.tar.xz |
ARM: OMAP3: CM: remove a few OMAP34XX_CM_REGADDR defines
Remove a few OMAP34XX_CM_REGADDR defines and replace these with offset
based register accesses instead.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/cm3xxx.h')
-rw-r--r-- | arch/arm/mach-omap2/cm3xxx.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/cm3xxx.h b/arch/arm/mach-omap2/cm3xxx.h index 8224c91b4d7a..7a16b5598127 100644 --- a/arch/arm/mach-omap2/cm3xxx.h +++ b/arch/arm/mach-omap2/cm3xxx.h @@ -29,9 +29,8 @@ * These registers appear once per CM module. */ -#define OMAP3430_CM_REVISION OMAP34XX_CM_REGADDR(OCP_MOD, 0x0000) -#define OMAP3430_CM_SYSCONFIG OMAP34XX_CM_REGADDR(OCP_MOD, 0x0010) -#define OMAP3430_CM_POLCTRL OMAP34XX_CM_REGADDR(OCP_MOD, 0x009c) +#define OMAP3430_CM_SYSCONFIG 0x0010 +#define OMAP3430_CM_POLCTRL 0x009c #define OMAP3_CM_CLKOUT_CTRL_OFFSET 0x0070 #define OMAP3430_CM_CLKOUT_CTRL OMAP_CM_REGADDR(OMAP3430_CCR_MOD, 0x0070) |