]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: puma-rk3399: increase Ethernet PHY timeout to 30s
authorQuentin Schulz <quentin.schulz@cherry.de>
Wed, 19 Jun 2024 15:44:56 +0000 (17:44 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 17 Jul 2024 04:33:34 +0000 (12:33 +0800)
On Puma v2.1 with a KSZ9031, the Ethernet PHY often doesn't detect the
link in the 4-second default timeout.

After some boot-loop test for about a thousand boots, 70% were below
10s, 90% below 15s and 100% below 30s. Let's play it safe and make it
30s so that hopefully all links that should be detected are.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
configs/puma-rk3399_defconfig

index bc9a79107e040783333ee78d397bb2503591da9f..9e5499a1fec95ecafa93db98c7355ae47cadaca2 100644 (file)
@@ -71,6 +71,7 @@ CONFIG_MMC_SDHCI_ROCKCHIP=y
 CONFIG_SF_DEFAULT_BUS=1
 CONFIG_SPI_FLASH_GIGADEVICE=y
 CONFIG_SPI_FLASH_WINBOND=y
+CONFIG_PHY_ANEG_TIMEOUT=30000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_ETH_DESIGNWARE=y