iMX8MQ: Recognize the B2 revision
authorYe Li <ye.li@nxp.com>
Fri, 19 Mar 2021 07:57:16 +0000 (15:57 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 8 Apr 2021 07:18:29 +0000 (09:18 +0200)
commitea2b26fb1280a1009e6a59872d5e61d83c06422a
treedaa5830d4efc3c12f897f3e2de7311e6d361f590
parent0d77b4522f061705e238b9116c9321ed9630b0b7
iMX8MQ: Recognize the B2 revision

i.MX8MQ B2 is using same value in OCOTP_READ_FUSE_DATA like B1, so
we have to check the ROM verision to distinguish the revision.

As we have checked the B1 rev for sticky bits work around in
secure boot. So it won't apply on B2.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/arch-imx/cpu.h
arch/arm/mach-imx/imx8m/soc.c