u-boot/drivers/usb
Julius Werner 4edcf0a3df usb: asix: Move software resets to basic_init
The ASIX driver calls a basic_init() function during get_info(), so that
not all initialization tasks need to be redone on every init().
Unfortunately, the most important one is still triggered too often: the
driver does a full port and MII reset on every asix_init(), requiring up
to several seconds to reestablish the link.

This patch confines that software reset into the asix_basic_init()
function so that it will only be executed once. This saves about a
second of boot time on systems using BOOTP.

Note: this patch was previously submitted many moons ago as:

   usb: usbeth: asix: Do a fast init if link already established

That patch seens to have been lost or forgotten, so this is a rebased
version. It is tested on snow with a Asix USB dongle (Cisco).

Signed-off-by: Julius Werner <jwerner@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
2013-06-12 22:22:51 +02:00
..
eth usb: asix: Move software resets to basic_init 2013-06-12 22:22:51 +02:00
gadget pxa27x_udc: remove call to unimplemented set_GPIO_mode() 2013-05-05 23:47:05 +02:00
host usb: Correct CLEAR_FEATURE code in ehci-hcd 2013-06-12 22:22:50 +02:00
musb usb: use linux/usb/ch9.h instead of usbdescriptors.h 2012-11-20 00:16:06 +01:00
musb-new Merge branch 'u-boot/master' into 'u-boot-arm/master' 2013-04-12 22:07:57 +02:00
phy twl4030: make twl4030_i2c_read_u8 prototype consistent 2013-05-10 08:25:54 -04:00
ulpi usb: ulpi: add indicator configuration function 2012-10-15 11:54:01 -07:00