diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2011-09-06 03:05:25 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-10-31 09:26:26 -0400 |
commit | 13eed9897a2160272df2804ac3bbd4d91c76e577 (patch) | |
tree | c61e32126f0d0202793bcbcb1285bf7a50be3806 /arch/arm/plat-mxc/include/mach | |
parent | 69c31b7a6e9cd4654ed0bfc7e70b4d7076a5cdb3 (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.h | 13 |
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); |
65 | extern int mx53_clocks_init(unsigned long ckil, unsigned long osc, | 65 | extern int mx53_clocks_init(unsigned long ckil, unsigned long osc, |
66 | unsigned long ckih1, unsigned long ckih2); | 66 | unsigned long ckih1, unsigned long ckih2); |
67 | extern int mx6q_clocks_init(void); | ||
67 | extern struct platform_device *mxc_register_gpio(char *name, int id, | 68 | extern 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); |
69 | extern void mxc_set_cpu_type(unsigned int type); | 70 | extern void mxc_set_cpu_type(unsigned int type); |
@@ -101,7 +102,19 @@ void gic_handle_irq(struct pt_regs *); | |||
101 | 102 | ||
102 | extern void imx_enable_cpu(int cpu, bool enable); | 103 | extern void imx_enable_cpu(int cpu, bool enable); |
103 | extern void imx_set_cpu_jump(int cpu, void *jump_addr); | 104 | extern void imx_set_cpu_jump(int cpu, void *jump_addr); |
105 | #ifdef CONFIG_DEBUG_LL | ||
106 | extern void imx_lluart_map_io(void); | ||
107 | #else | ||
108 | static inline void imx_lluart_map_io(void) {} | ||
109 | #endif | ||
104 | #ifdef CONFIG_SMP | 110 | #ifdef CONFIG_SMP |
105 | extern void v7_secondary_startup(void); | 111 | extern void v7_secondary_startup(void); |
112 | extern void imx_scu_map_io(void); | ||
113 | #else | ||
114 | static inline void imx_scu_map_io(void) {} | ||
106 | #endif | 115 | #endif |
116 | extern void imx_enable_cpu(int cpu, bool enable); | ||
117 | extern void imx_set_cpu_jump(int cpu, void *jump_addr); | ||
118 | extern void imx_src_init(void); | ||
119 | extern void imx_gpc_init(void); | ||
107 | #endif | 120 | #endif |