common.h (7c91d302ffe2ffac813c47d6ba2e7489a2ccb35f) common.h (6770b211432564c562c856d612b43bbd42e4ab5e)
1/*
2 * Header for code common to all OMAP2+ machines.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *

--- 96 unchanged lines hidden (view full) ---

105void omap2430_init_late(void);
106void omap3430_init_late(void);
107void omap35xx_init_late(void);
108void omap3630_init_late(void);
109void am35xx_init_late(void);
110void ti81xx_init_late(void);
111int omap2_common_pm_late_init(void);
112
1/*
2 * Header for code common to all OMAP2+ machines.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *

--- 96 unchanged lines hidden (view full) ---

105void omap2430_init_late(void);
106void omap3430_init_late(void);
107void omap35xx_init_late(void);
108void omap3630_init_late(void);
109void am35xx_init_late(void);
110void ti81xx_init_late(void);
111int omap2_common_pm_late_init(void);
112
113#ifdef CONFIG_SOC_BUS
114void omap_soc_device_init(void);
115#else
116static inline void omap_soc_device_init(void)
117{
118}
119#endif
120
113#if defined(CONFIG_SOC_OMAP2420) || defined(CONFIG_SOC_OMAP2430)
114void omap2xxx_restart(char mode, const char *cmd);
115#else
116static inline void omap2xxx_restart(char mode, const char *cmd)
117{
118}
119#endif
120

--- 167 unchanged lines hidden (view full) ---

288 struct omap_sdrc_params *sdrc_cs1);
289struct omap2_hsmmc_info;
290extern int omap4_twl6030_hsmmc_init(struct omap2_hsmmc_info *controllers);
291extern void omap_reserve(void);
292
293struct omap_hwmod;
294extern int omap_dss_reset(struct omap_hwmod *);
295
121#if defined(CONFIG_SOC_OMAP2420) || defined(CONFIG_SOC_OMAP2430)
122void omap2xxx_restart(char mode, const char *cmd);
123#else
124static inline void omap2xxx_restart(char mode, const char *cmd)
125{
126}
127#endif
128

--- 167 unchanged lines hidden (view full) ---

296 struct omap_sdrc_params *sdrc_cs1);
297struct omap2_hsmmc_info;
298extern int omap4_twl6030_hsmmc_init(struct omap2_hsmmc_info *controllers);
299extern void omap_reserve(void);
300
301struct omap_hwmod;
302extern int omap_dss_reset(struct omap_hwmod *);
303
304/* SoC specific clock initializer */
305extern int (*omap_clk_init)(void);
306
296#endif /* __ASSEMBLER__ */
297#endif /* __ARCH_ARM_MACH_OMAP2PLUS_COMMON_H */
307#endif /* __ASSEMBLER__ */
308#endif /* __ARCH_ARM_MACH_OMAP2PLUS_COMMON_H */