summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/include/mach/hardware.h
diff options
context:
space:
mode:
authorAmit Kucheria2010-02-04 21:09:40 +0100
committerAmit Kucheria2010-02-09 17:32:10 +0100
commit438caa3f6c91ba21c539a8547c4075b619dc6500 (patch)
tree6590ae5c3b5140babd9642572a042695a2c49c82 /arch/arm/plat-mxc/include/mach/hardware.h
parentmxc: refactor timer code to use timer versions (diff)
downloadkernel-qcow2-linux-438caa3f6c91ba21c539a8547c4075b619dc6500.tar.gz
kernel-qcow2-linux-438caa3f6c91ba21c539a8547c4075b619dc6500.tar.xz
kernel-qcow2-linux-438caa3f6c91ba21c539a8547c4075b619dc6500.zip
mxc: changes to common plat-mxc code to add support for i.MX5
Prepare for i.MX5 SoC code by adding the relevant macros to common plat-mxc code. Signed-off-by: Amit Kucheria <amit.kucheria@canonical.com>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/hardware.h')
-rw-r--r--arch/arm/plat-mxc/include/mach/hardware.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/hardware.h b/arch/arm/plat-mxc/include/mach/hardware.h
index db14c56930a3..ebadf4ac43fc 100644
--- a/arch/arm/plat-mxc/include/mach/hardware.h
+++ b/arch/arm/plat-mxc/include/mach/hardware.h
@@ -27,6 +27,10 @@
(((unsigned long)((addr) - (module ## _BASE_ADDR)) < module ## _SIZE) ?\
(addr) - (module ## _BASE_ADDR) + (module ## _BASE_ADDR_VIRT) : 0))
+#ifdef CONFIG_ARCH_MX5
+#include <mach/mx51.h>
+#endif
+
#ifdef CONFIG_ARCH_MX3
#include <mach/mx3x.h>
#include <mach/mx31.h>