cpu: imx8: fix get core name and rate
authorPeng Fan <peng.fan@nxp.com>
Sun, 3 May 2020 13:58:53 +0000 (21:58 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 3 May 2020 13:45:49 +0000 (15:45 +0200)
commit55bc96f3b675d719a473a8985636e76381b18cb8
tree4de8eea5c6948857f58100bdb00beeaa9053f002
parent177f9996d3cdf04a592bc0fece640cf4d492d1cb
cpu: imx8: fix get core name and rate

When current cpu is A53, using is_cortex_a53 could not detect A72
information, so check cpu device compatible property to get
the correct information.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/cpu/imx8_cpu.c