imx8mp_evk: Fix the ND mode VDD_SOC voltage
PATCH 1/1 imx8mp_evk: Fix the ND mode VDD_SOC voltage
From: Jacky Bai <[email protected]>
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]>
--- board/nxp/imx8mp_evk/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
board/nxp/imx8mp_evk/spl.c +1 -1
@@ -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 );
Signature · 1 line
2.37.1
Quoted 8 lines · Ye Li
From: Jacky Bai <[email protected]>
The '
CONFIG_IS_ENBLAED' check only works when there is aCONFIG_SPL_IMX8M_VDD_SOC_850MVconfig a option is defined and enabled. So use the 'IS_ENABLED' macro instead to fix the ND modeVDD_SOCvoltage.Signed-off-by Jacky Bai <[email protected]>Signed-off-by Ye Li <[email protected]>
Reviewed-by Peng Fan <[email protected]>