]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: phy: Replace PHY_ANEG_TIMEOUT with Kconfig symbol
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Fri, 31 May 2024 16:47:17 +0000 (18:47 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 13 Jun 2024 22:27:07 +0000 (16:27 -0600)
Switch PHY_ANEG_TIMEOUT to CONFIG_PHY_ANEG_TIMEOUT Kconfig symbol.
This removes one more configuration headers option finalizes its
Kconfig symbol conversion. No functional change expected.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
116 files changed:
configs/am43xx_evm_defconfig
configs/am43xx_evm_qspiboot_defconfig
configs/am43xx_evm_rtconly_defconfig
configs/am43xx_evm_usbhost_boot_defconfig
configs/am43xx_hs_evm_defconfig
configs/am43xx_hs_evm_qspi_defconfig
configs/am57xx_evm_defconfig
configs/am57xx_hs_evm_defconfig
configs/am57xx_hs_evm_usb_defconfig
configs/apalis_imx6_defconfig
configs/clearfog_defconfig
configs/clearfog_sata_defconfig
configs/clearfog_spi_defconfig
configs/controlcenterdc_defconfig
configs/db-88f6720_defconfig
configs/db-88f6820-amc_defconfig
configs/db-88f6820-amc_nand_defconfig
configs/db-88f6820-gp_defconfig
configs/db-mv784mp-gp_defconfig
configs/ds116_defconfig
configs/ds414_defconfig
configs/helios4_defconfig
configs/hihope_rzg2_defconfig
configs/hmibsc_defconfig
configs/imx8mm-mx8menlo_defconfig
configs/imx8mm_data_modul_edm_sbc_defconfig
configs/imx8mp-icore-mx8mp-edimm2.2_defconfig
configs/imx8mp_beacon_defconfig
configs/imx8mp_data_modul_edm_sbc_defconfig
configs/imx8mp_debix_model_a_defconfig
configs/imx8mp_dhcom_pdk2_defconfig
configs/imx8mp_dhcom_pdk3_defconfig
configs/imx8mp_evk_defconfig
configs/imx8mp_rsb3720a1_4G_defconfig
configs/imx8mp_rsb3720a1_6G_defconfig
configs/imx8ulp_evk_defconfig
configs/imx93_11x11_evk_defconfig
configs/imx93_11x11_evk_ld_defconfig
configs/imx93_var_som_defconfig
configs/k2g_evm_defconfig
configs/k2g_hs_evm_defconfig
configs/kontron_pitx_imx8m_defconfig
configs/lion-rk3368_defconfig
configs/maxbcm_defconfig
configs/msc_sm2s_imx8mp_defconfig
configs/n2350_defconfig
configs/octeon_ebb7304_defconfig
configs/r8a77970_eagle_defconfig
configs/r8a77970_v3msk_defconfig
configs/r8a77980_condor_defconfig
configs/r8a77980_v3hsk_defconfig
configs/r8a77990_ebisu_defconfig
configs/r8a77995_draak_defconfig
configs/r8a779a0_falcon_defconfig
configs/r8a779f0_spider_defconfig
configs/r8a779g0_whitehawk_defconfig
configs/r8a779h0_grayhawk_defconfig
configs/rcar3_salvator-x_defconfig
configs/rcar3_ulcb_defconfig
configs/rzg2_beacon_defconfig
configs/silinux_ek874_defconfig
configs/socfpga_sr1500_defconfig
configs/stm32mp15_dhcom_basic_defconfig
configs/stm32mp15_dhcor_basic_defconfig
configs/theadorable_debug_defconfig
configs/turris_omnia_defconfig
configs/xilinx_versal_net_virt_defconfig
configs/xilinx_versal_virt_defconfig
configs/xilinx_zynqmp_kria_defconfig
configs/xilinx_zynqmp_virt_defconfig
drivers/net/phy/aquantia.c
drivers/net/phy/phy.c
drivers/net/xilinx_axi_emac.c
include/configs/am43xx_evm.h
include/configs/am57xx_evm.h
include/configs/apalis_imx6.h
include/configs/clearfog.h
include/configs/controlcenterdc.h
include/configs/db-88f6720.h
include/configs/db-88f6820-amc.h
include/configs/db-88f6820-gp.h
include/configs/db-mv784mp-gp.h
include/configs/ds116.h
include/configs/ds414.h
include/configs/helios4.h
include/configs/hmibsc.h
include/configs/imx8mm-mx8menlo.h
include/configs/imx8mm_data_modul_edm_sbc.h
include/configs/imx8mp_beacon.h
include/configs/imx8mp_data_modul_edm_sbc.h
include/configs/imx8mp_debix_model_a.h
include/configs/imx8mp_dhcom_pdk2.h
include/configs/imx8mp_evk.h
include/configs/imx8mp_icore_mx8mp.h
include/configs/imx8mp_rsb3720.h
include/configs/imx8ulp_evk.h
include/configs/imx93_evk.h
include/configs/imx93_var_som.h
include/configs/k2g_evm.h
include/configs/kontron_pitx_imx8m.h
include/configs/lion_rk3368.h
include/configs/maxbcm.h
include/configs/msc_sm2s_imx8mp.h
include/configs/n2350.h
include/configs/octeon_ebb7304.h
include/configs/rcar-gen3-common.h
include/configs/rcar-gen4-common.h
include/configs/socfpga_sr1500.h
include/configs/stm32mp15_dh_dhsom.h
include/configs/theadorable.h
include/configs/turris_omnia.h
include/configs/x530.h
include/configs/xilinx_versal.h
include/configs/xilinx_versal_net.h
include/configs/xilinx_zynqmp.h
include/phy.h

index e1f0ab4e4727cebf40d6817d5c72765b3f75f471..d73b1cb804b024d3a9cbdae91f6e6e90c22be929 100644 (file)
@@ -74,6 +74,7 @@ CONFIG_SYS_NAND_OOBSIZE=0xe0
 CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
 CONFIG_SYS_NAND_U_BOOT_OFFS=0x180000
 CONFIG_SPI_FLASH_MACRONIX=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_GIGE=y
 CONFIG_MII=y
 CONFIG_DRIVER_TI_CPSW=y
index ea5b69f58e0a9877d70749470728e45bc3f46191..89e212595af9d500ec5a8c268482b46ce7e0bfa6 100644 (file)
@@ -50,6 +50,7 @@ CONFIG_DFU_SF=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH_MACRONIX=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_MII=y
 CONFIG_DRIVER_TI_CPSW=y
 CONFIG_POWER_TPS65218=y
index 89411324720a213becdd6f835bdec2c8b4ca1df2..2ff0119328531d760a1704442e812f4e213ee5c7 100644 (file)
@@ -64,6 +64,7 @@ CONFIG_SYS_NAND_OOBSIZE=0xe0
 CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
 CONFIG_SYS_NAND_U_BOOT_OFFS=0x180000
 CONFIG_SPI_FLASH_MACRONIX=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_GIGE=y
 CONFIG_MII=y
 CONFIG_DRIVER_TI_CPSW=y
index bf8cdba189e3f710329f482622e6db77f576ddbc..845b686ac93f9991deb88bd816818075cb6e4814 100644 (file)
@@ -77,6 +77,7 @@ CONFIG_SYS_NAND_OOBSIZE=0xe0
 CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
 CONFIG_SYS_NAND_U_BOOT_OFFS=0x180000
 CONFIG_SPI_FLASH_MACRONIX=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_GIGE=y
 CONFIG_MII=y
 CONFIG_DRIVER_TI_CPSW=y
index 8a7a3dfbd66fb579103aa8a75dc67fbc903fff23..ff5073cbb2ba488216a76fb22b2a4db9a76f3153 100644 (file)
@@ -70,6 +70,7 @@ CONFIG_SYS_NAND_OOBSIZE=0xe0
 CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
 CONFIG_SYS_NAND_U_BOOT_OFFS=0x180000
 CONFIG_SPI_FLASH_MACRONIX=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_GIGE=y
 CONFIG_MII=y
 CONFIG_DRIVER_TI_CPSW=y
index ebfad6a9c5281e361934c57f69f0fc823e638a8e..5ef59d830e5ee66ab42c267d5b8ebcb9afafb6fe 100644 (file)
@@ -51,6 +51,7 @@ CONFIG_DFU_SF=y
 CONFIG_SPL_SYS_I2C_LEGACY=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_SPI_FLASH_MACRONIX=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_MII=y
 CONFIG_DRIVER_TI_CPSW=y
 CONFIG_POWER_TPS65218=y
index bfa78f0e1002ffd2b8e53a8ed33d0a4e94984231..7c3ceeb07db0030516c25adbfae3855ecf1e2416 100644 (file)
@@ -94,6 +94,7 @@ CONFIG_HSMMC2_8BIT=y
 CONFIG_MTD=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_MII=y
index 7be94aef27a917e893e1c924db0a6ca64fe72e47..1f7eca4691ee2432b640b96ae77f3ef229977d38 100644 (file)
@@ -90,6 +90,7 @@ CONFIG_HSMMC2_8BIT=y
 CONFIG_MTD=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_MII=y
index 055e29b43d8600e4206a160313d1e48740f99c3e..807e1d66a6d71951b66bbbd73a9ec54e30044d30 100644 (file)
@@ -88,6 +88,7 @@ CONFIG_MTD=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_SPANSION=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_MII=y
index e8dc60c6ce1863b5cea31a2d22ced3db20e848b0..6d70cc201c71db49365cf34a6b4973319fbf5218 100644 (file)
@@ -99,6 +99,7 @@ CONFIG_SYS_MXC_I2C3_SPEED=400000
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_FSL_USDHC=y
 CONFIG_PHYLIB=y
+CONFIG_PHY_ANEG_TIMEOUT=15000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_FEC_MXC=y
index 9bbc723f9c7b39f2801c5197bff685e17bb4bc50..62dbf2aa48f97d271892590f3501d7e8d1514ee1 100644 (file)
@@ -64,6 +64,7 @@ CONFIG_MMC_SDHCI_MV=y
 CONFIG_SF_DEFAULT_BUS=1
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SPI_FLASH_MTD=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_MARVELL=y
 CONFIG_PHY_GIGE=y
 CONFIG_MVNETA=y
index 9ddd5d295fe9a501ecf5dab354fe64c60e960b74..41382f995d354c32265533455b6fb48335b5a654 100644 (file)
@@ -65,6 +65,7 @@ CONFIG_MMC_SDHCI_MV=y
 CONFIG_SF_DEFAULT_BUS=1
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SPI_FLASH_MTD=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_MARVELL=y
 CONFIG_PHY_GIGE=y
 CONFIG_MVNETA=y
index 4175fdb17a1bb161a149cb3e5f0e7b641835cd64..f345b12e6c78d90da4d8117c1b7f3074176a448a 100644 (file)
@@ -65,6 +65,7 @@ CONFIG_MMC_SDHCI_MV=y
 CONFIG_SF_DEFAULT_BUS=1
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SPI_FLASH_MTD=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_MARVELL=y
 CONFIG_PHY_GIGE=y
 CONFIG_MVNETA=y
index cf7499bb16f0a01444b924c2b441d3ff699308e2..6fe9750841fa85ee7457d6a4ef575559f46f64fa 100644 (file)
@@ -85,6 +85,7 @@ CONFIG_SF_DEFAULT_BUS=1
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_BITBANGMII=y
 CONFIG_BITBANGMII_MULTI=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_MARVELL=y
 CONFIG_PHY_GIGE=y
 CONFIG_MVNETA=y
index 33b8b806652e9cf709f9eec426e3029731fe0be6..22a1e834247f12363c590251e7b1ae4dc07c4b2f 100644 (file)
@@ -64,6 +64,7 @@ CONFIG_MISC=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_MARVELL=y
 CONFIG_PHY_GIGE=y
 CONFIG_MVPP2=y
index 540a348fdcf82953e1d3013c0cb8df985c57305b..a6c862234a039409d62eda721af01a8323bce192 100644 (file)
@@ -71,6 +71,7 @@ CONFIG_SF_DEFAULT_BUS=1
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_MARVELL=y
 CONFIG_PHY_GIGE=y
 CONFIG_MVNETA=y
index 4d4cf36749a3c3c828b4513691e282bc23769e0a..54457820568b41899eed7e2ed0d82a0d78ac9c49 100644 (file)
@@ -75,6 +75,7 @@ CONFIG_SF_DEFAULT_BUS=1
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_MARVELL=y
 CONFIG_PHY_GIGE=y
 CONFIG_MVNETA=y
index 4f98ee4f3821ddc6940f40f4fc869384492263ab..ee8cb8ae66cb58b4f0c7d3d7af5e2818802fe7a9 100644 (file)
@@ -68,6 +68,7 @@ CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_MMC_SDHCI_MV=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_MARVELL=y
 CONFIG_PHY_GIGE=y
 CONFIG_MVNETA=y
index d776693b6006eba79d0eaa73f10bc48027806922..f10a6fbccabb8315f93046d323a2516242c2cc2c 100644 (file)
@@ -70,6 +70,7 @@ CONFIG_NAND_PXA3XX=y
 CONFIG_SYS_NAND_ONFI_DETECTION=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_MARVELL=y
 CONFIG_PHY_GIGE=y
 CONFIG_MVNETA=y
index 1fc738021609a74ed46fc42f1aa90fc007c49720..56bd56b1aaf9535de61bb0e4baf30a1ac30ba18c 100644 (file)
@@ -71,6 +71,7 @@ CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_MARVELL=y
 CONFIG_PHY_GIGE=y
 CONFIG_MVNETA=y
index ecf9501ba5ae2edf732a45786a314e084bd5ff8a..18c741d4f28ddd920f3470f0bbe9cd3b94ce0508 100644 (file)
@@ -68,6 +68,7 @@ CONFIG_SYS_I2C_MVTWSI=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_PHY_ADDR_ENABLE=y
+CONFIG_PHY_ANEG_TIMEOUT=16000
 CONFIG_PHY_MARVELL=y
 CONFIG_PHY_GIGE=y
 CONFIG_MVNETA=y
index c4c5d48f4eba3ac892cd027c849f5fd619d085e1..29b6230e9014afc9be1b401a2a3064c5712ea471 100644 (file)
@@ -64,6 +64,7 @@ CONFIG_MMC_SDHCI_MV=y
 CONFIG_SF_DEFAULT_BUS=1
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SPI_FLASH_MTD=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_MARVELL=y
 CONFIG_PHY_GIGE=y
 CONFIG_MVNETA=y
index 149ce0bac0d5ff0cdd7d7757be8ac363ff7b85f8..fc412d04ac7229e0b71d4437de687abb3061e5a0 100644 (file)
@@ -68,6 +68,7 @@ CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_BITBANGMII=y
 CONFIG_BITBANGMII_MULTI=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_REALTEK=y
 CONFIG_RENESAS_RAVB=y
 CONFIG_DM_REGULATOR=y
index a07689894efc85d4b6cc74de80f0d157215ea55f..b92488587d87fd075070a0617bd392ddc4dea635 100644 (file)
@@ -61,6 +61,8 @@ CONFIG_LED=y
 CONFIG_LED_GPIO=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_MSM=y
+CONFIG_PHYLIB=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY=y
 CONFIG_PINCTRL=y
 CONFIG_PINCONF=y
index 68b24ce3fb0e5935797b8c7cddf08e3b8dc1e7f3..5e6bbb3e508f6efac0210e74605e88ae2b19d7c9 100644 (file)
@@ -124,6 +124,7 @@ CONFIG_SPL_MMC_HS400_SUPPORT=y
 CONFIG_FSL_USDHC=y
 CONFIG_PHYLIB=y
 CONFIG_PHY_ADDR_ENABLE=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_PHY_FIXED=y
index 53249f44a4e399beb9752c8833b84883e7f859a8..f26a8791cd028ef5ed28c643d728e6a735f305b0 100644 (file)
@@ -193,6 +193,7 @@ CONFIG_SPI_FLASH_SFDP_SUPPORT=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SPI_FLASH_MTD=y
 CONFIG_PHYLIB=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_ATHEROS=y
 CONFIG_PHY_BROADCOM=y
 CONFIG_DM_MDIO=y
index 3a62272723228a84dc2b1eae427ad74fb2ee05a1..05f68c7e2aeb1f7b109fe86f28b307e3197f8c9b 100644 (file)
@@ -87,6 +87,7 @@ CONFIG_MMC_UHS_SUPPORT=y
 CONFIG_MMC_HS400_ES_SUPPORT=y
 CONFIG_MMC_HS400_SUPPORT=y
 CONFIG_FSL_USDHC=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_DWC_ETH_QOS=y
index b0dcbc723bab0fac48afa933a95cdb1bab25e5c1..3c337d4bd2517ffc21936208493c3cb7622f2dc8 100644 (file)
@@ -113,6 +113,7 @@ CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_ATMEL=y
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_SPI_FLASH_MTD=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_DM_ETH_PHY=y
index 209d896b00c7f32c6b52c01610e9bb04fd691005..fe3e757eefdd16471f180370915827f699cb3bb3 100644 (file)
@@ -206,6 +206,7 @@ CONFIG_SPI_FLASH_SFDP_SUPPORT=y
 # CONFIG_SPI_FLASH_UNLOCK_ALL is not set
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SPI_FLASH_MTD=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_ATHEROS=y
 CONFIG_PHY_BROADCOM=y
 CONFIG_PHY_MICREL=y
index 70126c961f3d7682816092ed98241caac7a73a26..aa1de6d690982e1ba128ae69f04cccea05153bdf 100644 (file)
@@ -76,6 +76,7 @@ CONFIG_MMC_UHS_SUPPORT=y
 CONFIG_MMC_HS400_ES_SUPPORT=y
 CONFIG_MMC_HS400_SUPPORT=y
 CONFIG_FSL_USDHC=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_REALTEK=y
 CONFIG_DM_ETH_PHY=y
 CONFIG_PHY_GIGE=y
index 76f2fe8fcc926118ad02005883ca4fdeb90b9db1..5944c6c53044ce9adf5a2f5c9957d4845ac5823a 100644 (file)
@@ -201,6 +201,7 @@ CONFIG_SPI_FLASH_SFDP_SUPPORT=y
 # CONFIG_SPI_FLASH_UNLOCK_ALL is not set
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SPI_FLASH_MTD=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_PHY_SMSC=y
index 5b338f221958f23e34da4cc2a6f0d99b01ea9ab0..7b3dae504f804c0abd58ee87773ffca70c62a3dc 100644 (file)
@@ -208,6 +208,7 @@ CONFIG_SPI_FLASH_SFDP_SUPPORT=y
 # CONFIG_SPI_FLASH_UNLOCK_ALL is not set
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SPI_FLASH_MTD=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_PHY_SMSC=y
index d907aedb05a5b8488d33834c9cc2069acacb08c7..f5ba022b07599bd586898dc33836e348723242e4 100644 (file)
@@ -93,6 +93,7 @@ CONFIG_MMC_UHS_SUPPORT=y
 CONFIG_MMC_HS400_ES_SUPPORT=y
 CONFIG_MMC_HS400_SUPPORT=y
 CONFIG_FSL_USDHC=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_REALTEK=y
 CONFIG_DM_ETH_PHY=y
 CONFIG_PHY_GIGE=y
index 393a1316cd96958cfa7d139f2b02df8279f737fd..54789365aa946c56ada82c60606faafc65312797 100644 (file)
@@ -126,6 +126,7 @@ CONFIG_MTD=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_REALTEK=y
 CONFIG_DM_ETH_PHY=y
 CONFIG_PHY_GIGE=y
index 6dd51a3f1fc27c21ea6820a0c220d9b105a59361..4b0b71d03d98e9897915b7beda06b668aad3f207 100644 (file)
@@ -127,6 +127,7 @@ CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_SPI_FLASH_WINBOND=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_REALTEK=y
 CONFIG_DM_ETH_PHY=y
 CONFIG_PHY_GIGE=y
index 721c4cb9d1151327f32f7f8b7a5acd40072a021f..b302df1f351aca828d1b401121eb59f88f3ef2d4 100644 (file)
@@ -74,6 +74,7 @@ CONFIG_MTD=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_PHYLIB=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ8XXX=y
 CONFIG_FEC_MXC=y
index 5ad770f91e1033eef4f2547615cd5d8b9179d320..2246715d822d787bd416bf5edec082a81598e02f 100644 (file)
@@ -98,6 +98,7 @@ CONFIG_MMC_UHS_SUPPORT=y
 CONFIG_MMC_HS400_ES_SUPPORT=y
 CONFIG_MMC_HS400_SUPPORT=y
 CONFIG_FSL_USDHC=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_REALTEK=y
 CONFIG_DM_ETH_PHY=y
 CONFIG_PHY_GIGE=y
index abda6d1266294d000eb515d271cc007125c4a502..deed068550ad99fd5aaa804e5c490191a40e6855 100644 (file)
@@ -95,6 +95,7 @@ CONFIG_MMC_UHS_SUPPORT=y
 CONFIG_MMC_HS400_ES_SUPPORT=y
 CONFIG_MMC_HS400_SUPPORT=y
 CONFIG_FSL_USDHC=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_REALTEK=y
 CONFIG_DM_ETH_PHY=y
 CONFIG_PHY_GIGE=y
index e39d7dc5e882434eccf610fa4b9601fe31ddcfca..94ce213f93af9ff022eb77ed4e8fc3ec163c034a 100644 (file)
@@ -112,6 +112,7 @@ CONFIG_MMC_UHS_SUPPORT=y
 CONFIG_MMC_HS400_ES_SUPPORT=y
 CONFIG_MMC_HS400_SUPPORT=y
 CONFIG_FSL_USDHC=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_ADIN=y
 CONFIG_PHY_ATHEROS=y
 CONFIG_PHY_REALTEK=y
index 88965e273e21318541e089048073e5260345ca24..5d54d75f974b13d6919bbc005454f051c1a7fbe0 100644 (file)
@@ -81,6 +81,7 @@ CONFIG_SF_DEFAULT_BUS=1
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_PHYLIB=y
+CONFIG_PHY_ANEG_TIMEOUT=10000
 CONFIG_PHY_MARVELL=y
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ8XXX=y
index 3a45c41ef74974199a3961762f8ed79d3a2bee4a..9adab3af3057d3bed634ddb021f21bab64bb70d4 100644 (file)
@@ -57,6 +57,7 @@ CONFIG_SF_DEFAULT_BUS=1
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_PHYLIB=y
+CONFIG_PHY_ANEG_TIMEOUT=10000
 CONFIG_PHY_MARVELL=y
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ8XXX=y
index e2a87c4a81dee14c3679a6457e6b93a4506f13df..c2133470fc9c8adbf17f767085f28b9d8dc25b67 100644 (file)
@@ -83,6 +83,7 @@ CONFIG_SPL_SYS_I2C_LEGACY=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_FSL_USDHC=y
 CONFIG_PHYLIB=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_TI=y
 CONFIG_PHY_GIGE=y
 CONFIG_FEC_MXC=y
index a4a7f1a5cbdb39411c26873a552e6ae47ee318b6..868eeaf6c8e2a215e1f3a79a91c3f3fdd3ff2d55 100644 (file)
@@ -77,6 +77,7 @@ CONFIG_MMC_DW=y
 CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SPI_FLASH_WINBOND=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_MSCC=y
 CONFIG_DM_ETH_PHY=y
 CONFIG_ETH_DESIGNWARE=y
index 9906099e8c568652ae588e64d1279e3533cde570..51a9d0f4f68e69f69bc39befc35b2841ba29f6be 100644 (file)
@@ -53,6 +53,7 @@ CONFIG_SYS_I2C_MVTWSI=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_MARVELL=y
 CONFIG_PHY_GIGE=y
 CONFIG_MVNETA=y
index dc5a45fb0d82cca9d8ea9ba37014b7cb53dd50b4..2e1d112a3e7ff4117343b11ae5538ee94bb625ab 100644 (file)
@@ -85,6 +85,7 @@ CONFIG_MMC_UHS_SUPPORT=y
 CONFIG_MMC_HS400_ES_SUPPORT=y
 CONFIG_MMC_HS400_SUPPORT=y
 CONFIG_FSL_USDHC=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_TI=y
 CONFIG_DM_ETH_PHY=y
 CONFIG_PHY_GIGE=y
index 5e13d2cb768a53c30205078c599905f422d15cc2..e7d7deabfe6da8bf653f485271ad893a5693906f 100644 (file)
@@ -75,6 +75,7 @@ CONFIG_NAND_PXA3XX=y
 CONFIG_SYS_NAND_ONFI_DETECTION=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_MARVELL=y
 CONFIG_PHY_GIGE=y
 CONFIG_MVNETA=y
index 00fcd57f929de160d707dc875474a06a14e779b5..cb711f0ad4cfd269a9719c34bc278342d875078f 100644 (file)
@@ -63,6 +63,7 @@ CONFIG_SPI_FLASH_ATMEL=y
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_PHYLIB=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_MARVELL=y
 CONFIG_DM_MDIO=y
 CONFIG_DM_ETH_PHY=y
index 09ea1c54f137ab6ad0d8e160ce63e69c2edaf43f..0c4b1eed567833c0908afb99a6ad0e7d6343e480 100644 (file)
@@ -67,6 +67,7 @@ CONFIG_SPI_FLASH_SPANSION=y
 # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
 CONFIG_BITBANGMII=y
 CONFIG_BITBANGMII_MULTI=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_DM_ETH_PHY=y
index 089c7544e5e4fdb73c36da3997eb03804a4302bd..ab49d547d38659312161a76a9c5cf5831695dadc 100644 (file)
@@ -72,6 +72,7 @@ CONFIG_SPI_FLASH_SPANSION=y
 # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
 CONFIG_BITBANGMII=y
 CONFIG_BITBANGMII_MULTI=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_DM_ETH_PHY=y
index 9f5212f93d88d6d228f68b24706296acccae03dc..1e7e430cd8b2c814299acea280b7513db5866140 100644 (file)
@@ -75,6 +75,7 @@ CONFIG_SPI_FLASH_SPANSION=y
 # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
 CONFIG_BITBANGMII=y
 CONFIG_BITBANGMII_MULTI=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_DM_ETH_PHY=y
index 8c85f42ed4223ba3783e67fe8d2323b691d1db7a..e942acd83a81d42d3a6ef13967ca402255d6e9e4 100644 (file)
@@ -68,6 +68,7 @@ CONFIG_SPI_FLASH_SPANSION=y
 # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
 CONFIG_BITBANGMII=y
 CONFIG_BITBANGMII_MULTI=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_DM_ETH_PHY=y
index 3960a250d9e0c9fa30a5b860a0a9c208bc62bcc1..7418d390d1db220497bf915386653aa7facb8913 100644 (file)
@@ -89,6 +89,7 @@ CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_BITBANGMII=y
 CONFIG_BITBANGMII_MULTI=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_DM_ETH_PHY=y
index 01f5b135959ebe96c612fe7cb7b31f2c886caee6..29d921d16c4d7d576dc8417a622293b434a0d56c 100644 (file)
@@ -86,6 +86,7 @@ CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_BITBANGMII=y
 CONFIG_BITBANGMII_MULTI=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_DM_ETH_PHY=y
index 40097f9dc347bdf69d7c29792ff7d98e453240bb..7dbd1457d8703b0a0b81acd0cdeeb3017b3738db 100644 (file)
@@ -61,6 +61,7 @@ CONFIG_SPI_FLASH_SPANSION=y
 # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
 CONFIG_BITBANGMII=y
 CONFIG_BITBANGMII_MULTI=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_DM_ETH_PHY=y
index 9ab46a4d5e029f3c16d27e4a91fedc1aeceadec2..e822e95eb815b54b3357aabebaa867eb29a27bec 100644 (file)
@@ -64,6 +64,7 @@ CONFIG_MTD=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
 # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHYLIB_10G=y
 CONFIG_PHY_MARVELL_10G=y
 CONFIG_DM_ETH_PHY=y
index abc9a3ba61151098679760e0d542f5eb41814322..a0abc45b72af3b12cd02f64b8eddda31c11bb6da 100644 (file)
@@ -60,6 +60,7 @@ CONFIG_SPI_FLASH_SPANSION=y
 # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
 CONFIG_BITBANGMII=y
 CONFIG_BITBANGMII_MULTI=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_DM_ETH_PHY=y
index a986a09b8e0dfc2f717de507d9a0ab9997f946a3..6cbe27a316d3d4118a033fad990bf36ac2233a54 100644 (file)
@@ -60,6 +60,7 @@ CONFIG_SPI_FLASH_SPANSION=y
 # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
 CONFIG_BITBANGMII=y
 CONFIG_BITBANGMII_MULTI=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_DM_ETH_PHY=y
index 45d2446b8a1c8c912368c7f67372553c63c5de3f..318a9ab03e624f93130d789fdc3079ff953918bd 100644 (file)
@@ -92,6 +92,7 @@ CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_BITBANGMII=y
 CONFIG_BITBANGMII_MULTI=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_DM_ETH_PHY=y
index b5d812192468a8d688f12c0f1b3cfb54c594254f..f8e8c92b670eeb50d273e13194d6f866ddff0bed 100644 (file)
@@ -90,6 +90,7 @@ CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_BITBANGMII=y
 CONFIG_BITBANGMII_MULTI=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_DM_ETH_PHY=y
index 234c96502333bd32e61421b2820990571754045e..eebbaa99379848b288c5929106ff488f7dbc3aab 100644 (file)
@@ -66,6 +66,7 @@ CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_BITBANGMII=y
 CONFIG_BITBANGMII_MULTI=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_ATHEROS=y
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
index 4c6009dbe4568d8c459d9d5608918f41367a9948..d1b1c03cf4cd603b3c257d3aa1a1a623bbcb3eda 100644 (file)
@@ -68,6 +68,7 @@ CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_BITBANGMII=y
 CONFIG_BITBANGMII_MULTI=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_REALTEK=y
 CONFIG_RENESAS_RAVB=y
 CONFIG_DM_REGULATOR=y
index 603b74401ea2f16a9fb55c98aa2d1007a31bc60c..c415248bb6e83d522dc11f653d14f54f20592a71 100644 (file)
@@ -67,6 +67,7 @@ CONFIG_MMC_DW=y
 CONFIG_SPI_FLASH_STMICRO=y
 # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
 CONFIG_SPI_FLASH_MTD=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_MARVELL=y
 CONFIG_PHY_GIGE=y
 CONFIG_ETH_DESIGNWARE=y
index 8442f0bfe9471b61a71dc0b6db25b14acc4a4b5b..c3e6b097db061eae697cc0c14bf6a6043cadfb0e 100644 (file)
@@ -133,6 +133,7 @@ CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SPI_FLASH_MTD=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_DWC_ETH_QOS=y
 CONFIG_KS8851_MLL=y
 CONFIG_PHY=y
index 91b64f7537a069e9536bd4657667278e5bb94fc2..1eac11b5a441383029e63d63ce1c9e9a02a97453 100644 (file)
@@ -131,6 +131,7 @@ CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SPI_FLASH_MTD=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
 CONFIG_DWC_ETH_QOS=y
index ed468b8fe9a3b5e9c0afe82b299b858d11eda2a9..d237092bb967694c33401edb6900313fd15d371b 100644 (file)
@@ -78,6 +78,7 @@ CONFIG_SYS_I2C_MVTWSI=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_MARVELL=y
 CONFIG_PHY_GIGE=y
 CONFIG_MVNETA=y
index 9753e270951a8c959987c001c89cba2ac2851b4a..225a76f993d3bc2d65f47c039cdffac3d3e13050 100644 (file)
@@ -96,6 +96,7 @@ CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_SPI_FLASH_WINBOND=y
 CONFIG_SPI_FLASH_MTD=y
+CONFIG_PHY_ANEG_TIMEOUT=8000
 CONFIG_PHY_MARVELL=y
 CONFIG_PHY_FIXED=y
 CONFIG_DM_DSA=y
index 40c6a29a16e32825c24dae411e271714d8bfd4b0..4207974dbddec7bb6a2c3b8bac6fffc418c92728 100644 (file)
@@ -101,6 +101,7 @@ CONFIG_SPI_FLASH_SST=y
 CONFIG_SPI_FLASH_WINBOND=y
 # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
 CONFIG_SPI_FLASH_MTD=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_MARVELL=y
 CONFIG_PHY_NATSEMI=y
 CONFIG_PHY_REALTEK=y
index c9b8a6de01333984b0da7a4abc0e5bd3dd4f48b5..06c192ce9d0825ac68859d5af169bfdd276e0b7c 100644 (file)
@@ -102,6 +102,7 @@ CONFIG_SPI_FLASH_SST=y
 CONFIG_SPI_FLASH_WINBOND=y
 # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
 CONFIG_SPI_FLASH_MTD=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_ADIN=y
 CONFIG_PHY_MARVELL=y
 CONFIG_PHY_NATSEMI=y
index ba42f0c78485396c2cf29b322211efbc7871c5a3..8c6032532a2af4bed9c9f6779c6395264b79d84c 100644 (file)
@@ -158,6 +158,7 @@ CONFIG_DM_MTD=y
 CONFIG_SPI_FLASH_STMICRO=y
 # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
 CONFIG_SPI_FLASH_MTD=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_ADIN=y
 CONFIG_PHY_TI_DP83867=y
 CONFIG_PHY_XILINX_GMII2RGMII=y
index ee87beb19c622311cf3f411c61a7bf2edf9e5169..89187972fec2e6d68866b29a250062667447f329 100644 (file)
@@ -169,6 +169,7 @@ CONFIG_SPI_FLASH_SST=y
 CONFIG_SPI_FLASH_WINBOND=y
 # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
 CONFIG_SPI_FLASH_MTD=y
+CONFIG_PHY_ANEG_TIMEOUT=20000
 CONFIG_PHY_ADIN=y
 CONFIG_PHY_MARVELL=y
 CONFIG_PHY_MICREL=y
index 4517a6b13ba63d6e053c474546324d8591eecca7..d2db8d9f79213961c9f4045d43c8498293e1254f 100644 (file)
@@ -566,9 +566,9 @@ int aquantia_startup(struct phy_device *phydev)
                        if ((i++ % 500) == 0)
                                printf(".");
                } while (!aquantia_link_is_up(phydev) &&
-                        i < (4 * PHY_ANEG_TIMEOUT));
+                        i < (4 * CONFIG_PHY_ANEG_TIMEOUT));
 
