diff options
| author | Peng Fan <[email protected]> | 2024-09-19 12:01:34 +0800 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2024-09-19 00:12:41 -0300 |
| commit | d0fe80890ab1bee431ffaed5e75f35dfb5054b7b (patch) | |
| tree | e1e010249891c07620dc175e7539affe1440b64b /arch/arm/include | |
| parent | 5ee773e60b3f5e024d1177d4be52c07d741c228d (diff) | |
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 <[email protected]>
Diffstat (limited to 'arch/arm/include')
| -rw-r--r-- | arch/arm/include/asm/mach-imx/sys_proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/mach-imx/sys_proto.h b/arch/arm/include/asm/mach-imx/sys_proto.h index c146a223b71..31ace977d2b 100644 --- a/arch/arm/include/asm/mach-imx/sys_proto.h +++ b/arch/arm/include/asm/mach-imx/sys_proto.h @@ -280,4 +280,5 @@ enum boot_device get_boot_device(void); int disable_cpu_nodes(void *blob, const char * const *nodes_path, u32 num_disabled_cores, u32 max_cores); +int fixup_thermal_trips(void *blob, const char *name); #endif |
