[PATCH] thermal: imx_scu_thermal: prevent boot hang with zero pdata
Anatolij Gustschin
agust at denx.de
Fri May 22 23:15:08 CEST 2020
On Wed, 20 May 2020 10:21:53 +0200
Anatolij Gustschin agust at denx.de wrote:
> 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 at denx.de>
> ---
> drivers/thermal/imx_scu_thermal.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Applied.
--
Anatolij
More information about the U-Boot
mailing list