[U-Boot] [PATCH 1/2] efikamx: refine USB support

Stefano Babic sbabic at denx.de
Tue Sep 4 12:08:38 CEST 2012


On 23/08/2012 16:52, Matt Sealey wrote:
> Because of the way USB pad settings are handled it doesn't make sense to
> be able to build the Efika MX board support without CONFIG_CMD_USB turned
> on. So, we change the build to always compile in USB support.
> 
> We do not need to check for CONFIG_CMD_USB like we do with CONFIG_MXC_SPI
> since the USB subsystem will error out of the compile for us.
> 
> Additionally, the following behaviors have changed;
> 
> * Smartbook "preboot" should not set input and output to USB keyboard as
>   there is no display support
> * board_eth_init is implemented such that it does not cause U-Boot to
>   report an explicit failure ("CPU Net Initialization Failed").
> 
> Since Ethernet is implemented via USB (fixed on Smarttop, pluggable on
> Smartbook, and handled by "usb start") - the warning that is left
> ("No ethernet found") is perfectly reasonable at the point it is printed
> since the USB system hasn't been started and nothing has been probed yet.
> 
> Signed-off-by: Matt Sealey <matt at genesi-usa.com>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Marek Vasut <marex at denx.de>
> ---

Applied (after rebasing) on u-boot-imx, thanks.

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