summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/mxc.h
diff options
context:
space:
mode:
authorFrank Li <Frank.Li@freescale.com>2015-07-10 02:09:41 +0800
committerShawn Guo <shawnguo@kernel.org>2015-07-14 15:06:14 +0800
commit022d0716bb7e8e0f11eff4ee65fb1e62ffe8f6e1 (patch)
treecef00e129e39b65c307570d151c0d8f6dfcd85db /arch/arm/mach-imx/mxc.h
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754 (diff)
downloadlinux-022d0716bb7e8e0f11eff4ee65fb1e62ffe8f6e1.tar.gz
linux-022d0716bb7e8e0f11eff4ee65fb1e62ffe8f6e1.tar.bz2
linux-022d0716bb7e8e0f11eff4ee65fb1e62ffe8f6e1.zip
ARM: imx: add i.mx6ul msl support
i.MX6UL is a new SOC, add MSL support Signed-off-by: Frank Li <Frank.Li@freescale.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/mach-imx/mxc.h')
-rw-r--r--arch/arm/mach-imx/mxc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mxc.h b/arch/arm/mach-imx/mxc.h
index c4436d4fd6fd..a5b1af6d7441 100644
--- a/arch/arm/mach-imx/mxc.h
+++ b/arch/arm/mach-imx/mxc.h
@@ -38,6 +38,7 @@
#define MXC_CPU_IMX6DL 0x61
#define MXC_CPU_IMX6SX 0x62
#define MXC_CPU_IMX6Q 0x63
+#define MXC_CPU_IMX6UL 0x64
#define MXC_CPU_IMX7D 0x72
#define IMX_DDR_TYPE_LPDDR2 1
@@ -165,6 +166,11 @@ static inline bool cpu_is_imx6sx(void)
return __mxc_cpu_type == MXC_CPU_IMX6SX;
}
+static inline bool cpu_is_imx6ul(void)
+{
+ return __mxc_cpu_type == MXC_CPU_IMX6UL;
+}
+
static inline bool cpu_is_imx6q(void)
{
return __mxc_cpu_type == MXC_CPU_IMX6Q;