From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felipe Balbi Date: Tue, 31 May 2016 15:10:00 +0300 Subject: [U-Boot] [PATCH 2/3] armv8/fsl-layerscape: add dwc3 gadget driver support In-Reply-To: <574D7DB0.5080702@denx.de> References: <1464694370-15853-1-git-send-email-rajat.srivastava@nxp.com> <1464694370-15853-3-git-send-email-rajat.srivastava@nxp.com> <574D7DB0.5080702@denx.de> Message-ID: <8760tumns7.fsf@linux.intel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, Marek Vasut 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 -- balbi -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 818 bytes Desc: not available URL: