blob: be5a9c93cb2a849fa9c5f6f99d8637b140997d02 [file] [log] [blame]
Shawn Guofb410ae2010-12-09 23:12:37 +08001/*
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 Guo67f43082011-01-14 23:11:23 +080014extern const u32 *mxs_get_ocotp(void);
Shawn Guofb410ae2010-12-09 23:12:37 +080015extern int mxs_reset_block(void __iomem *);
Shawn Guoeeca6e62012-08-20 08:51:45 +080016extern void mxs_timer_init(void);
Russell King6f91c5a2011-11-05 15:43:30 +000017extern void mxs_restart(char, const char *);
Dong Aisheng4e1b4ec2011-11-22 23:54:23 +080018extern int mxs_saif_clkmux_select(unsigned int clkmux);
Shawn Guofb410ae2010-12-09 23:12:37 +080019
Shawn Guofb410ae2010-12-09 23:12:37 +080020extern int mx23_clocks_init(void);
21extern void mx23_map_io(void);
Shawn Guofb410ae2010-12-09 23:12:37 +080022
Shawn Guofb410ae2010-12-09 23:12:37 +080023extern int mx28_clocks_init(void);
24extern void mx28_map_io(void);
Shawn Guofb410ae2010-12-09 23:12:37 +080025
26extern void icoll_init_irq(void);
Shawn Guo4e0a1b82012-08-20 10:14:56 +080027extern void icoll_handle_irq(struct pt_regs *);
Shawn Guofb410ae2010-12-09 23:12:37 +080028
Shawn Guofb410ae2010-12-09 23:12:37 +080029#endif /* __MACH_MXS_COMMON_H__ */