summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/mach-imx/sys_proto.h
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2018-10-11 02:06:19 -0700
committerYe Li <ye.li@nxp.com>2018-10-17 01:57:42 -0700
commit264f90d7638a900913f4f87ea4bad0a688f01bc1 (patch)
treec882c961fe9f222035ca9a0be34b989f6da77ec6 /arch/arm/include/asm/mach-imx/sys_proto.h
parent1d4209c3676cf9b68cab253140bd935086ebc10f (diff)
MLK-19960-1 imx8mm: Add support for variant parts
iMX8MM family has several variant parts below. Add CPU type and relevant updates i.MX 8M Mini Quad Full featured, 4x A53 i.MX 8M Mini QuadLite No VPU, 4x A53 i.MX 8M Mini Dual Full featured, 2x A53 i.MX 8M Mini DualLite No VPU, 2x A53 i.MX 8M Mini Solo Full featured, 1x A53 i.MX 8M Mini SoloLite No VPU, 1x A53 Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'arch/arm/include/asm/mach-imx/sys_proto.h')
-rw-r--r--arch/arm/include/asm/mach-imx/sys_proto.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/include/asm/mach-imx/sys_proto.h b/arch/arm/include/asm/mach-imx/sys_proto.h
index 0c7908b8c77..e2ae595eeb4 100644
--- a/arch/arm/include/asm/mach-imx/sys_proto.h
+++ b/arch/arm/include/asm/mach-imx/sys_proto.h
@@ -47,7 +47,14 @@
#define is_imx8mq() (is_cpu_type(MXC_CPU_IMX8MQ) || is_cpu_type(MXC_CPU_IMX8MD) || is_cpu_type(MXC_CPU_IMX8MQL))
#define is_imx8md() (is_cpu_type(MXC_CPU_IMX8MD))
#define is_imx8mql() (is_cpu_type(MXC_CPU_IMX8MQL))
-#define is_imx8mm() (is_cpu_type(MXC_CPU_IMX8MM))
+#define is_imx8mm() (is_cpu_type(MXC_CPU_IMX8MM) || is_cpu_type(MXC_CPU_IMX8MML) ||\
+ is_cpu_type(MXC_CPU_IMX8MMD) || is_cpu_type(MXC_CPU_IMX8MMDL) || \
+ is_cpu_type(MXC_CPU_IMX8MMS) || is_cpu_type(MXC_CPU_IMX8MMSL))
+#define is_imx8mml() (is_cpu_type(MXC_CPU_IMX8MML))
+#define is_imx8mmd() (is_cpu_type(MXC_CPU_IMX8MMD))
+#define is_imx8mmdl() (is_cpu_type(MXC_CPU_IMX8MMDL))
+#define is_imx8mms() (is_cpu_type(MXC_CPU_IMX8MMS))
+#define is_imx8mmsl() (is_cpu_type(MXC_CPU_IMX8MMSL))
#define is_imx8qm() (is_cpu_type(MXC_CPU_IMX8QM))
#define is_imx8qxp() (is_cpu_type(MXC_CPU_IMX8QXP))
#define is_imx8dx() (is_cpu_type(MXC_CPU_IMX8DX))