[U-Boot] [PATCH V2 04/15] imx: introduce is_imx8mq helper

Peng Fan peng.fan at nxp.com
Tue Nov 20 10:19:22 UTC 2018


Introduce is_imx8mq header macro

Signed-off-by: Peng Fan <peng.fan at nxp.com>
---

V2:
 None

 arch/arm/include/asm/mach-imx/sys_proto.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/include/asm/mach-imx/sys_proto.h b/arch/arm/include/asm/mach-imx/sys_proto.h
index f8890b57da..e3dd5f5064 100644
--- a/arch/arm/include/asm/mach-imx/sys_proto.h
+++ b/arch/arm/include/asm/mach-imx/sys_proto.h
@@ -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
-- 
2.14.1



More information about the U-Boot mailing list