summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten Brock <[email protected]>2025-11-25 13:55:24 +0000
committerTom Rini <[email protected]>2025-11-27 09:27:03 -0600
commitf06e1c04bffb89cd14d559c8d3e219ab2b815093 (patch)
tree4274d3c18c33214ad0f0e11e8acdae9300bad33c
parent3afc99727ad0e829b0275b3ffa5b970b343bc0db (diff)
board: ti: am335x: Fix DM_TPS65910 condition
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) <[email protected]> Signed-off-by: Maarten Brock <[email protected]> Reviewed-by: Kory Maincent <[email protected]> Acked-by: Maarten Brock <[email protected]>
-rw-r--r--board/ti/am335x/board.c2
1 files changed, 1 insertions, 1 deletions
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;
/*