[U-Boot] [PATCH 2/3] armv8/fsl-layerscape: add dwc3 gadget driver support
Rajesh Bhagat
rajesh.bhagat at nxp.com
Wed Jun 1 06:08:17 CEST 2016
> -----Original Message-----
> From: Felipe Balbi [mailto:felipe.balbi at linux.intel.com]
> Sent: Tuesday, May 31, 2016 5:40 PM
> To: Marek Vasut <marex at denx.de>; Rajat Srivastava <rajat.srivastava at nxp.com>;
> u-boot at lists.denx.de
> Cc: l.majewski at samsung.com; sjg at chromium.org; albert.u.boot at aribaud.net;
> prabhakar at freescale.com; york sun <york.sun at nxp.com>; Mingkai Hu
> <mingkai.hu at nxp.com>; Rajesh Bhagat <rajesh.bhagat at nxp.com>;
> michal.simek at xilinx.com
> Subject: Re: [PATCH 2/3] armv8/fsl-layerscape: add dwc3 gadget driver support
>
>
> Hi,
>
> Marek Vasut <marex at denx.de> writes:
> >> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index
> >> 85cc96a..5eeb71d 100644
> >> --- a/drivers/usb/dwc3/core.c
> >> +++ b/drivers/usb/dwc3/core.c
> >> @@ -690,6 +690,18 @@ int dwc3_uboot_init(struct dwc3_device *dwc3_dev)
> >> return -ENOMEM;
> >> }
> >>
> >> +#if defined(CONFIG_LS1043A)
> >
> > How was this added in Linux ? I doubt such horrid ifdef was allowed.
> > I presume it went through either DT or struct dwc3_device, right ?
> > So fix this here the same way.
>
> dwc3 doesn't have any of that. I wouldn't take it :-p
>
Hello Felipe/Marek,
It is not currently added in Linux, These registers setting is required for
Setting the burst beat transactions and enabling the snooping for DWC3 USB IP.
Can it be added using dwc3 uboot glue layer e.g. dwc3-fsl.c ?
Best Regards,
Rajesh Bhagat
> --
> balbi
More information about the U-Boot
mailing list