]> git.baikalelectronics.ru Git - uboot.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)
commit56c4171fd0706d27d781b24f3d859813c2b96c18
tree11aa4c4fd96120732fc5e275dd5b116c535bc352
parent2f56f3a1bfa942089aae373f437c3518c8971399
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