[PATCH 5/8] usb: ehci-mx6: Allow building SDP for imx8mm

Fabio Estevam festevam at gmail.com
Sat Jul 3 23:39:13 CEST 2021


Hi Marek,

On Sat, Jul 3, 2021 at 5:57 PM Marek Vasut <marex at denx.de> wrote:
>
> On 7/3/21 9:58 PM, Fabio Estevam wrote:
> > After selecting USB SDP support for i.MX8MM, there are some build errors
> > and warnings.
> >
> > Make the necessary adjustments for fixing the build.
> >
> > Signed-off-by: Fabio Estevam <festevam at denx.de>
> > ---
> >   drivers/usb/host/ehci-mx6.c | 18 ++++++++++--------
> >   1 file changed, 10 insertions(+), 8 deletions(-)
> >
> > diff --git a/drivers/usb/host/ehci-mx6.c b/drivers/usb/host/ehci-mx6.c
> > index de53f0c15204..16cd1369aef1 100644
> > --- a/drivers/usb/host/ehci-mx6.c
> > +++ b/drivers/usb/host/ehci-mx6.c
> > @@ -141,12 +141,12 @@ static void __maybe_unused
> >   usb_power_config_mx6(void *anatop, int anatop_bits_index) { }
> >   #endif
> >
> > -#if defined(CONFIG_MX7) && !defined(CONFIG_PHY)
> > +#if (defined(CONFIG_MX7) || defined(CONFIG_IMX8M)) && !defined(CONFIG_PHY)
>
> This should never happen -- MX8M should always enable CONFIG_PHY.

Good catch, thanks. I will drop this change.


More information about the U-Boot mailing list