rockchip: board: lion-rk3368: increase phy autonegotiation timeout
authorJakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
Wed, 6 Jun 2018 10:19:03 +0000 (12:19 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 20 Jul 2018 23:55:26 +0000 (01:55 +0200)
commitabb8fad0970f824f3550f7b93a2508bf06e477d0
tree6e2a2a584173a848936689b9d5100d2d32c9e14d
parent91259476872e91bc3d0e6b92f81e5b7a67e7b447
rockchip: board: lion-rk3368: increase phy autonegotiation timeout

The first dhcp command consistently fails with a timeout when
the lion-rk3368 board is connected to a Zyxel GS1100-24E
Gigabit Ethernet switch:

  ethernet@ff290000 Waiting for PHY auto negotiation to complete......... TIMEOUT !

Increasing PHY_ANEG_TIMEOUT from the default 4000 to 8000 makes the
first dhcp command work reliably.

Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
include/configs/lion_rk3368.h