[U-Boot] [PATCH V3 1/4] clk: imx: add Kconfig entry for i.MX8MM
Ye Li
ye.li at nxp.com
Fri Aug 9 08:56:08 UTC 2019
> Add Kconfig entry for i.MX8MM
>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> ---
> drivers/clk/Kconfig | 4 ++--
> drivers/clk/imx/Kconfig | 16 ++++++++++++++++
> 2 files changed, 18 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
> index a3f0171b45..fce595b4b3 100644
> --- a/drivers/clk/Kconfig
> +++ b/drivers/clk/Kconfig
> @@ -48,7 +48,7 @@ config CLK_BOSTON
>
> config SPL_CLK_CCF
> bool "SPL Common Clock Framework [CCF] support "
> - depends on SPL_CLK_IMX6Q
> + depends on SPL_CLK_IMX6Q || ARCH_IMX8M
> help
> Enable this option if you want to (re-)use the Linux kernel's Common
> Clock Framework [CCF] code in U-Boot's SPL.
> @@ -62,7 +62,7 @@ config SPL_CLK_COMPOSITE_CCF
>
> config CLK_CCF
> bool "Common Clock Framework [CCF] support "
> - depends on CLK_IMX6Q || SANDBOX_CLK_CCF
> + depends on CLK_IMX6Q || ARCH_IMX8M || SANDBOX_CLK_CCF
> help
> Enable this option if you want to (re-)use the Linux kernel's Common
> Clock Framework [CCF] code in U-Boot's clock driver.
> diff --git a/drivers/clk/imx/Kconfig b/drivers/clk/imx/Kconfig
> index 3e6a980c8c..aae69cf9b0 100644
> --- a/drivers/clk/imx/Kconfig
> +++ b/drivers/clk/imx/Kconfig
> @@ -20,3 +20,19 @@ config CLK_IMX8
> select CLK
> help
> This enables support clock driver for i.MX8 platforms.
> +
> +config SPL_CLK_IMX8MM
> + bool "SPL clock support for i.MX8MM"
> + depends on ARCH_IMX8M && SPL
> + select SPL_CLK
> + select SPL_CLK_CCF
> + help
> + This enables SPL DM/DTS support for clock driver in i.MX8MM
> +
> +config CLK_IMX8MM
> + bool "Clock support for i.MX8MM"
> + depends on ARCH_IMX8M
> + select CLK
> + select CLK_CCF
> + help
> + This enables support clock driver for i.MX8MM platforms.
>
Reviewed-by: Ye Li <ye.li at nxp.com>
Best regards,
Ye Li
More information about the U-Boot
mailing list