summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mxs/include/mach/hardware.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@freescale.com>2010-12-13 20:54:58 +0800
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-12-13 14:49:10 +0100
commitb0b6e42aa63fbd00a3b509e75702aca4be8618cd (patch)
tree6a232acdafada2e78f574f6afca39766ba750e99 /arch/arm/mach-mxs/include/mach/hardware.h
parent81e8d2162566379adcf4b3700f03845c62577145 (diff)
ARM: mxs: Add core definitions
Add core definitions for MXS-based SoC MX23 and MX28. Signed-off-by: Shawn Guo <shawn.guo@freescale.com> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxs/include/mach/hardware.h')
-rw-r--r--arch/arm/mach-mxs/include/mach/hardware.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/include/mach/hardware.h b/arch/arm/mach-mxs/include/mach/hardware.h
new file mode 100644
index 000000000000..53e89a09bf0d
--- /dev/null
+++ b/arch/arm/mach-mxs/include/mach/hardware.h
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright 2008 Juergen Beisert, kernel@pengutronix.de
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+
+#ifndef __MACH_MXS_HARDWARE_H__
+#define __MACH_MXS_HARDWARE_H__
+
+#ifdef __ASSEMBLER__
+#define IOMEM(addr) (addr)
+#else
+#define IOMEM(addr) ((void __force __iomem *)(addr))
+#endif
+
+#endif /* __MACH_MXS_HARDWARE_H__ */