Dear Marek,

On Sat, Sep 22, 2012 at 4:49 AM, Marek Vasut <ma...@denx.de> wrote:

>
> > +{
> > +     u32 usb_ctrl_reg;
> > +
> > +     usb_ctrl_reg = readl(reg_addr);
> > +     if (on) {
> > +             usb_ctrl_reg &= ~(CM_PHY_PWRDN | CM_PHY_OTG_PWRDN);
> > +             usb_ctrl_reg |= (OTGVDET_EN | OTGSESSENDEN);
> > +     } else {
> > +             usb_ctrl_reg |= (CM_PHY_PWRDN | CM_PHY_OTG_PWRDN);
> > +     }
> > +     writel(usb_ctrl_reg, reg_addr);
>
> > +static void am33xx_usb_set_phy_power(u8 on, u32 *reg_addr)
> clrsetbits_le32() ?
>

Will change.

Regards, Ilya.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to