summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacky Bai <[email protected]>2026-04-28 17:05:17 +0800
committerFabio Estevam <[email protected]>2026-05-15 17:31:39 -0300
commit5841eff4d2d8344f8d783bda442d1f33b319fc37 (patch)
tree7d017024820422933834aa580963d7f3e5832d90
parent6bc840568f48c2f3f562a8cb8dd6c5feddf9130c (diff)
imx8mp_evk: Fix the ND mode VDD_SOC voltage
The 'CONFIG_IS_ENBLAED' check only works when there is a CONFIG_SPL_IMX8M_VDD_SOC_850MV config a option is defined and enabled. So use the 'IS_ENABLED' macro instead to fix the ND mode VDD_SOC voltage. Signed-off-by: Jacky Bai <[email protected]> Signed-off-by: Ye Li <[email protected]> Reviewed-by: Peng Fan <[email protected]>
-rw-r--r--board/nxp/imx8mp_evk/spl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/nxp/imx8mp_evk/spl.c b/board/nxp/imx8mp_evk/spl.c
index 27cd82e745a..cd7d79b382d 100644
--- a/board/nxp/imx8mp_evk/spl.c
+++ b/board/nxp/imx8mp_evk/spl.c
@@ -65,7 +65,7 @@ int power_init_board(void)
* Enable DVS control through PMIC_STBY_REQ and
* set B1_ENMODE=1 (ON by PMIC_ON_REQ=H)
*/
- if (CONFIG_IS_ENABLED(IMX8M_VDD_SOC_850MV))
+ if (IS_ENABLED(CONFIG_IMX8M_VDD_SOC_850MV))
pmic_reg_write(dev, PCA9450_BUCK1OUT_DVS0, 0x14);
else
pmic_reg_write(dev, PCA9450_BUCK1OUT_DVS0, 0x1C);