From: Quentin Schulz Date: Wed, 19 Jun 2024 15:44:56 +0000 (+0200) Subject: rockchip: puma-rk3399: increase Ethernet PHY timeout to 30s X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=04ec02a8824279a1da3c6ce1d8a2db06baf8a522;p=u-boot.git rockchip: puma-rk3399: increase Ethernet PHY timeout to 30s 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 Reviewed-by: Kever Yang --- diff --git a/configs/puma-rk3399_defconfig b/configs/puma-rk3399_defconfig index bc9a79107e..9e5499a1fe 100644 --- a/configs/puma-rk3399_defconfig +++ b/configs/puma-rk3399_defconfig @@ -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