aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/include/mach/mxc.h
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2009-01-26 16:34:52 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2009-03-13 10:33:45 +0100
commit5512e88f3a1f1b498fd07181f14596ee117b3471 (patch)
treec764b8ebbc0030147d7b7bf9a150a464d4d5904d /arch/arm/plat-mxc/include/mach/mxc.h
parentccfe30a7c8329e85ae426813a1060e27e2547dd1 (diff)
downloadkernel_samsung_smdk4412-5512e88f3a1f1b498fd07181f14596ee117b3471.zip
kernel_samsung_smdk4412-5512e88f3a1f1b498fd07181f14596ee117b3471.tar.gz
kernel_samsung_smdk4412-5512e88f3a1f1b498fd07181f14596ee117b3471.tar.bz2
arm/imx21: add kbuild support for the Freescale i.MX21
* adds Kconfig variables * specifies different physical address for i.MX21 because of the different memory layouts * disables support for UART5/UART6 in the i.MX serial driver (the i.MX21 doesn't have those modules) Based on code from "Martin Fuzzey" <mfuzzey@gmail.com> Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/mxc.h')
-rw-r--r--arch/arm/plat-mxc/include/mach/mxc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mxc.h b/arch/arm/plat-mxc/include/mach/mxc.h
index f6caab0..bbd848e 100644
--- a/arch/arm/plat-mxc/include/mach/mxc.h
+++ b/arch/arm/plat-mxc/include/mach/mxc.h
@@ -29,6 +29,10 @@
# define cpu_is_mx31() (0)
#endif
+#ifndef CONFIG_MACH_MX21
+# define cpu_is_mx21() (0)
+#endif
+
#ifndef CONFIG_MACH_MX27
# define cpu_is_mx27() (0)
#endif