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:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| bmips_cpu.c | ||
| cpu-uclass.c | ||
| cpu_sandbox.c | ||
| imx8_cpu.c | ||
| mpc83xx_cpu.c | ||
| mpc83xx_cpu.h | ||
| riscv_cpu.c | ||