From: Maarten Brock Date: Tue, 25 Nov 2025 13:55:24 +0000 (+0000) Subject: board: ti: am335x: Fix DM_TPS65910 condition X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f06e1c04bffb89cd14d559c8d3e219ab2b815093;p=pandora-u-boot.git 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) Signed-off-by: Maarten Brock Reviewed-by: Kory Maincent Acked-by: Maarten Brock --- 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; /*