]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx: Generalize fixup_thermal_trips
authorPeng Fan <peng.fan@nxp.com>
Thu, 19 Sep 2024 04:01:34 +0000 (12:01 +0800)
committerFabio Estevam <festevam@gmail.com>
Thu, 19 Sep 2024 03:12:41 +0000 (00:12 -0300)
commitd0fe80890ab1bee431ffaed5e75f35dfb5054b7b
treee1e010249891c07620dc175e7539affe1440b64b
parent5ee773e60b3f5e024d1177d4be52c07d741c228d
imx: Generalize fixup_thermal_trips

i.MX8M and i.MX9 have duplicated fixup_thermal_trips, so move it
to arch/arm/mach-imx/fdt.c to avoid duplicated code.

The critial temperature point for i.MX9 set to "maxc - 5" back to give
some margin.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/mach-imx/sys_proto.h
arch/arm/mach-imx/fdt.c
arch/arm/mach-imx/imx8m/soc.c
arch/arm/mach-imx/imx9/soc.c