clk: imx: select SPL_CLK_COMPOSITE_CCF when SPL_CLK_IMX8MP
authorAdam Ford <aford173@gmail.com>
Tue, 18 Mar 2025 23:38:36 +0000 (18:38 -0500)
committerFabio Estevam <festevam@gmail.com>
Wed, 19 Mar 2025 16:17:21 +0000 (13:17 -0300)
If SPL_CLK_IMX8MP is selected alone, it causes a build error.
The clock composite is required when using the clock framework, so
select it when SPL_CLK_IMX8MP is enabled.  This is already being
done outside of SPL.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
drivers/clk/imx/Kconfig

index 56d893e..d17a54f 100644 (file)
@@ -60,6 +60,7 @@ config SPL_CLK_IMX8MP
        depends on ARCH_IMX8M && SPL
        select SPL_CLK
        select SPL_CLK_CCF
+       select SPL_CLK_COMPOSITE_CCF
        help
          This enables SPL DM/DTS support for clock driver in i.MX8MP