imx6dq: Fix chip version issue for rev1.3
authorYe Li <ye.li@nxp.com>
Wed, 10 Jul 2019 10:38:37 +0000 (10:38 +0000)
committerStefano Babic <sbabic@denx.de>
Fri, 19 Jul 2019 18:32:24 +0000 (20:32 +0200)
commit5fdef6c4c5cb33ad675b5203eea39230d6f84914
treebf507df94fab53ff5dc5f03569813f0a49f20a3c
parent2756fd16cafd6a110382ea90a17ed3ee3381b2cf
imx6dq: Fix chip version issue for rev1.3

According to iMX6DQ RM, the minor field (low 8 bits) in DIGPROG is not
aligned on silicon revision 1.3. So update get_cpu_rev to correct the
revision.

0x00630002 Silicon revision 1.2
0x00630005 Silicon revision 1.3
0x00630006 Silicon revision 1.6

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