[PATCH 4/4] clk: stub: Add Kconfig option for SPL stub driver

Balaji Selvanathan balaji.selvanathan at oss.qualcomm.com
Thu Apr 9 16:43:34 CEST 2026


Add SPL_CLK_STUB configuration option to enable the stub clock
driver in U-Boot SPL builds.

Signed-off-by: Balaji Selvanathan <balaji.selvanathan at oss.qualcomm.com>
---
 drivers/clk/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index c2da7b3938b..ca69577c060 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -114,6 +114,13 @@ config CLK_STUB
 	  Enable this to provide a stub clock driver for non-essential clock
 	  controllers.
 
+config SPL_CLK_STUB
+	bool "Stub clock driver in SPL"
+	depends on SPL_CLK
+	help
+	  Enable this to provide a stub clock driver for non-essential clock
+	  controllers in U-Boot SPL.
+
 config CLK_BCM6345
 	bool "Clock controller driver for BCM6345"
 	depends on CLK && ARCH_BMIPS

-- 
2.34.1



More information about the U-Boot mailing list