[U-Boot] [PATCH v5 2/3] mx23_olinuxino: Enable USB support

Stefano Babic sbabic at denx.de
Thu Mar 7 17:58:15 CET 2013


On 02/03/2013 16:17, Otavio Salvador wrote:
> This enabled USB support for the mx23_olinuxino board.
> 
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> ---

Applied to u-boot-imx, but...

>  	/* SSP0 clock at 96MHz */
>  	mxs_set_sspclk(MXC_SSPCLK0, 96000, 0);
>  
> +#ifdef CONFIG_CMD_USB
> +	/* Enable LAN9512 */
> +	gpio_direction_output(MX23_PAD_GPMI_ALE__GPIO_0_17, 1);
> +#endif


...the header for gpio is missing. Please send the patch to fix the warning.

mx23_olinuxino.c: In function 'board_early_init_f':
mx23_olinuxino.c:50:2: warning: implicit declaration of function
'gpio_direction_output' [-Wimplicit-function-declaration]

Thanks,
Stefano


-- 
=====================================================================
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