From 23fa18eaa71266feff7ba8d83022d9e1cc83c65a Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 07:42:03 +0000
Subject: [PATCH] disable pwm7

---
 u-boot/drivers/clk/clk-uclass.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/u-boot/drivers/clk/clk-uclass.c b/u-boot/drivers/clk/clk-uclass.c
index a4938c1..0737c3d 100644
--- a/u-boot/drivers/clk/clk-uclass.c
+++ b/u-boot/drivers/clk/clk-uclass.c
@@ -237,10 +237,11 @@
 {
 	int ret;
 
+#ifndef CONFIG_SPL_BUILD
 	/* If this is running pre-reloc state, don't take any action. */
 	if (!(gd->flags & GD_FLG_RELOC))
 		return 0;
-
+#endif
 	debug("%s(%s)\n", __func__, dev_read_name(dev));
 
 	ret = clk_set_default_parents(dev);

--
Gitblit v1.6.2