]> git.baikalelectronics.ru Git - uboot.git/commit
cpu: imx8: fix type and rate detection
authorAnatolij Gustschin <agust@denx.de>
Sat, 16 May 2020 20:34:19 +0000 (22:34 +0200)
committerAnatolij Gustschin <agust@denx.de>
Fri, 22 May 2020 11:26:33 +0000 (13:26 +0200)
commite19e7b1af1789ea03beaf33270d7fff630c8ad58
tree9c02a166d1be4b6adf64eef68c5b3ba7d8b6819d
parent8d9ddeedef4e05d9d7039bf7fcf1374de6c24460
cpu: imx8: fix type and rate detection

CPU type and rate detection is broken, for A35 cpu we get A53:
...
sc_pm_get_clock_rate: resource:0 clk:2: res:3
Could not read CPU frequency: -22
CPU:   NXP i.MX8QXP RevB A53 at 0 MHz at 47C

Fixes: 14a37777ecdb ("cpu: imx8: fix get core name and rate")
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
drivers/cpu/imx8_cpu.c