From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Thu, 07 Mar 2013 17:58:15 +0100 Subject: [U-Boot] [PATCH v5 2/3] mx23_olinuxino: Enable USB support In-Reply-To: <1362237450-11839-3-git-send-email-otavio@ossystems.com.br> References: <1362237450-11839-1-git-send-email-otavio@ossystems.com.br> <1362237450-11839-3-git-send-email-otavio@ossystems.com.br> Message-ID: <5138C727.2010201@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 02/03/2013 16:17, Otavio Salvador wrote: > This enabled USB support for the mx23_olinuxino board. > > Signed-off-by: Otavio Salvador > --- 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 =====================================================================