MLK-16760 soc: imx: support i.MX8MQ new revision SoC
authorAnson Huang <Anson.Huang@nxp.com>
Fri, 3 Nov 2017 10:31:55 +0000 (18:31 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:39:06 +0000 (15:39 -0500)
commitc99674d65605fb5264b05ccc61dc8cc6cf3bd6bc
tree8dbd4e9fca3ada166ac26d26108691c5d6ff4cc0
parent34b0064b07ce307493420d4274584ff646bcbe02
MLK-16760 soc: imx: support i.MX8MQ new revision SoC

On i.MX8MQ, the new revision SoC does NOT update the
revision info in ANATOP_DIGPROG register, to support
dynamic SOC id/revision detection, only reading info
from ANATOP_DIGPROG is not working now, change to read
SOC id/revision from ATF which is in secure world.

The ATF will read the ANATOP_DIGPROG as well as ROM
version to decide the SOC revision.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Bai Ping <ping.bai@nxp.com>
drivers/soc/imx/soc-imx8.c
include/soc/imx/fsl_sip.h