diff options
author | Leonard Crestez <leonard.crestez@nxp.com> | 2017-06-06 20:50:42 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2017-06-07 06:38:15 +0300 |
commit | b3ea575770c7eeb259c77b6861cd14d00eb309df (patch) | |
tree | e485f9521070a44a5d3c81422896bc5589909889 /arch/arm/mach-imx/cpu.c | |
parent | da6ee0c300b8a38cd79e64c9b1fd1a3ba94da7b2 (diff) | |
download | linux-b3ea575770c7eeb259c77b6861cd14d00eb309df.tar.xz |
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>
Diffstat (limited to 'arch/arm/mach-imx/cpu.c')
-rw-r--r-- | arch/arm/mach-imx/cpu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c index b3347d32349f..94906ed49392 100644 --- a/arch/arm/mach-imx/cpu.c +++ b/arch/arm/mach-imx/cpu.c @@ -131,6 +131,9 @@ struct device * __init imx_soc_device_init(void) case MXC_CPU_IMX6UL: soc_id = "i.MX6UL"; break; + case MXC_CPU_IMX6ULL: + soc_id = "i.MX6ULL"; + break; case MXC_CPU_IMX7D: soc_id = "i.MX7D"; break; |