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 updated.
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 <ye.li@nxp.com>
(cherry picked from commit d4d5b6545bdd099d4d6d04c63c5035b23eda583a)
1 file changed