aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/include/mach
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-09-06 03:05:25 -0400
committerArnd Bergmann <arnd@arndb.de>2011-10-31 09:26:26 -0400
commit13eed9897a2160272df2804ac3bbd4d91c76e577 (patch)
treec61e32126f0d0202793bcbcb1285bf7a50be3806 /arch/arm/plat-mxc/include/mach
parent69c31b7a6e9cd4654ed0bfc7e70b4d7076a5cdb3 (diff)
arm/imx6q: add device tree machine support
It adds generic device tree based machine support for imx6q. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach')
-rw-r--r--arch/arm/plat-mxc/include/mach/common.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/common.h b/arch/arm/plat-mxc/include/mach/common.h
index 6340df2284d7..607b4623af0c 100644
--- a/arch/arm/plat-mxc/include/mach/common.h
+++ b/arch/arm/plat-mxc/include/mach/common.h
@@ -64,6 +64,7 @@ extern int mx51_clocks_init(unsigned long ckil, unsigned long osc,
64 unsigned long ckih1, unsigned long ckih2); 64 unsigned long ckih1, unsigned long ckih2);
65extern int mx53_clocks_init(unsigned long ckil, unsigned long osc, 65extern int mx53_clocks_init(unsigned long ckil, unsigned long osc,
66 unsigned long ckih1, unsigned long ckih2); 66 unsigned long ckih1, unsigned long ckih2);
67extern int mx6q_clocks_init(void);
67extern struct platform_device *mxc_register_gpio(char *name, int id, 68extern struct platform_device *mxc_register_gpio(char *name, int id,
68 resource_size_t iobase, resource_size_t iosize, int irq, int irq_high); 69 resource_size_t iobase, resource_size_t iosize, int irq, int irq_high);
69extern void mxc_set_cpu_type(unsigned int type); 70extern void mxc_set_cpu_type(unsigned int type);
@@ -101,7 +102,19 @@ void gic_handle_irq(struct pt_regs *);
101 102
102extern void imx_enable_cpu(int cpu, bool enable); 103extern void imx_enable_cpu(int cpu, bool enable);
103extern void imx_set_cpu_jump(int cpu, void *jump_addr); 104extern void imx_set_cpu_jump(int cpu, void *jump_addr);
105#ifdef CONFIG_DEBUG_LL
106extern void imx_lluart_map_io(void);
107#else
108static inline void imx_lluart_map_io(void) {}
109#endif
104#ifdef CONFIG_SMP 110#ifdef CONFIG_SMP
105extern void v7_secondary_startup(void); 111extern void v7_secondary_startup(void);
112extern void imx_scu_map_io(void);
113#else
114static inline void imx_scu_map_io(void) {}
106#endif 115#endif
116extern void imx_enable_cpu(int cpu, bool enable);
117extern void imx_set_cpu_jump(int cpu, void *jump_addr);
118extern void imx_src_init(void);
119extern void imx_gpc_init(void);
107#endif 120#endif