ARM: omap2: use machine specific hook for late init
Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
@@ -78,6 +78,42 @@ static inline void omap44xx_map_common_io(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_PM) && defined(CONFIG_ARCH_OMAP2)
|
||||
int omap2_pm_init(void);
|
||||
#else
|
||||
static inline int omap2_pm_init(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_PM) && defined(CONFIG_ARCH_OMAP3)
|
||||
int omap3_pm_init(void);
|
||||
#else
|
||||
static inline int omap3_pm_init(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_PM) && defined(CONFIG_ARCH_OMAP4)
|
||||
int omap4_pm_init(void);
|
||||
#else
|
||||
static inline int omap4_pm_init(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_OMAP_MUX
|
||||
int omap_mux_late_init(void);
|
||||
#else
|
||||
static inline int omap_mux_late_init(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
extern void omap2_init_common_infrastructure(void);
|
||||
|
||||
extern struct sys_timer omap2_timer;
|
||||
@@ -94,6 +130,17 @@ void omap3_init_early(void); /* Do not use this one */
|
||||
void am35xx_init_early(void);
|
||||
void ti81xx_init_early(void);
|
||||
void omap4430_init_early(void);
|
||||
void omap3_init_late(void); /* Do not use this one */
|
||||
void omap4430_init_late(void);
|
||||
void omap2420_init_late(void);
|
||||
void omap2430_init_late(void);
|
||||
void omap3430_init_late(void);
|
||||
void omap35xx_init_late(void);
|
||||
void omap3630_init_late(void);
|
||||
void am35xx_init_late(void);
|
||||
void ti81xx_init_late(void);
|
||||
void omap4430_init_late(void);
|
||||
int omap2_common_pm_late_init(void);
|
||||
void omap_prcm_restart(char, const char *);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user