aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/arm/mach-imx/mxc.h
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2018-09-30 11:32:26 +0800
committerShawn Guo <shawnguo@kernel.org>2018-09-30 15:31:40 +0800
commitc90dec00cc84942614bc41f75dc24a87b6d5763b (patch)
treed71ca7638f11ab7bbe50666da755c6bc357774b2 /arch/arm/mach-imx/mxc.h
parentARM: imx6: register pm_power_off handler if "fsl,pmic-stby-poweroff" is set (diff)
downloadwireguard-linux-c90dec00cc84942614bc41f75dc24a87b6d5763b.tar.xz
wireguard-linux-c90dec00cc84942614bc41f75dc24a87b6d5763b.zip
ARM: imx: add i.mx6ulz msl support
The i.MX 6ULZ processor is a high-performance, ultra cost-efficient consumer Linux processor featuring an advanced implementation of a single Arm® Cortex®-A7 core, which operates at speeds up to 900 MHz. This patch adds basic MSL support for i.MX6ULZ, the i.MX6ULZ has same soc_id as i.MX6ULL, and SRC_SBMR2 bit[6] is to differentiate i.MX6ULZ from i.MX6ULL, 1'b1 means i.MX6ULZ and 1'b0 means i.MX6ULL. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/mach-imx/mxc.h')
-rw-r--r--arch/arm/mach-imx/mxc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mxc.h b/arch/arm/mach-imx/mxc.h
index 026e2ca45f1e..b130a53ff62a 100644
--- a/arch/arm/mach-imx/mxc.h
+++ b/arch/arm/mach-imx/mxc.h
@@ -40,6 +40,8 @@
#define MXC_CPU_IMX6Q 0x63
#define MXC_CPU_IMX6UL 0x64
#define MXC_CPU_IMX6ULL 0x65
+/* virtual cpu id for i.mx6ulz */
+#define MXC_CPU_IMX6ULZ 0x6b
#define MXC_CPU_IMX6SLL 0x67
#define MXC_CPU_IMX7D 0x72
@@ -80,6 +82,11 @@ static inline bool cpu_is_imx6ull(void)
return __mxc_cpu_type == MXC_CPU_IMX6ULL;
}
+static inline bool cpu_is_imx6ulz(void)
+{
+ return __mxc_cpu_type == MXC_CPU_IMX6ULZ;
+}
+
static inline bool cpu_is_imx6sll(void)
{
return __mxc_cpu_type == MXC_CPU_IMX6SLL;