From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Fri, 8 Jan 2016 13:26:32 +0100 Subject: [U-Boot] [PATCH 1/3] usb: host: ehci-vf: Remove hardcoded USB host client configuration In-Reply-To: <20160108122023.GB22303@Sanchayan-Arch.toradex.int> References: <20160108122023.GB22303@Sanchayan-Arch.toradex.int> Message-ID: <201601081326.32746.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday, January 08, 2016 at 01:20:23 PM, maitysanchayan at gmail.com wrote: > Hello Stefano / Marek, > > Can you pick this up? I can, but only for next. Is that fine ? > - Sanchayan. > > On 15-10-26 18:28:49, Sanchayan Maity wrote: > > The current ehci-vf USB driver for Vybrid hardcodes the USB host > > and client functionality. Remove this. > > > > Reported-by: Santhosh Kumar Janardhanam > > Signed-off-by: Sanchayan Maity > > --- > > > > drivers/usb/host/ehci-vf.c | 5 ----- > > 1 file changed, 5 deletions(-) > > > > diff --git a/drivers/usb/host/ehci-vf.c b/drivers/usb/host/ehci-vf.c > > index 98e0fc6..351e0fb 100644 > > --- a/drivers/usb/host/ehci-vf.c > > +++ b/drivers/usb/host/ehci-vf.c > > @@ -134,11 +134,6 @@ int ehci_hcd_init(int index, enum usb_init_type > > init, > > > > if (index >= ARRAY_SIZE(nc_reg_bases)) > > > > return -EINVAL; > > > > - if (init == USB_INIT_DEVICE && index == 1) > > - return -ENODEV; > > - if (init == USB_INIT_HOST && index == 0) > > - return -ENODEV; > > - > > > > ehci = (struct usb_ehci *)nc_reg_bases[index]; > > > > /* Do board specific initialisation */ Best regards, Marek Vasut