[PATCH 14/18] board: ti: k3-j721s2: Force TPS65941 PMIC WD disable

Apelete Seketeli aseketeli at baylibre.com
Fri May 12 15:17:41 CEST 2023


From: Esteban Blanc <eblanc at baylibre.com>

Signed-off-by: Esteban Blanc <eblanc at baylibre.com>
Signed-off-by: Apelete Seketeli <aseketeli at baylibre.com>
---
 board/ti/j721s2/evm.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/board/ti/j721s2/evm.c b/board/ti/j721s2/evm.c
index 8eaca9d5af..ec7abea387 100644
--- a/board/ti/j721s2/evm.c
+++ b/board/ti/j721s2/evm.c
@@ -29,7 +29,14 @@ DECLARE_GLOBAL_DATA_PTR;
 
 int board_init(void)
 {
-	return 0;
+	int ret = 0;
+
+	/* WD stop is applied unconditionally on all platforms*/
+	ret = uclass_probe_all(UCLASS_PMIC);
+	if (ret)
+		printf("Failed to probe! stop tps65941 wd\n");
+
+	return ret;
 }
 
 int dram_init(void)
-- 
2.34.1



More information about the U-Boot mailing list