summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/control.h
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2014-11-13 19:17:34 +0200
committerTero Kristo <t-kristo@ti.com>2015-03-27 10:56:00 +0200
commit2208bf115fecae211480ea41d25e6d56ec20d405 (patch)
treef501ce2dab6097b2cf47f06c08174ac3187755e1 /arch/arm/mach-omap2/control.h
parentae521d4d9c54995df1e0fb53ef6820374a3cae4e (diff)
downloadlwn-2208bf115fecae211480ea41d25e6d56ec20d405.tar.gz
lwn-2208bf115fecae211480ea41d25e6d56ec20d405.zip
ARM: OMAP2+: control: determine control module base address from DT
There is no need to provide the control module base address through a low-level API from the low-level IO init, as this information is available through DT. This patch adds a new API to initialize the control module though, but mostly makes the old API obsolete. The old API can be completely removed once OMAP3 is made DT only. Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/control.h')
-rw-r--r--arch/arm/mach-omap2/control.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/control.h b/arch/arm/mach-omap2/control.h
index baf5783cb05d..c1057eb9d4e4 100644
--- a/arch/arm/mach-omap2/control.h
+++ b/arch/arm/mach-omap2/control.h
@@ -464,9 +464,11 @@ extern void omap_ctrl_write_dsp_boot_mode(u8 bootmode);
extern void omap3630_ctrl_disable_rta(void);
extern int omap3_ctrl_save_padconf(void);
void omap3_ctrl_init(void);
+int omap2_control_base_init(void);
int omap_control_init(void);
extern void omap2_set_globals_control(void __iomem *ctrl,
void __iomem *ctrl_pad);
+void __init omap3_control_legacy_iomap_init(void);
#else
#define omap_ctrl_base_get() 0
#define omap_ctrl_readb(x) 0