imx: introduce is_imx8mq helper
authorPeng Fan <peng.fan@nxp.com>
Tue, 20 Nov 2018 10:19:22 +0000 (10:19 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 1 Jan 2019 13:12:18 +0000 (14:12 +0100)
Introduce is_imx8mq header macro

Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/mach-imx/sys_proto.h

index f8890b57da0ad4ba6bf44bf2b4429b2c714ff6f1..e3dd5f50641b5532ec47df53360aa0e0a66da165 100644 (file)
@@ -42,6 +42,7 @@
 
 #define is_mx7ulp() (is_cpu_type(MXC_CPU_MX7ULP))
 
+#define is_imx8mq() (is_cpu_type(MXC_CPU_IMX8MQ))
 #define is_imx8qxp() (is_cpu_type(MXC_CPU_IMX8QXP))
 
 #ifdef CONFIG_MX6