2 * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
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.
11 #ifndef __ASM_ARCH_MXC_COMMON_H__
12 #define __ASM_ARCH_MXC_COMMON_H__
14 struct platform_device;
17 extern void mxc_map_io(void);
18 extern void mxc_init_irq(void);
19 extern void mxc_timer_init(struct clk *timer_clk);
20 extern int mx1_clocks_init(unsigned long fref);
21 extern int mx21_clocks_init(unsigned long lref, unsigned long fref);
22 extern int mx27_clocks_init(unsigned long fref);
23 extern int mx31_clocks_init(unsigned long fref);
24 extern int mx35_clocks_init(void);
25 extern int mxc_register_gpios(void);
26 extern int mxc_register_device(struct platform_device *pdev, void *data);
27 extern void mxc_set_cpu_type(unsigned int type);