AnsweredAssumed Answered

imx6sl  CONFIG_LDO_BYPASS_CHECK

Question asked by wei yang on Sep 7, 2016
Latest reply on Sep 13, 2016 by gusarambula

Hello,
I use imx6slevk,use uboot version is 2015.04,it function normal.i new make a board use imx6sl,uboot version is 2015.04,but uboot will dead at CONFIG_LDO_BYPASS_CHECK.code as follow:
code path board/freescale/mx6slevk/mx6slevk.c
void ldo_mode_set(int ldo_bypass)
{
u32 value;
int is_400M;
struct pmic *p = pfuze;
if (!p) {
printf("No pmic!\n");
return;
}
/* swith to ldo_bypass mode */
if (ldo_bypass) {
prep_anatop_bypass();
/* decrease VDDARM to 1.1V */
pmic_reg_read(p, PFUZE100_SW1ABVOL, &value);
value &= ~0x3f;
value |= 0x20;
pmic_reg_write(p, PFUZE100_SW1ABVOL, value);
when code execute the pmic_reg_write(p, PFUZE100_SW1ABVOL, value);,board is dead.
who can give me some help.......

Thanks

Outcomes