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: 0b9ff08515 ("board: ti: am335x: Do not call disabled PMIC functions")
Signed-off-by: Markus Schneider-Pargmann (TI.com) <msp@baylibre.com>
Signed-off-by: Maarten Brock <maarten.brock@sttls.nl>
Reviewed-by: Kory Maincent <kory.maincent@bootlin.com>
Acked-by: Maarten Brock <maarten.brock@sttls.nl>
This commit is contained in:
Maarten Brock
2025-11-27 09:27:03 -06:00
committed by Tom Rini
parent 3afc99727a
commit f06e1c04bf
+1 -1
View File
@@ -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;
/*