]>
Commit | Line | Data |
---|---|---|
52c543f9 QJ |
1 | /* |
2 | * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved. | |
3 | */ | |
4 | ||
5 | /* | |
6 | * This program is free software; you can redistribute it and/or modify | |
7 | * it under the terms of the GNU General Public License version 2 as | |
8 | * published by the Free Software Foundation. | |
9 | */ | |
10 | ||
11 | #ifndef __ASM_ARCH_MXC_COMMON_H__ | |
12 | #define __ASM_ARCH_MXC_COMMON_H__ | |
13 | ||
282b13d0 | 14 | struct platform_device; |
30c730f8 | 15 | struct clk; |
282b13d0 | 16 | |
cd4a05f9 SH |
17 | extern void mx1_map_io(void); |
18 | extern void mx21_map_io(void); | |
8c25c36f | 19 | extern void mx25_map_io(void); |
cd4a05f9 SH |
20 | extern void mx27_map_io(void); |
21 | extern void mx31_map_io(void); | |
22 | extern void mx35_map_io(void); | |
fd6ac7bb | 23 | extern void mxc91231_map_io(void); |
c5aa0ad0 SH |
24 | extern void mxc_init_irq(void __iomem *); |
25 | extern void mx1_init_irq(void); | |
26 | extern void mx21_init_irq(void); | |
8c25c36f | 27 | extern void mx25_init_irq(void); |
c5aa0ad0 SH |
28 | extern void mx27_init_irq(void); |
29 | extern void mx31_init_irq(void); | |
30 | extern void mx35_init_irq(void); | |
fd6ac7bb | 31 | extern void mxc91231_init_irq(void); |
8db5d1a6 | 32 | extern void mxc_timer_init(struct clk *timer_clk, void __iomem *, int); |
30c730f8 | 33 | extern int mx1_clocks_init(unsigned long fref); |
aa3b0a6f | 34 | extern int mx21_clocks_init(unsigned long lref, unsigned long fref); |
8c25c36f | 35 | extern int mx25_clocks_init(unsigned long fref); |
30c730f8 SH |
36 | extern int mx27_clocks_init(unsigned long fref); |
37 | extern int mx31_clocks_init(unsigned long fref); | |
2cb536d1 | 38 | extern int mx35_clocks_init(void); |
fd6ac7bb | 39 | extern int mxc91231_clocks_init(unsigned long fref); |
07bd1a6c | 40 | extern int mxc_register_gpios(void); |
282b13d0 | 41 | extern int mxc_register_device(struct platform_device *pdev, void *data); |
198016e1 | 42 | extern void mxc_set_cpu_type(unsigned int type); |
be124c94 | 43 | extern void mxc_arch_reset_init(void __iomem *); |
fd6ac7bb DT |
44 | extern void mxc91231_power_off(void); |
45 | extern void mxc91231_arch_reset(int, const char *); | |
46 | extern void mxc91231_prepare_idle(void); | |
52c543f9 QJ |
47 | |
48 | #endif |