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 <[email protected]> --- 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

