OSDN Git Service

ARM: imx: Add MXC_CPU_IMX6ULL and cpu_is_imx6ull
authorLeonard Crestez <leonard.crestez@nxp.com>
Tue, 6 Jun 2017 17:50:42 +0000 (20:50 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Apr 2018 17:48:22 +0000 (19:48 +0200)
commit72da86afee86904a7bb5963e52d11e53d2e29641
tree78b969dfa1735ccef0e9ea9c4d47d3372449bbcd
parente9399672360e6ecdcb6a9ebfe88e156922d1694c
ARM: imx: Add MXC_CPU_IMX6ULL and cpu_is_imx6ull

[ Upstream commit b3ea575770c7eeb259c77b6861cd14d00eb309df ]

Support for imx6ull is already present but it's based on
of_machine_is_compatible("fsl,imx6ull") checks. Add it to the MXC_CPU_*
enumeration as well.

This also fixes /sys/devices/soc0/soc_id reading "Unknown".

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-imx/cpu.c
arch/arm/mach-imx/mxc.h