diff options
author | Tony Lindgren <tony@atomide.com> | 2009-05-25 14:26:42 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-05-25 14:26:42 -0400 |
commit | 8e3bd351d1d2505e17d0b10c17bf8d7655eb9faf (patch) | |
tree | c1efd26ff3761d7f83984f51fd68e13cd686b1e5 /arch/arm/plat-omap/include/mach/omap24xx.h | |
parent | a4ab0d836bbdbbfdb892135a92b339107530b710 (diff) |
ARM: OMAP2/3: Remove OMAP_PRM_REGADDR and OMAP2_PRM_BASE
Remove OMAP_PRM_REGADDR and use processor specific defines instead.
Also fold in a patch from Kevin Hilman to add _OFFSET #defines
for the PRCM registers to be used with the prm_[read|write]_* macros.
These are used extensively in the forthcoming OMAP PM support.
Also remove now unused OMAP2_PRM_BASE.
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/include/mach/omap24xx.h')
-rw-r--r-- | arch/arm/plat-omap/include/mach/omap24xx.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/include/mach/omap24xx.h b/arch/arm/plat-omap/include/mach/omap24xx.h index 4202cf457e22..10a6413c73e8 100644 --- a/arch/arm/plat-omap/include/mach/omap24xx.h +++ b/arch/arm/plat-omap/include/mach/omap24xx.h | |||
@@ -89,14 +89,12 @@ | |||
89 | 89 | ||
90 | #define OMAP2_PRCM_BASE OMAP2420_PRCM_BASE | 90 | #define OMAP2_PRCM_BASE OMAP2420_PRCM_BASE |
91 | #define OMAP2_CM_BASE OMAP2420_CM_BASE | 91 | #define OMAP2_CM_BASE OMAP2420_CM_BASE |
92 | #define OMAP2_PRM_BASE OMAP2420_PRM_BASE | ||
93 | #define OMAP2_VA_IC_BASE IO_ADDRESS(OMAP24XX_IC_BASE) | 92 | #define OMAP2_VA_IC_BASE IO_ADDRESS(OMAP24XX_IC_BASE) |
94 | 93 | ||
95 | #elif defined(CONFIG_ARCH_OMAP2430) | 94 | #elif defined(CONFIG_ARCH_OMAP2430) |
96 | 95 | ||
97 | #define OMAP2_PRCM_BASE OMAP2430_PRCM_BASE | 96 | #define OMAP2_PRCM_BASE OMAP2430_PRCM_BASE |
98 | #define OMAP2_CM_BASE OMAP2430_CM_BASE | 97 | #define OMAP2_CM_BASE OMAP2430_CM_BASE |
99 | #define OMAP2_PRM_BASE OMAP2430_PRM_BASE | ||
100 | #define OMAP2_VA_IC_BASE IO_ADDRESS(OMAP24XX_IC_BASE) | 98 | #define OMAP2_VA_IC_BASE IO_ADDRESS(OMAP24XX_IC_BASE) |
101 | 99 | ||
102 | #endif | 100 | #endif |