hw/msic: imx6_ccm: Correct register value for silicon type
commit459149716331dbf06e21da6e72c0fb4340b47bd2
authorBin Meng <bin.meng@windriver.com>
Wed, 6 Jan 2021 06:35:02 +0000 (6 14:35 +0800)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 8 Jan 2021 15:13:39 +0000 (8 15:13 +0000)
treee236545e4d3eb0e26f381d335ee29d65ff120d51
parent56a11a9b7580b576a9db930667be07f1dd1564d5
hw/msic: imx6_ccm: Correct register value for silicon type

Currently when U-Boot boots, it prints "??" for i.MX processor:

  CPU:   Freescale i.MX?? rev1.0 at 792 MHz

The register that was used to determine the silicon type is
undocumented in the latest IMX6DQRM (Rev. 6, 05/2020), but we
can refer to get_cpu_rev() in arch/arm/mach-imx/mx6/soc.c in
the U-Boot source codes that USB_ANALOG_DIGPROG is used.

Update its reset value to indicate i.MX6Q.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20210106063504.10841-3-bmeng.cn@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/misc/imx6_ccm.c