summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <[email protected]>2019-08-26 08:11:46 +0000
committerStefano Babic <[email protected]>2019-10-08 16:35:59 +0200
commitb5fd5fd5a4d770d6ea39a69355c95c4acabb7cac (patch)
treec510c4370cf33e549dacbab243382cff90d89f15
parentbcf94abd1cab06d066142aa39aa044b94071c5b7 (diff)
imx: sys_proto: add is_imx8qm helper
Add is_imx8qm helper which could be used by SoC and Driver code. Signed-off-by: Peng Fan <[email protected]>
-rw-r--r--arch/arm/include/asm/mach-imx/sys_proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mach-imx/sys_proto.h b/arch/arm/include/asm/mach-imx/sys_proto.h
index 260608062e1..449366fa8d4 100644
--- a/arch/arm/include/asm/mach-imx/sys_proto.h
+++ b/arch/arm/include/asm/mach-imx/sys_proto.h
@@ -44,6 +44,7 @@
#define is_mx7ulp() (is_cpu_type(MXC_CPU_MX7ULP))
#define is_imx8mq() (is_cpu_type(MXC_CPU_IMX8MQ))
+#define is_imx8qm() (is_cpu_type(MXC_CPU_IMX8QM))
#define is_imx8qxp() (is_cpu_type(MXC_CPU_IMX8QXP))
#ifdef CONFIG_MX6