
On Wed, 20 May 2020 01:31:44 +0200 Anatolij Gustschin agust@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@denx.de
This one supersedes the older patch here: http://patchwork.ozlabs.org/project/uboot/patch/20200516203420.24409-2-agust...
drivers/cpu/imx8_cpu.c | 50 +++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 25 deletions(-)
Applied.
-- Anatolij