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/mach-omap2/control.h | |
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/mach-omap2/control.h')
-rw-r--r-- | arch/arm/mach-omap2/control.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/control.h b/arch/arm/mach-omap2/control.h index a89e8256fd0e..4ca8747b3cc9 100644 --- a/arch/arm/mach-omap2/control.h +++ b/arch/arm/mach-omap2/control.h | |||
@@ -414,6 +414,8 @@ extern void omap_ctrl_write_dsp_boot_addr(u32 bootaddr); | |||
414 | extern void omap_ctrl_write_dsp_boot_mode(u8 bootmode); | 414 | extern void omap_ctrl_write_dsp_boot_mode(u8 bootmode); |
415 | extern void omap3630_ctrl_disable_rta(void); | 415 | extern void omap3630_ctrl_disable_rta(void); |
416 | extern int omap3_ctrl_save_padconf(void); | 416 | extern int omap3_ctrl_save_padconf(void); |
417 | extern void omap2_set_globals_control(void __iomem *ctrl, | ||
418 | void __iomem *ctrl_pad); | ||
417 | #else | 419 | #else |
418 | #define omap_ctrl_base_get() 0 | 420 | #define omap_ctrl_base_get() 0 |
419 | #define omap_ctrl_readb(x) 0 | 421 | #define omap_ctrl_readb(x) 0 |