diff options
author | Tony Lindgren <tony@atomide.com> | 2009-05-25 14:08:34 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-05-25 14:08:34 -0400 |
commit | 23b7dd3166fcd88d82ada7e13478fbe4c2231ddf (patch) | |
tree | c1efd26ff3761d7f83984f51fd68e13cd686b1e5 /arch/arm/plat-omap | |
parent | bed8b97d88b56fdad5677585262e20c5f0a1a8e2 (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')
-rw-r--r-- | arch/arm/plat-omap/include/mach/omap24xx.h | 2 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/mach/omap34xx.h | 1 |
2 files changed, 0 insertions, 3 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 |
diff --git a/arch/arm/plat-omap/include/mach/omap34xx.h b/arch/arm/plat-omap/include/mach/omap34xx.h index 581d9103c35d..423306444202 100644 --- a/arch/arm/plat-omap/include/mach/omap34xx.h +++ b/arch/arm/plat-omap/include/mach/omap34xx.h | |||
@@ -86,7 +86,6 @@ | |||
86 | #if defined(CONFIG_ARCH_OMAP3430) | 86 | #if defined(CONFIG_ARCH_OMAP3430) |
87 | 87 | ||
88 | #define OMAP2_CM_BASE OMAP3430_CM_BASE | 88 | #define OMAP2_CM_BASE OMAP3430_CM_BASE |
89 | #define OMAP2_PRM_BASE OMAP3430_PRM_BASE | ||
90 | #define OMAP2_VA_IC_BASE IO_ADDRESS(OMAP34XX_IC_BASE) | 89 | #define OMAP2_VA_IC_BASE IO_ADDRESS(OMAP34XX_IC_BASE) |
91 | 90 | ||
92 | #endif | 91 | #endif |