aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorPeng Fan <[email protected]>2025-04-23 14:37:04 +0000
committerShawn Guo <[email protected]>2025-05-09 10:16:28 +0000
commit390c01073f5d0bd64db37926ddb232f33b83620d (patch)
treeaf9595d7036e75855d75f32be1a51949347a6e61 /scripts/gcc-plugins
parentLinux 6.15-rc1 (diff)
downloadkernel-390c01073f5d0bd64db37926ddb232f33b83620d.tar.gz
kernel-390c01073f5d0bd64db37926ddb232f33b83620d.zip
soc: imx8m: Cleanup with adding imx8m_soc_[un]prepare
There is a common flow to i.MX8M family, map OCOTP register base and enable ocotp clk first before read Unique ID from OCOTP. So introduce imx8m_soc_prepare to do ioremap and enable the ocotp clk, and introduce imx8m_soc_unprepare to disable the clk and do iounmap. With this patch, no need to spread the ioremap and clk handling in each soc_revision hook. Signed-off-by: Peng Fan <[email protected]> Reviewed-by: Marco Felsch <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions