MLK-20228 mx7ulp: Read chip ID from SIM register
authorYe Li <ye.li@nxp.com>
Wed, 7 Nov 2018 05:12:39 +0000 (21:12 -0800)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 11:28:46 +0000 (04:28 -0700)
commit00dfa82643b4e06c4c5e3830d35a82801e74ad81
tree265086b51a0ae485215fa4ef0007b5f6c272210d
parent362aaec61fc9baa0f701fcdafa95f40cb13b746d
MLK-20228 mx7ulp: Read chip ID from SIM register

Since from B0 TO, there is a Mirror of JTAG ID register added in
SIM. We can read the part revision from this register.
Update codes to use this register.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit de14e88698b9ae9b0a9ac674f16d65b3ceb4ccc2)
(cherry picked from commit 0d0d9acc04972792890776e3c066f05a349bb623)
arch/arm/mach-imx/mx7ulp/soc.c