Shawn Guo | fb410ae | 2010-12-09 23:12:37 +0800 | [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 __MACH_MXS_COMMON_H__ |
| 12 | #define __MACH_MXS_COMMON_H__ |
| 13 | |
Shawn Guo | 67f4308 | 2011-01-14 23:11:23 +0800 | [diff] [blame] | 14 | extern const u32 *mxs_get_ocotp(void); |
Shawn Guo | fb410ae | 2010-12-09 23:12:37 +0800 | [diff] [blame] | 15 | extern int mxs_reset_block(void __iomem *); |
Shawn Guo | eeca6e6 | 2012-08-20 08:51:45 +0800 | [diff] [blame] | 16 | extern void mxs_timer_init(void); |
Russell King | 6f91c5a | 2011-11-05 15:43:30 +0000 | [diff] [blame] | 17 | extern void mxs_restart(char, const char *); |
Dong Aisheng | 4e1b4ec | 2011-11-22 23:54:23 +0800 | [diff] [blame] | 18 | extern int mxs_saif_clkmux_select(unsigned int clkmux); |
Shawn Guo | fb410ae | 2010-12-09 23:12:37 +0800 | [diff] [blame] | 19 | |
Shawn Guo | fb410ae | 2010-12-09 23:12:37 +0800 | [diff] [blame] | 20 | extern int mx23_clocks_init(void); |
| 21 | extern void mx23_map_io(void); |
Shawn Guo | fb410ae | 2010-12-09 23:12:37 +0800 | [diff] [blame] | 22 | |
Shawn Guo | fb410ae | 2010-12-09 23:12:37 +0800 | [diff] [blame] | 23 | extern int mx28_clocks_init(void); |
| 24 | extern void mx28_map_io(void); |
Shawn Guo | fb410ae | 2010-12-09 23:12:37 +0800 | [diff] [blame] | 25 | |
| 26 | extern void icoll_init_irq(void); |
Shawn Guo | 4e0a1b8 | 2012-08-20 10:14:56 +0800 | [diff] [blame] | 27 | extern void icoll_handle_irq(struct pt_regs *); |
Shawn Guo | fb410ae | 2010-12-09 23:12:37 +0800 | [diff] [blame] | 28 | |
Shawn Guo | fb410ae | 2010-12-09 23:12:37 +0800 | [diff] [blame] | 29 | #endif /* __MACH_MXS_COMMON_H__ */ |