spi-topcliff-pch: add recovery processing in case wait-event timeout
[zen-stable.git] / arch / arm / mach-mxs / include / mach / common.h
blobe1237ab25862416f52de15a7812485d97f6a5f6c
1 /*
2 * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
3 */
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 */
11 #ifndef __MACH_MXS_COMMON_H__
12 #define __MACH_MXS_COMMON_H__
14 struct clk;
16 extern const u32 *mxs_get_ocotp(void);
17 extern int mxs_reset_block(void __iomem *);
18 extern void mxs_timer_init(struct clk *, int);
19 extern void mxs_restart(char, const char *);
20 extern int mxs_saif_clkmux_select(unsigned int clkmux);
22 extern int mx23_register_gpios(void);
23 extern int mx23_clocks_init(void);
24 extern void mx23_map_io(void);
25 extern void mx23_init_irq(void);
27 extern int mx28_register_gpios(void);
28 extern int mx28_clocks_init(void);
29 extern void mx28_map_io(void);
30 extern void mx28_init_irq(void);
32 extern void icoll_init_irq(void);
34 #endif /* __MACH_MXS_COMMON_H__ */