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)

Change-Id: Id5eb6519e7735fb545ed7ee2f50eb9c41c9f4b37
diff --git a/plat/freescale/imx8mq/src.c b/plat/freescale/imx8mq/src.c
index 11e30ee..a9f1185 100644
--- a/plat/freescale/imx8mq/src.c
+++ b/plat/freescale/imx8mq/src.c
@@ -55,9 +55,9 @@
 	uint32_t rom_version;
 
 	val = mmio_read_32(IMX_ANAMIX_BASE + DIGPROG);
-	rom_version = mmio_read_32(IMX_ROM_BASE + SW_INFO_A0);
+	rom_version = mmio_read_8(IMX_ROM_BASE + SW_INFO_A0);
 	if (rom_version != 0x10) {
-		rom_version = mmio_read_32(IMX_ROM_BASE + SW_INFO_B0);
+		rom_version = mmio_read_8(IMX_ROM_BASE + SW_INFO_B0);
 		if (rom_version >= 0x20) {
 			val &= ~0xff;
 			val |= rom_version;