From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Grandegger Date: Mon, 14 Nov 2011 09:39:32 +0100 Subject: [U-Boot] [PATCH 3/5] mx5: add generic USB EHCI support for mx51 and mx53 In-Reply-To: References: <1321016618-23541-1-git-send-email-wg@denx.de> <1321016618-23541-4-git-send-email-wg@denx.de> Message-ID: <4EC0D3C4.2000308@grandegger.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/11/2011 03:22 PM, Fabio Estevam wrote: > Hi Wolfgang, > > On Fri, Nov 11, 2011 at 11:03 AM, Wolfgang Grandegger wrote: >> It's derived from ehci-mxc and uses the header files of the >> ehci-fsl interface. The callback board_ehci_hcd_init() has >> been introduced to allow for board-specific setup when USB >> is started. >> >> Signed-off-by: Wolfgang Grandegger >> CC: Stefano Babic >> CC: Remy Bohmer >> --- >> drivers/usb/host/Makefile | 1 + >> drivers/usb/host/ehci-mx5.c | 174 +++++++++++++++++++++++++++++++++++++++++++ >> include/usb/ehci-fsl.h | 10 +++ >> 3 files changed, 185 insertions(+), 0 deletions(-) >> create mode 100644 drivers/usb/host/ehci-mx5.c > > Do we really need to create a drivers/usb/host/ehci-mx5.c? > > Can't mx5 USB support be included inside drivers/usb/host/ehci-mxc.c instead? it could be included into ehci-mxc.c using #ifdef's, of course. Would that be the better solution? Wolfgang.