aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-mxc')
-rw-r--r--arch/arm/plat-mxc/include/mach/common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/common.h b/arch/arm/plat-mxc/include/mach/common.h
index 607b4623af0c..6a7d993a17a6 100644
--- a/arch/arm/plat-mxc/include/mach/common.h
+++ b/arch/arm/plat-mxc/include/mach/common.h
@@ -13,6 +13,7 @@
13 13
14struct platform_device; 14struct platform_device;
15struct clk; 15struct clk;
16enum mxc_cpu_pwr_mode;
16 17
17extern void mx1_map_io(void); 18extern void mx1_map_io(void);
18extern void mx21_map_io(void); 19extern void mx21_map_io(void);
@@ -107,14 +108,22 @@ extern void imx_lluart_map_io(void);
107#else 108#else
108static inline void imx_lluart_map_io(void) {} 109static inline void imx_lluart_map_io(void) {}
109#endif 110#endif
111extern void v7_cpu_resume(void);
112extern u32 *pl310_get_save_ptr(void);
110#ifdef CONFIG_SMP 113#ifdef CONFIG_SMP
111extern void v7_secondary_startup(void); 114extern void v7_secondary_startup(void);
112extern void imx_scu_map_io(void); 115extern void imx_scu_map_io(void);
116extern void imx_smp_prepare(void);
113#else 117#else
114static inline void imx_scu_map_io(void) {} 118static inline void imx_scu_map_io(void) {}
119static inline void imx_smp_prepare(void) {}
115#endif 120#endif
116extern void imx_enable_cpu(int cpu, bool enable); 121extern void imx_enable_cpu(int cpu, bool enable);
117extern void imx_set_cpu_jump(int cpu, void *jump_addr); 122extern void imx_set_cpu_jump(int cpu, void *jump_addr);
118extern void imx_src_init(void); 123extern void imx_src_init(void);
119extern void imx_gpc_init(void); 124extern void imx_gpc_init(void);
125extern void imx_gpc_pre_suspend(void);
126extern void imx_gpc_post_resume(void);
127extern int imx6q_set_lpm(enum mxc_cpu_pwr_mode mode);
128extern void imx6q_pm_init(void);
120#endif 129#endif