From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Wed, 25 Jun 2014 10:33:50 +0200 Subject: [U-Boot] [PATCH RFC 0/2] usb: host: Add a wrapper layer for mutiple host support In-Reply-To: References: <1403619022-15662-1-git-send-email-gautam.vivek@samsung.com> <201406250808.23420.marex@denx.de> Message-ID: <201406251033.51050.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 Wednesday, June 25, 2014 at 08:27:39 AM, Simon Glass wrote: [...] > > > > model. Instead, I'd love to see a mean to instantiate each *HCI > > > > controller and have a USB core which would track those instances. The > > > > USB core would then be able to call whatever generic ops on those > > > > instances as needed. Does that make sense please ? > > > > > > True, i understand your point here. I think the second approach i was > > > talking of, goes in this direction. > > > I think i could not put it well in words there. > > > > > > I will prepare an RFC patch for that, and post it as soon as its > > > ready, so that you can have > > > a look. > > > > Ah, this would be so very appreciated! Thank you! > > Should we consider just going straight for driver model? I was thinking about that, but I'm worried it might break USB support on some platforms. Also, the size of U-Boot will grow on many platforms, right? What do you think ? Best regards, Marek Vasut