Message ID | 20200503141957.14635-10-peng.fan@nxp.com |
---|---|
State | New |
Headers | show |
Series | imx: tmu support and scu thermal update | expand |
> From: Ye Li <ye.li at nxp.com> > Like iMX8MM, iMX8MN also needs SW to load TMU TASR and TCALIV registers > value from fuse before enabling TMU calibration. Otherwise the calibration > is not exact. > Reviewed-by: Anson Huang <Anson.Huang at nxp.com> > Signed-off-by: Ye Li <ye.li at nxp.com> > Signed-off-by: Peng Fan <peng.fan at nxp.com> Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic
diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c index 6567936f4b..1f42455aa0 100644 --- a/arch/arm/mach-imx/imx8m/soc.c +++ b/arch/arm/mach-imx/imx8m/soc.c @@ -403,7 +403,7 @@ void reset_cpu(ulong addr) void imx_tmu_arch_init(void *reg_base) { - if (is_imx8mm()) { + if (is_imx8mm() || is_imx8mn()) { /* Load TCALIV and TASR from fuses */ struct ocotp_regs *ocotp = (struct ocotp_regs *)OCOTP_BASE_ADDR;