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)
committerShawn Guo <shawnguo@kernel.org>
Wed, 7 Jun 2017 03:38:15 +0000 (11:38 +0800)
commitb3ea575770c7eeb259c77b6861cd14d00eb309df
treee485f9521070a44a5d3c81422896bc5589909889
parentda6ee0c300b8a38cd79e64c9b1fd1a3ba94da7b2
ARM: imx: Add MXC_CPU_IMX6ULL and cpu_is_imx6ull

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>
arch/arm/mach-imx/cpu.c
arch/arm/mach-imx/mxc.h