diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-10-29 22:50:21 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-11-08 14:33:07 -0500 |
commit | b6a4226c14001b0aa20b11c69190cb89d2237d3d (patch) | |
tree | e7c0f4b571cc010767c01d8b402762e49540c563 /arch/arm/plat-omap | |
parent | 76e0e16d91af22dd6313000ff8018069123f8ed0 (diff) |
ARM: OMAP2+: common: remove mach-omap2/common.c globals and map_common_io code
Get rid of the mach-omap2/common.c globals by moving the global
initialization for IP block addresses that must occur early into
mach-omap2/io.c. In the process, remove the *_map_common_io*() and
SoC-specific *set_globals* functions.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Tested-by: Vaibhav Hiremath <hvaibhav@ti.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/include/plat/prcm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/prcm.h b/arch/arm/plat-omap/include/plat/prcm.h index a76cbd4b0592..a950a8367e7f 100644 --- a/arch/arm/plat-omap/include/plat/prcm.h +++ b/arch/arm/plat-omap/include/plat/prcm.h | |||
@@ -27,8 +27,13 @@ | |||
27 | #ifndef __ASM_ARM_ARCH_OMAP_PRCM_H | 27 | #ifndef __ASM_ARM_ARCH_OMAP_PRCM_H |
28 | #define __ASM_ARM_ARCH_OMAP_PRCM_H | 28 | #define __ASM_ARM_ARCH_OMAP_PRCM_H |
29 | 29 | ||
30 | #include <linux/kernel.h> | ||
31 | #include <linux/io.h> | ||
32 | |||
30 | int omap2_cm_wait_idlest(void __iomem *reg, u32 mask, u8 idlest, | 33 | int omap2_cm_wait_idlest(void __iomem *reg, u32 mask, u8 idlest, |
31 | const char *name); | 34 | const char *name); |
35 | void __init omap2_set_globals_prcm(void __iomem *prm, void __iomem *cm, | ||
36 | void __iomem *cm2, void __iomem *prcm_mpu); | ||
32 | 37 | ||
33 | #endif | 38 | #endif |
34 | 39 | ||