summaryrefslogtreecommitdiff
path: root/ANDROID_3.4.5/arch/arm/mach-mxs/include/mach/common.h
diff options
context:
space:
mode:
authorKevin2014-11-15 09:58:27 +0800
committerKevin2014-11-15 09:58:27 +0800
commit392e8802486cb573b916e746010e141a75f507e6 (patch)
tree50029aca02c81f087b90336e670b44e510782330 /ANDROID_3.4.5/arch/arm/mach-mxs/include/mach/common.h
downloadFOSSEE-netbook-kernel-source-392e8802486cb573b916e746010e141a75f507e6.tar.gz
FOSSEE-netbook-kernel-source-392e8802486cb573b916e746010e141a75f507e6.tar.bz2
FOSSEE-netbook-kernel-source-392e8802486cb573b916e746010e141a75f507e6.zip
init android origin source code
Diffstat (limited to 'ANDROID_3.4.5/arch/arm/mach-mxs/include/mach/common.h')
-rw-r--r--ANDROID_3.4.5/arch/arm/mach-mxs/include/mach/common.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/ANDROID_3.4.5/arch/arm/mach-mxs/include/mach/common.h b/ANDROID_3.4.5/arch/arm/mach-mxs/include/mach/common.h
new file mode 100644
index 00000000..c50c3ea2
--- /dev/null
+++ b/ANDROID_3.4.5/arch/arm/mach-mxs/include/mach/common.h
@@ -0,0 +1,36 @@
+/*
+ * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
+ */
+
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __MACH_MXS_COMMON_H__
+#define __MACH_MXS_COMMON_H__
+
+struct clk;
+
+extern const u32 *mxs_get_ocotp(void);
+extern int mxs_reset_block(void __iomem *);
+extern void mxs_timer_init(struct clk *, int);
+extern void mxs_restart(char, const char *);
+extern int mxs_saif_clkmux_select(unsigned int clkmux);
+
+extern int mx23_register_gpios(void);
+extern int mx23_clocks_init(void);
+extern void mx23_map_io(void);
+extern void mx23_init_irq(void);
+
+extern int mx28_register_gpios(void);
+extern int mx28_clocks_init(void);
+extern void mx28_map_io(void);
+extern void mx28_init_irq(void);
+
+extern void icoll_init_irq(void);
+
+extern int mxs_clkctrl_timeout(unsigned int reg_offset, unsigned int mask);
+
+#endif /* __MACH_MXS_COMMON_H__ */