[U-Boot] [PATCH] mx6qsabreauto: enable USB host interface

Stefano Babic sbabic at denx.de
Fri Jan 11 10:30:56 CET 2013


On 11/01/2013 08:13, Dirk Behme wrote:
> From: Knut Wohlrab <knut.wohlrab at de.bosch.com>
> 
> The USB host interface is routed to plug USB1/J30 on the mother board.
> 
> Signed-off-by: Knut Wohlrab <knut.wohlrab at de.bosch.com>
> ---

Hi Dirk,

>  board/freescale/mx6qsabreauto/mx6qsabreauto.c |    7 +++++++
>  include/configs/mx6qsabreauto.h               |   11 +++++++++++
>  2 files changed, 18 insertions(+), 0 deletions(-)
> 
> diff --git a/board/freescale/mx6qsabreauto/mx6qsabreauto.c b/board/freescale/mx6qsabreauto/mx6qsabreauto.c
> index 9e3700e..696ddb4 100644
> --- a/board/freescale/mx6qsabreauto/mx6qsabreauto.c
> +++ b/board/freescale/mx6qsabreauto/mx6qsabreauto.c
> @@ -101,6 +101,13 @@ static void setup_iomux_uart(void)
>  	imx_iomux_v3_setup_multiple_pads(uart4_pads, ARRAY_SIZE(uart4_pads));
>  }
>  
> +#ifdef CONFIG_USB_EHCI_MX6
> +int board_ehci_hcd_init(int port)
> +{
> +	return 0;
> +}
> +#endif

board_ehci_hcd_init is declared weak drivers/usb/host/ehci-mx6.c. You do
nothing in this function, why do you need ? You can completely drop it.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list