[PATCH v2 09/14] clk: stub: Add Kconfig option for SPL stub driver
Balaji Selvanathan
balaji.selvanathan at oss.qualcomm.com
Sat Jun 6 12:18:40 CEST 2026
drivers/clk/Makefile has a obj-$(CONFIG_$(PHASE_)CLK_STUB) in it but
there is no SPL_CLK_STUB config defined anywhere.
So, 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>
---
Changes in v2:
- Modified the commit description to explicitly mention that
drivers/clk/Makefile has a obj-$(CONFIG_$(PHASE_)CLK_STUB) in it
but no SPL_CLK_STUB config is defined
---
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