[U-Boot] [PATCH 3/3] M28: Disable USB power on boot

Marek Vasut marex at denx.de
Wed May 23 15:07:31 CEST 2012


Dear Fabio Estevam,

> On Tue, May 22, 2012 at 8:32 PM, Marek Vasut <marex at denx.de> wrote:
> >  void board_init_ll(void)
> >  {
> > +       /* Powerdown the USB */
> > +       mxs_iomux_setup_pad(MX28_PAD_SSP2_SS1__USB1_OVERCURRENT);
> > +       mxs_iomux_setup_pad(MX28_PAD_AUART3_TX__GPIO_3_13 |
> > +                       MXS_PAD_12MA | MXS_PAD_3V3 | MXS_PAD_PULLUP);
> > +       gpio_direction_output(MX28_PAD_AUART3_TX__GPIO_3_13, 1);
> 
> I don't have access to the m28evk schematics, but please double check
> if you really need to set this pin to '1' to powerdown the USB, or if
> this should be a '0' instead.

This is correct, it should be inverted.

Best regards,
Marek Vasut


More information about the U-Boot mailing list