summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/mach-imx
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2019-06-27 17:23:49 +0800
committerStefano Babic <sbabic@denx.de>2019-11-05 10:27:18 +0100
commit2434131a7be41b19c2b6ddaa10369274ba9ffcc6 (patch)
treec66ba08d659a24a6c76fb134eae90d379c29b07c /arch/arm/include/asm/mach-imx
parent66ec590c49f1704735336bcfd1c0890713151e26 (diff)
imx8mn: support get_cpu_rev
Add a dummy cpu type and support get_cpu_rev for i.MX8MN Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch/arm/include/asm/mach-imx')
-rw-r--r--arch/arm/include/asm/mach-imx/sys_proto.h2
1 files changed, 2 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 1e627c8fc3..459d73db03 100644
--- a/arch/arm/include/asm/mach-imx/sys_proto.h
+++ b/arch/arm/include/asm/mach-imx/sys_proto.h
@@ -53,6 +53,8 @@
#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_imx8mn() (is_cpu_type(MXC_CPU_IMX8MN))
+
#define is_imx8qxp() (is_cpu_type(MXC_CPU_IMX8QXP))
#ifdef CONFIG_MX6