u-boot-brain/drivers
Sekhar Nori 96d1d84c79 drivers: net: cpsw: abort init() on aneg timeout
Abort CPSW driver init when auto-negotiation of link
times out. Currently, the code ignores return status
of phy_startup(), and goes ahead with network operation
(like DHCP) even though the link may be down.

Instead, abort init process if link is down or if there
is another error, so phy_startup() can easily be retried
again. This also helps quick fallback to next network interface
(like USB RNDIS) without inordinate delay.

Tested on AM571x IDK and AM335x BeagleBone black.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2017-06-02 14:44:19 -05:00
..
adc dm: adc: Convert uclass to livetree 2017-06-01 07:03:13 -06:00
bios_emulator bios_emulator: Fix cast for 64-bit compilation 2016-10-11 11:55:33 +08:00
block dm: blk: Improve block device claiming 2017-06-01 07:03:05 -06:00
bootcount Blackfin: Remove 2017-04-05 13:52:01 -04:00
clk dm: clk: fixed: Update to support livetree 2017-06-01 07:03:14 -06:00
core dm: Add more livetree helpers and definitions 2017-06-01 07:03:12 -06:00
cpu dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
crypto Convert CONFIG_CMD_HASH to Kconfig 2017-05-22 12:38:15 -04:00
ddr Merge git://git.denx.de/u-boot-fsl-qoriq 2017-04-18 11:36:06 -04:00
demo dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
dfu common: dfu: ignore reset for spl-dfu 2017-05-12 08:37:09 -04:00
dma dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
firmware dm: core: Rename of_device_is_compatible() 2017-06-01 07:03:06 -06:00
fpga FPGA: drivers/fpga/ivm_core.c: incorrect printf 2017-04-18 10:29:23 -04:00
gpio dm: gpio: power: Convert pm8916 drivers to livetree 2017-06-01 07:03:17 -06:00
i2c dm: sandbox: i2c: Drop fdtdec.h header 2017-06-01 07:03:16 -06:00
input cros_ec: Update the cros_ec keyboard driver to livetree 2017-06-01 07:03:16 -06:00
led dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
mailbox dm: mailbox: Update uclass to support livetree 2017-06-01 07:03:15 -06:00
memory memory: Move TI_AEMIF config to KCONFIG 2016-04-18 17:11:43 -04:00
misc dm: Update the I2C eeprom driver for livetree 2017-06-01 07:03:15 -06:00
mmc dm: mmc: Convert uclass to livetree 2017-06-01 07:03:13 -06:00
mtd dm: sandbox: spi: Convert driver to support livetree 2017-06-01 07:03:16 -06:00
net drivers: net: cpsw: abort init() on aneg timeout 2017-06-02 14:44:19 -05:00
pch dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
pci dm: pci: Update uclass to support livetree 2017-06-01 07:03:15 -06:00
pcmcia Kconfig: Add a CONFIG_IDE option 2017-05-22 12:45:27 -04:00
phy sandbox: phy: Update driver for livetree 2017-06-01 07:03:15 -06:00
pinctrl dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
power dm: gpio: power: Convert pm8916 drivers to livetree 2017-06-01 07:03:17 -06:00
pwm dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
qe armv7: ls1021a: Drop macro CONFIG_LS102XA 2017-04-17 09:03:30 -07:00
ram dm: core: Replace of_offset with accessor (part 2) 2017-06-01 07:03:04 -06:00
remoteproc dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
reset dm: reset: Update uclass to support livetree 2017-06-01 07:03:15 -06:00
rtc dm: sandbox: i2c_rtc: Drop fdtdec.h header 2017-06-01 07:03:16 -06:00
serial dm: core: Update lists_bind_fdt() to use ofnode 2017-06-01 07:03:08 -06:00
soc Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sound dm: gpio: Add live tree support 2017-06-01 07:03:10 -06:00
spi dm: spi: Convert uclass to livetree 2017-06-01 07:03:16 -06:00
spmi dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
sysreset dm: sandbox: sysreset: Convert driver to livetree 2017-06-01 07:03:17 -06:00
thermal thermal: imx: fix calculation 2017-05-18 11:23:31 +02:00
timer dm: core: Update lists_bind_fdt() to use ofnode 2017-06-01 07:03:08 -06:00
tpm dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
usb sandbox: usb: Convert emulators to livetree 2017-06-01 07:03:13 -06:00
video dm: core: Replace of_offset with accessor (part 2) 2017-06-01 07:03:04 -06:00
watchdog dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
Kconfig Drop digital thermometer and thermostat (DTT) drivers 2017-05-22 08:37:11 -04:00
Makefile Drop digital thermometer and thermostat (DTT) drivers 2017-05-22 08:37:11 -04:00