Fix atf build.
Change-Id: I936a4ecf841c8be9d3764ef19087e6640e9845e4
(cherry picked from commit fc3430ea529238de79ecc22589950be9d3657edc)
diff --git a/plat/freescale/imx8mq/src.c b/plat/freescale/imx8mq/src.c
index 83de840..2a540a9 100644
--- a/plat/freescale/imx8mq/src.c
+++ b/plat/freescale/imx8mq/src.c
@@ -62,7 +62,7 @@
if (rom_version == 0x20) {
val &= ~0xff;
val |= rom_version;
- } else if (mmio_read_32(IMX_OCOTP_BASE + SW_INFO_B1)) {
+ } else if (mmio_read_32(IMX_OCOTP_BASE + SW_INFO_B1)
== 0xff0055aa) {
/* 0xff0055aa is magic number for B1 */
val = 0x21;