Quinn Jensen | 52c543f | 2007-07-09 22:06:53 +0100 | [diff] [blame] | 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 | |
Sascha Hauer | 282b13d | 2008-09-09 10:19:40 +0200 | [diff] [blame] | 14 | struct platform_device; |
Sascha Hauer | 30c730f | 2009-02-16 14:36:49 +0100 | [diff] [blame] | 15 | struct clk; |
Sascha Hauer | 282b13d | 2008-09-09 10:19:40 +0200 | [diff] [blame] | 16 | |
Sascha Hauer | cd4a05f | 2009-04-02 22:32:10 +0200 | [diff] [blame] | 17 | extern void mx1_map_io(void); |
| 18 | extern void mx21_map_io(void); |
| 19 | extern void mx27_map_io(void); |
| 20 | extern void mx31_map_io(void); |
| 21 | extern void mx35_map_io(void); |
Quinn Jensen | 52c543f | 2007-07-09 22:06:53 +0100 | [diff] [blame] | 22 | extern void mxc_init_irq(void); |
Sascha Hauer | 8db5d1a | 2009-05-25 12:21:38 +0200 | [diff] [blame^] | 23 | extern void mxc_timer_init(struct clk *timer_clk, void __iomem *, int); |
Sascha Hauer | 30c730f | 2009-02-16 14:36:49 +0100 | [diff] [blame] | 24 | extern int mx1_clocks_init(unsigned long fref); |
Holger Schurig | aa3b0a6 | 2009-01-26 16:34:54 +0100 | [diff] [blame] | 25 | extern int mx21_clocks_init(unsigned long lref, unsigned long fref); |
Sascha Hauer | 30c730f | 2009-02-16 14:36:49 +0100 | [diff] [blame] | 26 | extern int mx27_clocks_init(unsigned long fref); |
| 27 | extern int mx31_clocks_init(unsigned long fref); |
Sascha Hauer | 2cb536d | 2009-02-06 17:48:59 +0100 | [diff] [blame] | 28 | extern int mx35_clocks_init(void); |
Juergen Beisert | 07bd1a6 | 2008-07-05 10:02:49 +0200 | [diff] [blame] | 29 | extern int mxc_register_gpios(void); |
Sascha Hauer | 282b13d | 2008-09-09 10:19:40 +0200 | [diff] [blame] | 30 | extern int mxc_register_device(struct platform_device *pdev, void *data); |
Sascha Hauer | 198016e | 2009-02-06 15:38:22 +0100 | [diff] [blame] | 31 | extern void mxc_set_cpu_type(unsigned int type); |
Quinn Jensen | 52c543f | 2007-07-09 22:06:53 +0100 | [diff] [blame] | 32 | |
| 33 | #endif |