[PATCH] board: ti: am335x: Fix DM_TPS65910 condition
Maarten Brock
Maarten.Brock at sttls.nl
Tue Nov 25 14:55:24 CET 2025
scale_vcores_generic() calls functions implemented in
tps65910.c, not tps65910_dm.c. Change guard from CONFIG_DM_PMIC_TPS65910 to
CONFIG_SPL_POWER_TPS65910.
Fixes: 0b9ff0851592 ("board: ti: am335x: Do not call disabled PMIC functions")
Signed-off-by: Markus Schneider-Pargmann (TI.com) <msp at baylibre.com>
Signed-off-by: Maarten Brock <maarten.brock at sttls.nl>
---
Resend of [PATCH 01/15] board: ti: am335x: Fix DM_TPS65910 condition
as a separate patch as requested by Tom Rini.
---
board/ti/am335x/board.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c
index 712818ec235..90e37a8d913 100644
--- a/board/ti/am335x/board.c
+++ b/board/ti/am335x/board.c
@@ -429,7 +429,7 @@ void scale_vcores_generic(int freq)
{
int sil_rev, mpu_vdd;
- if (!IS_ENABLED(CONFIG_DM_PMIC_TPS65910))
+ if (!IS_ENABLED(CONFIG_SPL_POWER_TPS65910))
return;
/*
--
2.34.1
More information about the U-Boot
mailing list