u-boot/drivers/cpu
Anatolij Gustschin 74e8fb03bd 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: 3ee6ea443e ("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>
2020-05-22 13:27:46 +02:00
..
bmips_cpu.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
cpu_sandbox.c cpu: sandbox: support is_current 2020-05-03 15:45:49 +02:00
cpu-uclass.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
imx8_cpu.c cpu: imx8: use intended cpu-thermal device when getting temp value 2020-05-22 13:27:46 +02:00
Kconfig cpu: Add a RISC-V CPU driver 2018-12-18 09:56:26 +08:00
Makefile imx8: move i.MX8 cpu desc code to drivers/cpu/imx8_cpu.c 2019-10-08 16:35:59 +02:00
mpc83xx_cpu.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mpc83xx_cpu.h cpu: Add MPC83xx CPU driver 2018-09-18 08:12:21 -06:00
riscv_cpu.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00