diff options
author | Shawn Guo <shawn.guo@freescale.com> | 2010-12-09 10:12:37 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-12-13 08:49:50 -0500 |
commit | fb410aef0314ef183fe6da879d29536311971a20 (patch) | |
tree | a8b1f7359426e426e529a3bb4b6609a2270ac256 /arch/arm/mach-mxs/include/mach/common.h | |
parent | b0b6e42aa63fbd00a3b509e75702aca4be8618cd (diff) |
ARM: mxs: Add helper definition and function
Add helper definition and function for MXS-based.
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxs/include/mach/common.h')
-rw-r--r-- | arch/arm/mach-mxs/include/mach/common.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/include/mach/common.h b/arch/arm/mach-mxs/include/mach/common.h new file mode 100644 index 000000000000..59133eb3cc96 --- /dev/null +++ b/arch/arm/mach-mxs/include/mach/common.h | |||
@@ -0,0 +1,31 @@ | |||
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 __MACH_MXS_COMMON_H__ | ||
12 | #define __MACH_MXS_COMMON_H__ | ||
13 | |||
14 | struct clk; | ||
15 | |||
16 | extern int mxs_reset_block(void __iomem *); | ||
17 | extern void mxs_timer_init(struct clk *, int); | ||
18 | |||
19 | extern int mx23_register_gpios(void); | ||
20 | extern int mx23_clocks_init(void); | ||
21 | extern void mx23_map_io(void); | ||
22 | extern void mx23_init_irq(void); | ||
23 | |||
24 | extern int mx28_register_gpios(void); | ||
25 | extern int mx28_clocks_init(void); | ||
26 | extern void mx28_map_io(void); | ||
27 | extern void mx28_init_irq(void); | ||
28 | |||
29 | extern void icoll_init_irq(void); | ||
30 | |||
31 | #endif /* __MACH_MXS_COMMON_H__ */ | ||