diff options
author | Anatolij Gustschin <agust@denx.de> | 2020-05-20 01:31:44 +0200 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2020-05-22 13:27:46 +0200 |
commit | 74e8fb03bdafd096bcfaa36268376874dfb5c7d4 (patch) | |
tree | 3ed22b51f4ab6a7cbb069859d24506959ec4d39e /include/version.h | |
parent | 69365540cf607d5212ebd014869e4f55c1de8044 (diff) |
cpu: imx8: use intended cpu-thermal device when getting temp value
This fixes getting DT alert and critical pdata values in imx_scu_thermal
driver. On i.MX8QXP using not initialized alert pdata value resulted in
boot hang and endless loop outputting:
CPU Temperature (47200C) has beyond alert (0C), close to critical (0C) waiting...
While at it, preset CPU type values once to avoid multiple calls
of device_is_compatible() for same property.
Fixes: 3ee6ea443eb4 ("cpu: imx_cpu: Print the CPU temperature for iMX8QM A72")
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include/version.h')
0 files changed, 0 insertions, 0 deletions