]> git.dujemihanovic.xyz Git - u-boot.git/commit
thermal: imx_tmu: Move architecture code into driver
authorMarek Vasut <marex@denx.de>
Tue, 4 Apr 2023 19:25:10 +0000 (21:25 +0200)
committerStefano Babic <sbabic@denx.de>
Sun, 21 May 2023 11:48:52 +0000 (13:48 +0200)
commiteb1e370a9baeb0c50401a7473c8f564541e155ea
tree11aa4c4fd96120732fc5e275dd5b116c535bc352
parent114eb2505f45f060347416b24cd8f6d4f335f010
thermal: imx_tmu: Move architecture code into driver

Stop polluting the architecture directory with driver specific code,
move it into driver where it should be. Split the code slightly so
the MX8MM/MX8MN fuse readout and programming and MX8MP fuse readout
and programming are in their separate functions, and called in case
of matching SoC.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
arch/arm/mach-imx/imx8m/soc.c
drivers/thermal/imx_tmu.c