ARM: i.MX8MQ: Read only ROM version major
Don't read all 32-bits located at IMX8MQ_ROM_VERSION_*0 since that,
besides ROM version major in LSB, willl also contain minor components
which we don't account for in the following checks. Change the code to
only read LSB instead.

This is a port of a vendor U-Boot[1] commit
0377dc8 ("MLK-19465 imx8mq: Fix cpu
rev issue on B0.1 chip")

[1] https://source.codeaurora.org/external/imx/uboot-imx
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 13f7692 commit b53cab812b92f8691089f7765857044aebba461e
@Andrey Smirnov Andrey Smirnov authored on 11 Feb 2019
Sascha Hauer committed on 12 Feb 2019
Showing 1 changed file
View
arch/arm/mach-imx/include/mach/imx8mq.h