imx: sys_proto: add is_imx8qm helper
authorPeng Fan <peng.fan@nxp.com>
Mon, 26 Aug 2019 08:11:46 +0000 (08:11 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:35:59 +0000 (16:35 +0200)
Add is_imx8qm helper which could be used by SoC and Driver code.

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

index 260608062e117a917ff9ae4f6ce80f4bf767d975..449366fa8d4312d280ff749f4b9f50aeff85a53b 100644 (file)
@@ -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