[PATCH] cpu: imx8: use intended cpu-thermal device when getting temp value
Anatolij Gustschin
agust at denx.de
Fri May 22 23:14:14 CEST 2020
On Wed, 20 May 2020 01:31:44 +0200
Anatolij Gustschin agust at denx.de wrote:
> 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 at denx.de>
> ---
> This one supersedes the older patch here:
> http://patchwork.ozlabs.org/project/uboot/patch/20200516203420.24409-2-agust@denx.de
>
> drivers/cpu/imx8_cpu.c | 50 +++++++++++++++++++++---------------------
> 1 file changed, 25 insertions(+), 25 deletions(-)
Applied.
--
Anatolij
More information about the U-Boot
mailing list