-               if (i > PHY_ANEG_TIMEOUT)
+               if (i > CONFIG_PHY_ANEG_TIMEOUT)
                        printf(" TIMEOUT !\n");
        }
 
index fbf85d90f546c915b850fed0a914c3ef3c35c1d6..716a1d461115e2e353a568c77c379d822bdbd3ac 100644 (file)
@@ -250,7 +250,7 @@ int genphy_update_link(struct phy_device *phydev)
                        /*
                         * Timeout reached ?
                         */
-                       if (i > (PHY_ANEG_TIMEOUT / 50)) {
+                       if (i > (CONFIG_PHY_ANEG_TIMEOUT / 50)) {
                                printf(" TIMEOUT !\n");
                                phydev->link = 0;
                                return -ETIMEDOUT;
index a1a39f61488ebf0c34da7b0504d8c2e31b4e8770..4d87e2d1f36fffe75e22c584ae291cd5dc85baca 100644 (file)
@@ -361,7 +361,7 @@ static int pcs_pma_startup(struct axidma_priv *priv)
         * and the external PHY is not obtained.
         */
        debug("axiemac: waiting for link status of the PCS/PMA PHY");
-       while (retry_cnt * 10 < PHY_ANEG_TIMEOUT) {
+       while (retry_cnt * 10 < CONFIG_PHY_ANEG_TIMEOUT) {
                rc = phyread(priv, priv->pcsaddr, MII_BMSR, &mii_reg);
                if ((mii_reg & BMSR_LSTATUS) && mii_reg != 0xffff && !rc) {
                        debug(".Done\n");
index 983428920fa1b05130e5329ef2e74bd980c7e140..87ffa769d15757f520cfb68d353b07dff621a620 100644 (file)
 
 #endif
 
-#define PHY_ANEG_TIMEOUT       8000 /* PHY needs longer aneg time at 1G */
-
 /* NAND support */
 #ifdef CONFIG_MTD_RAW_NAND
 /* NAND: device related configs */
index 06edde69028d811f68544cddfec4d1e0b5473397..4b4362ccfd883d700def4ca8fa97fba2b384b0f5 100644 (file)
@@ -36,7 +36,6 @@
 #include <configs/ti_omap5_common.h>
 
 /* CPSW Ethernet */
-#define PHY_ANEG_TIMEOUT       8000    /* PHY needs longer aneg time at 1G */
 
 /*
  * Default to using SPI for environment, etc.
index 0df3917e20093234139647ec00829bebbafba8da..6fd43511ee4ddec915b8d3c6692b8d2cf5eaaa29 100644 (file)
@@ -22,7 +22,6 @@
 #define CFG_SYS_FSL_USDHC_NUM  3
 
 /* Network */
-#define PHY_ANEG_TIMEOUT               15000 /* PHY needs longer aneg time */
 
 /* USB Configs */
 /* Host */
index 062d3d87026967baf96b46060ef4bd2eaed06d8e..7c7ada15bd93775aeda66f39b938a6ba67325a58 100644 (file)
@@ -26,8 +26,6 @@
  * image and environment
  */
 
-#define PHY_ANEG_TIMEOUT       8000    /* PHY needs a longer aneg time */
-
 /* Keep device tree and initrd in lower memory so the kernel can access them */
 #define RELOCATION_LIMITS_ENV_SETTINGS \
        "fdt_high=0x10000000\0"         \
index 0e922b96644071c27a126e3c10c6563501eef07c..1ba63b22d595f071026f21b54f093b5aae94b3a1 100644 (file)
@@ -15,8 +15,6 @@
 
 /* Environment in SPI NOR flash */
 
-#define PHY_ANEG_TIMEOUT       8000    /* PHY needs a longer aneg time */
-
 /*
  * Environment Configuration
  */
index 54de2d0d8334bed1a4e23b010b2c460ace8ea364..cf00217a9eef132f80b2680b15619f501af0da83 100644 (file)
@@ -23,8 +23,6 @@
 
 /* Environment in SPI NOR flash */
 
-#define PHY_ANEG_TIMEOUT       8000    /* PHY needs a longer aneg time */
-
 /*
  * mv-common.h should be defined after CMD configs since it used them
  * to enable certain macros
index c4ae397e3e68c7a46236c44ad78268f29b864d0b..b174b0db66aa1c817492a83ca480ea2e5125a4c1 100644 (file)
@@ -12,8 +12,6 @@
 
 /* Environment in SPI NOR flash */
 
-#define PHY_ANEG_TIMEOUT       8000    /* PHY needs a longer aneg time */
-
 /* NAND */
 
 /* Keep device tree and initrd in lower memory so the kernel can access them */
index 2cbe4eb440b4cedcd6e720eef8312cc99f55e943..4ac1f3cffd914d43d55080e3c443056a1eb590bf 100644 (file)
@@ -15,8 +15,6 @@
 
 /* Environment in SPI NOR flash */
 
-#define PHY_ANEG_TIMEOUT       8000    /* PHY needs a longer aneg time */
-
 /* Keep device tree and initrd in lower memory so the kernel can access them */
 #define CFG_EXTRA_ENV_SETTINGS \
        "fdt_high=0x10000000\0"         \
index 5c6d7fa1b7766aef633242081d0da1022b5712f9..67e62d6f34a977de952aea90e020d011787c3b02 100644 (file)
@@ -19,8 +19,6 @@
 
 /* Environment in SPI NOR flash */
 
-#define PHY_ANEG_TIMEOUT       8000    /* PHY needs a longer aneg time */
-
 /* NAND */
 
 /*
index 0883ec4d53b30ccaea6474968ef70187906936a6..c2326596811803c1b894bca512f4aff612465150 100644 (file)
@@ -7,8 +7,6 @@
 #ifndef _CONFIG_DS116_H
 #define _CONFIG_DS116_H
 
-#define PHY_ANEG_TIMEOUT       8000    /* PHY needs a longer aneg time */
-
 /* Keep device tree and initrd in lower memory so the kernel can access them */
 #define RELOCATION_LIMITS_ENV_SETTINGS  \
        "fdt_high=0x10000000\0"         \
index 9446acba7923fa8f47ccd9737ab60c1fb5f86c3e..f1921dac5e7647ddd01a30bb9b4a2d1ce35b4ca0 100644 (file)
@@ -55,6 +55,5 @@
 
 
 /* increase autoneg timeout, my NIC sucks */
-#define PHY_ANEG_TIMEOUT       16000
 
 #endif /* _CONFIG_SYNOLOGY_DS414_H */
index 7d81d1cf1e4cb7a1aef07d49c1e038bd5fcfaad4..a3b6335a541e4535f440a6730ab10d96e8540ad9 100644 (file)
@@ -26,8 +26,6 @@
  * image and environment
  */
 
-#define PHY_ANEG_TIMEOUT       8000    /* PHY needs a longer aneg time */
-
 /* Keep device tree and initrd in lower memory so the kernel can access them */
 #define RELOCATION_LIMITS_ENV_SETTINGS \
        "fdt_high=0x10000000\0"         \
index 27404c80fdfc65398f2b2774e26129d7c9a9c551..950ec8b190d2475ac5aeb72e7e882c3b3e22ccc0 100644 (file)
@@ -9,7 +9,6 @@
 #define __CONFIGS_HMIBSC_H
 
 /* PHY needs a longer aneg time */
-#define PHY_ANEG_TIMEOUT               8000
 
 #define CFG_ENV_FLAGS_LIST_STATIC "BOOT_A_LEFT:dw,BOOT_B_LEFT:dw,BOOT_ORDER:sw"
 
index 5cc60af91e56c904ace99af07aa9d7a42149d4ef..7058d632d674d6f820a5028231050e0d1dc05110 100644 (file)
@@ -9,7 +9,6 @@
 #include <configs/verdin-imx8mm.h>
 
 /* PHY needs a longer autoneg timeout */
-#define PHY_ANEG_TIMEOUT               20000
 
 /* Custom initial environment variables */
 #undef CFG_EXTRA_ENV_SETTINGS
index b777fe6073bfaf9fdd5b5b5d73035d4b9174345f..9a5e5bd009d8e5ba375a1a7aeb2f3787e5bb18d0 100644 (file)
@@ -28,7 +28,6 @@
 #define CFG_MXC_UART_BASE              UART3_BASE_ADDR
 
 /* PHY needs a longer autonegotiation timeout after reset */
-#define PHY_ANEG_TIMEOUT               20000
 
 /* USDHC */
 #define CFG_SYS_FSL_USDHC_NUM  2
index ee0fd07e6509fce93c9d80717c6c18e9465bfe12..b36dae7c34f37f45e0171816dbc6ad9f494982a8 100644 (file)
 
 #define CFG_SYS_UBOOT_BASE     (QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
 
-#if defined(CONFIG_CMD_NET)
-#define PHY_ANEG_TIMEOUT 20000
-#endif
-
 /* Link Definitions */
 
 #define CFG_SYS_INIT_RAM_ADDR  0x40000000
index 8d7954004c2aff897692b41dc55ef3c07a4482f3..f953847ce05410281870ac2cf0074b6bb4d785f1 100644 (file)
@@ -21,7 +21,6 @@
 #define CFG_MXC_UART_BASE              UART3_BASE_ADDR
 
 /* PHY needs a longer autonegotiation timeout after reset */
-#define PHY_ANEG_TIMEOUT               20000
 #define FEC_QUIRK_ENET_MAC
 
 #define CFG_EXTRA_ENV_SETTINGS                                         \
index e82e8b16b1d2187443ecebd1b82011caa293e57f..14b911009471a2ae7e1dcd440238069a68629004 100644 (file)
@@ -16,8 +16,6 @@
 #if defined(CONFIG_CMD_NET)
 #define CFG_FEC_MXC_PHYADDR          1
 
-#define PHY_ANEG_TIMEOUT 20000
-
 #endif
 
 #define BOOT_TARGET_DEVICES(func) \
index ea32fe11a52969ba50b2b336b9bac7479d6c13da..c848fce8bdac5599ee0f627099232ae8c10d28a0 100644 (file)
@@ -21,7 +21,6 @@
 #define CFG_MXC_UART_BASE              UART1_BASE_ADDR
 
 /* PHY needs a longer autonegotiation timeout after reset */
-#define PHY_ANEG_TIMEOUT               20000
 #define FEC_QUIRK_ENET_MAC
 
 /* USDHC */
index 1759318fdd35ba2a7eea7767d2906acdb39a0fa4..71452aa28332f78bba75ee09924fc3464bb00f0c 100644 (file)
@@ -15,8 +15,6 @@
 #if defined(CONFIG_CMD_NET)
 #define CFG_FEC_MXC_PHYADDR          1
 
-#define PHY_ANEG_TIMEOUT 20000
-
 #endif
 
 #define BOOT_TARGET_DEVICES(func) \
index bbbd91776feff30e47af0997f56dbddb329c9fdd..0a861a107b263f341c5a8392dd7a2e5eeee8dc40 100644 (file)
@@ -18,8 +18,6 @@
 
 #define DWC_NET_PHYADDR                        1
 
-#define PHY_ANEG_TIMEOUT 20000
-
 #endif
 
 #define BOOT_TARGET_DEVICES(func) \
index e577f60ae72337cb68eca2942e7340f5374feedc..10a166d781edc119736924511bd7a122b48ec657 100644 (file)
@@ -35,8 +35,6 @@
 #if defined(CONFIG_CMD_NET)
 #define CFG_FEC_MXC_PHYADDR          4
 
-#define PHY_ANEG_TIMEOUT 20000
-
 #endif
 
 #if IS_ENABLED(CONFIG_CMD_MMC)
index d77510e1685e45a3709459cc6c9010a6d269e806..750aef1b597e279c315afe1ee2d0dd93b0e00136 100644 (file)
@@ -19,8 +19,6 @@
 
 /* ENET Config */
 #if defined(CONFIG_FEC_MXC)
-#define PHY_ANEG_TIMEOUT               20000
-
 #define CFG_FEC_MXC_PHYADDR            1
 #endif
 
index 2705587a0156ab1b01418dc490060cace8975bf0..ce6567e2af6544efef073586538a9c0e9596c113 100644 (file)
 /* Using ULP WDOG for reset */
 #define WDOG_BASE_ADDR          WDG3_BASE_ADDR
 
-#if defined(CONFIG_CMD_NET)
-#define PHY_ANEG_TIMEOUT 20000
-#endif
-
 #endif
index 18a8ee5deedab0ab1db6c0efd7218172d76b27f5..9dc10aea407f80312348d624b687f1c06faceb83 100644 (file)
@@ -41,8 +41,4 @@
 /* Using ULP WDOG for reset */
 #define WDOG_BASE_ADDR          WDG3_BASE_ADDR
 
-#if defined(CONFIG_CMD_NET)
-#define PHY_ANEG_TIMEOUT 20000
-#endif
-
 #endif
index 2f25d393a378421e794c24f874d77708f816aa90..ce7bd6652bb490d4fce71994f645068dfa4b1f2c 100644 (file)
@@ -11,7 +11,6 @@
 
 /* Network */
 #define CFG_KSNET_CPSW_NUM_PORTS       2
-#define PHY_ANEG_TIMEOUT       10000 /* PHY needs longer aneg time */
 
 #include <configs/ti_armv7_keystone2.h>
 
index 5cf6b5a6dd4699b9c68a1a0715091df83f768565..101c59141f743b80ce168ef2c550d4aa909a1934 100644 (file)
@@ -26,8 +26,6 @@
 #if defined(CONFIG_CMD_NET)
 #define CFG_FEC_MXC_PHYADDR          0
 
-#define PHY_ANEG_TIMEOUT               20000
-
 #endif
 
 #define ENV_MEM_LAYOUT_SETTINGS \
index c5b78f9c896ff05096ed9aa6b1d4de0547af53eb..0d29e1ddc7375f5fdb8bb7229444103fbe63d16e 100644 (file)
@@ -12,6 +12,5 @@
 #define DTB_LOAD_ADDR                  0x5600000
 #define INITRD_LOAD_ADDR               0x5bf0000
 /* PHY needs longer aneg time at 1G */
-#define PHY_ANEG_TIMEOUT               8000
 
 #endif
index 413597e09b261ce541cdf73fe90c31238e077b65..4c2b538f888071f08aeb882d0aa2443d77ba6f01 100644 (file)
@@ -25,8 +25,6 @@
 
 /* Environment in SPI NOR flash */
 
-#define PHY_ANEG_TIMEOUT       8000    /* PHY needs a longer aneg time */
-
 /*
  * mv-common.h should be defined after CMD configs since it used them
  * to enable certain macros
index 3c7d96cb3c0aeefda91c87af63c4f2f609291f1c..1325859b0399df29650807671f8a35ddbb273711 100644 (file)
@@ -18,7 +18,6 @@
 
 #if defined(CONFIG_CMD_NET)
 #define CFG_FEC_MXC_PHYADDR          1
-#define PHY_ANEG_TIMEOUT 20000
 #endif
 
 #ifndef CONFIG_SPL_BUILD
index d8a9814d3e87549fd775e782bf3491e06029adb6..f98b9f8582d07e73c2d874cff8373c5d63db5acf 100644 (file)
@@ -7,8 +7,6 @@
 #ifndef _CONFIG_N2350_H
 #define _CONFIG_N2350_H
 
-#define PHY_ANEG_TIMEOUT       8000    /* PHY needs a longer aneg time */
-
 /* Keep device tree and initrd in lower memory so the kernel can access them */
 #define RELOCATION_LIMITS_ENV_SETTINGS  \
        "fdt_high=0x10000000\0"         \
index 5479bdedee5d029cf52269416843deba36747cc2..7d99fd1b01954b5162c03026a324980aab5fe310 100644 (file)
@@ -9,6 +9,4 @@
 
 #include "octeon_common.h"
 
-#define PHY_ANEG_TIMEOUT       8000    /* PHY needs a longer aneg time */
-
 #endif /* __CONFIG_H__ */
index 5f4d5ced78ff6fc3293c7e17c9af848f4a23a2c1..3f0831a901cf96a7649a9a0e1c7b41b1befb664d 100644 (file)
 /* console */
 #define CFG_SYS_BAUDRATE_TABLE { 115200, 38400 }
 
-/* PHY needs a longer autoneg timeout */
-#define PHY_ANEG_TIMEOUT               20000
-
 /* MEMORY */
-
 #define DRAM_RSV_SIZE                  0x08000000
 #define CFG_SYS_SDRAM_BASE             (0x40000000 + DRAM_RSV_SIZE)
 #define CFG_SYS_SDRAM_SIZE             (0x80000000u - DRAM_RSV_SIZE)
index 3465b4d1821d860fa8d5aa6f7ca4ec982b044b28..37a37c013df58f8a81fa11ceef2b02a5cffaa699 100644 (file)
@@ -21,7 +21,6 @@
 #define CFG_MAX_MEM_MAPPED             (0x80000000u - DRAM_RSV_SIZE)
 
 /* PHY needs a longer autoneg timeout */
-#define PHY_ANEG_TIMEOUT               20000
 
 /* Environment setting */
 #define CFG_EXTRA_ENV_SETTINGS                                 \
index caff0cf252343788aba2f4abe8766b54edde01d0..aa33cf48140d640c48bca60d35df01fe721f5ab0 100644 (file)
@@ -12,7 +12,6 @@
 
 /* Ethernet on SoC (EMAC) */
 /* The PHY is autodetected, so no MII PHY address is needed here */
-#define PHY_ANEG_TIMEOUT       8000
 
 /* The rest of the configuration is shared */
 #include <configs/socfpga_common.h>
index de39b19219d392349c63a6ff17fc973efc1ce6e3..c1fca8359d217bdc941cc900644114cc8afa697b 100644 (file)
@@ -9,7 +9,6 @@
 #define __CONFIG_STM32MP15_DH_DHSOM_H__
 
 /* PHY needs a longer autoneg timeout */
-#define PHY_ANEG_TIMEOUT               20000
 
 #ifdef CONFIG_SPL_BUILD
 #define CFG_EXTRA_ENV_SETTINGS                                         \
index 2ce92845f1c01b1e12aef22525d53b4a51a217c0..40432c9d6b2337446cc828465985382f479dc4c3 100644 (file)
@@ -32,8 +32,6 @@
 
 /* Environment in SPI NOR flash */
 
-#define PHY_ANEG_TIMEOUT       8000    /* PHY needs a longer aneg time */
-
 /* Keep device tree and initrd in lower memory so the kernel can access them */
 #define CFG_EXTRA_ENV_SETTINGS \
        "fdt_high=0x10000000\0"         \
index 47b220ff9ee77c080a8caafe84cf8f36caf33b9f..302194bc90fabcf7eb7c8beb5dbc04c1d725a024 100644 (file)
@@ -19,8 +19,6 @@
 
 /* Environment in SPI NOR flash */
 
-#define PHY_ANEG_TIMEOUT       8000    /* PHY needs a longer aneg time */
-
 /* Keep device tree and initrd in lower memory so the kernel can access them */
 #define RELOCATION_LIMITS_ENV_SETTINGS \
        "fdt_high=0x10000000\0"         \
index e1678e79e495cb5d10c77316f6c7b3fe5d75db14..982b1292873400827a81ef902c190517a71a1c12 100644 (file)
@@ -40,8 +40,6 @@
 
 /* Environment in SPI NOR flash */
 
-#define PHY_ANEG_TIMEOUT       8000    /* PHY needs a longer aneg time */
-
 /* NAND */
 
 #include <asm/arch/config.h>
index b634bb1ab705d1587515775112e63dd9fd89b446..dc3f41b94a293b14e33b82af1b7556ba401194cc 100644 (file)
@@ -28,9 +28,6 @@
 #endif
 
 /* Ethernet driver */
-#if defined(CONFIG_ZYNQ_GEM)
-# define PHY_ANEG_TIMEOUT       20000
-#endif
 
 #define ENV_MEM_LAYOUT_SETTINGS \
        "fdt_addr_r=0x40000000\0" \
index 9cb6b2bfea3ee2f56ad7bfab1fb12848f03807d0..2a03f4c0c222a91e66ac78a8350f67335b8b5d3f 100644 (file)
@@ -42,9 +42,6 @@
 #endif
 
 /* Ethernet driver */
-#if defined(CONFIG_ZYNQ_GEM)
-# define PHY_ANEG_TIMEOUT      20000
-#endif
 
 #define ENV_MEM_LAYOUT_SETTINGS \
        "fdt_addr_r=0x40000000\0" \
index 5bc117e19000a17a443c8732b41eafabfecfa6b6..f76b3c6b163a16aae530443017a5a9196e1dfb48 100644 (file)
@@ -45,9 +45,6 @@
 /* Console I/O Buffer Size */
 
 /* Ethernet driver */
-#if defined(CONFIG_ZYNQ_GEM)
-# define PHY_ANEG_TIMEOUT       20000
-#endif
 
 #define ENV_MEM_LAYOUT_SETTINGS \
        "fdt_addr_r=0x40000000\0" \
index 072ed0961f4e70d2dc74ae9aecd97cfccdb2266c..36785031eeb03339537172dbc24bf49179f3c01a 100644 (file)
@@ -58,10 +58,6 @@ struct udevice;
 #define PHY_10G_FEATURES       (PHY_GBIT_FEATURES | \
                                SUPPORTED_10000baseT_Full)
 
-#ifndef PHY_ANEG_TIMEOUT
-#define PHY_ANEG_TIMEOUT       CONFIG_PHY_ANEG_TIMEOUT
-#endif
-
 struct phy_device;
 
 #define MDIO_NAME_LEN 32