MLK-19465 imx8mq: Fix cpu rev issue on B0.1 chip

On B0.1 chip, the value is 0x1020 not 0x20, due to minor version
So if reading the word and comparing with 0x20, the result is wrong.

Fix the issue by only reading low major version byte for ROM version

Signed-off-by: Ye Li <>
(cherry picked from commit d4d5b6545bdd099d4d6d04c63c5035b23eda583a)

Change-Id: Id5eb6519e7735fb545ed7ee2f50eb9c41c9f4b37
(cherry picked from commit 546aad81323aa44b3b8b65c3764a70511f341cf1)
1 file changed