soc: imx8m: Introduce soc_uid hook
authorPeng Fan <peng.fan@nxp.com>
Wed, 23 Apr 2025 14:37:05 +0000 (22:37 +0800)
committerShawn Guo <shawnguo@kernel.org>
Fri, 9 May 2025 10:16:28 +0000 (18:16 +0800)
commit698105013949ec3f47286bd67f71c65597e02393
tree12953de7d74ce86d1e6164b4b1d8040dec15baeb
parent390c01073f5d0bd64db37926ddb232f33b83620d
soc: imx8m: Introduce soc_uid hook

Cleanup code by introducing soc_uid hook, i.MX8MQ/M/N could reuse
one function imx8m_soc_uid, i.MX8MP could have its own one.

With this patch, it will easy to add 128bits UID support for i.MX8MP.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/soc-imx8m.c