diff options
author | Anatolij Gustschin <agust@denx.de> | 2020-05-20 10:21:53 +0200 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2020-05-22 13:29:25 +0200 |
commit | 4e7413a998ba5666aa4ee0b4f49789f52b1281b1 (patch) | |
tree | eabaca7767d2e6dfc0c36d43f8eb92852b01dd29 /include/efi.h | |
parent | 74e8fb03bdafd096bcfaa36268376874dfb5c7d4 (diff) |
thermal: imx_scu_thermal: prevent boot hang with zero pdata
Should initialization of pdata values have failed for some reason,
we end up in endless loop when getting the CPU temperature value
and can not boot. Check alert value in pdata and only retry reading
temperature if alert value is not zero. Also shorten the temperature
info string.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'include/efi.h')
0 files changed, 0 insertions, 0 deletions