diff options
author | Tony Lindgren <tony@atomide.com> | 2009-05-25 14:26:46 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-05-25 14:26:46 -0400 |
commit | ef6685a6ded6a20ff33a868cc2c0dba0505b7e4c (patch) | |
tree | 780f185d336be66b40ab4faf98dfab30b9d6553c /arch/arm/mach-omap2/cm.h | |
parent | 07b95d000d48bd44e6f573566c1eba985ef25ed4 (diff) |
ARM: OMAP2/3: Remove OMAP_CM_REGADDR
Processor specific macros should be used instead.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/cm.h')
-rw-r--r-- | arch/arm/mach-omap2/cm.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/cm.h b/arch/arm/mach-omap2/cm.h index efc082a1d271..1d3c93bf86d3 100644 --- a/arch/arm/mach-omap2/cm.h +++ b/arch/arm/mach-omap2/cm.h | |||
@@ -16,17 +16,12 @@ | |||
16 | 16 | ||
17 | #include "prcm-common.h" | 17 | #include "prcm-common.h" |
18 | 18 | ||
19 | #ifndef __ASSEMBLER__ | ||
20 | #define OMAP_CM_REGADDR(module, reg) \ | ||
21 | IO_ADDRESS(OMAP2_CM_BASE + (module) + (reg)) | ||
22 | #else | ||
23 | #define OMAP2420_CM_REGADDR(module, reg) \ | 19 | #define OMAP2420_CM_REGADDR(module, reg) \ |
24 | IO_ADDRESS(OMAP2420_CM_BASE + (module) + (reg)) | 20 | IO_ADDRESS(OMAP2420_CM_BASE + (module) + (reg)) |
25 | #define OMAP2430_CM_REGADDR(module, reg) \ | 21 | #define OMAP2430_CM_REGADDR(module, reg) \ |
26 | IO_ADDRESS(OMAP2430_CM_BASE + (module) + (reg)) | 22 | IO_ADDRESS(OMAP2430_CM_BASE + (module) + (reg)) |
27 | #define OMAP34XX_CM_REGADDR(module, reg) \ | 23 | #define OMAP34XX_CM_REGADDR(module, reg) \ |
28 | IO_ADDRESS(OMAP3430_CM_BASE + (module) + (reg)) | 24 | IO_ADDRESS(OMAP3430_CM_BASE + (module) + (reg)) |
29 | #endif | ||
30 | 25 | ||
31 | /* | 26 | /* |
32 | * Architecture-specific global CM registers | 27 | * Architecture-specific global CM registers |