Most, if not all of the imx8m[mnp] boards enable the SoC clock
driver.  The CLK_IMX8MQ isn't necessarily required yet, but as
the new power domain driver will assume it is present.  To simply
this, enable the respective clock drivers when a given imx8m SoC
is selected.  This will also shink the board defconfig files a bit.

Suggested-by: Marek Vasut <ma...@denx.de>
Signed-off-by: Adam Ford <aford...@gmail.com>

diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig
index 55db25062a..4b0d126a71 100644
--- a/arch/arm/mach-imx/imx8m/Kconfig
+++ b/arch/arm/mach-imx/imx8m/Kconfig
@@ -8,18 +8,22 @@ config IMX8M
 config IMX8MQ
        bool
        select IMX8M
+       select CLK_IMX8MQ
 
 config IMX8MM
        bool
        select IMX8M
+       select CLK_IMX8MM
 
 config IMX8MN
        bool
        select IMX8M
+       select CLK_IMX8MN
 
 config IMX8MP
        bool
        select IMX8M
+       select CLK_IMX8MP
 
 config SYS_SOC
        default "imx8m"
-- 
2.34.1

Reply via email to