u-boot/drivers/net
Siddharth Vadapalli 5a4bfe3877 net: phy: Support overriding Auto Negotiation timeout with env variable
The Auto Negotiation procedure between two Ethernet PHYs consists of
determining the best commonly supported parameters among Speed,
Duplex Mode and Flow Control.

The time taken for this procedure is not only dependent on the local
PHY used, but also on the link-partner PHY.

While a timeout can be specified in the form of a "CONFIG" on the basis
of the local PHY present on the device, since the timeout also depends
on the link-partner PHY, it might be necessary to modify the timeout.

To avoid rebuilding the bootloader for a given device, just because it
may be connected to various link-partner PHYs, each with a different
timeout, introduce an environment variable named "phy_aneg_timeout" and
override "CONFIG_PHY_ANEG_TIMEOUT" with "phy_aneg_timeout".

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
[jf: add missing #include <env.h>]
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
2025-08-01 10:42:22 +02:00
..
bnxt drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
fm env: Rename SYS_MMC_ENV_DEV to ENV_MMC_DEVICE_INDEX 2025-06-20 12:15:08 -06:00
fsl-mc drivers: use lowercase hex prefix style 2025-06-14 09:09:39 -06:00
ldpaa_eth drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
mscc_eswitch global: Cleanup usage of "ETH_ALEN" 2025-06-02 17:26:16 -06:00
mtk_eth net: mediatek: correct the AN8855 TPID value in port isolation settings 2025-07-15 09:55:34 -06:00
octeon global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
octeontx treewide: drop no-op prefetch() calls 2025-06-18 08:05:04 -06:00
octeontx2 cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
pfe_eth net: Tighten some network driver dependencies 2025-08-01 09:30:47 +02:00
phy net: phy: Support overriding Auto Negotiation timeout with env variable 2025-08-01 10:42:22 +02:00
qe net: Tighten some network driver dependencies 2025-08-01 09:30:47 +02:00
ti net: Tighten some network driver dependencies 2025-08-01 09:30:47 +02:00
ag7xxx.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
airoha_eth.c drivers/net/airoha_eth: enable hw padding of short tx packets 2025-07-15 09:56:01 -06:00
altera_tse.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
altera_tse.h
aspeed_mdio.c driver: net: Add Aspeed AST2700 MDIO support 2024-09-11 20:34:48 +08:00
bcm6348-eth.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
bcm6368-eth.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
bcmgenet.c bcmgenet: fix Rx buffer corruption caused by lack of cache flush 2024-06-13 16:30:46 -06:00
calxedaxgmac.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
cortina_ni.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
cortina_ni.h net: cortina_ni: Add eth support for Cortina Access CAxxxx SoCs 2021-01-27 10:47:44 -05:00
dc2114x.c net: dc2114x: Include env.h to permit reading the environment 2025-05-29 08:30:25 -06:00
designware.c net: designware: fix bus address dereference 2025-06-22 10:16:29 -06:00
designware.h net: designware: Add bitbang feature for designware driver. 2025-01-23 18:51:26 -06:00
dm9000x.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
dm9000x.h
dsa_sandbox.c net: update NXP copyright text 2021-09-28 18:50:56 +03:00
dwc_eth_qos_adi.c net: Add support for ADI SC5xx SoCs with DWC QoS ethernet 2025-03-12 10:24:58 -06:00
dwc_eth_qos_imx.c net: dwc_eth_qos_imx: Add platform specific reset for i.MX93 2024-10-29 16:25:53 -03:00
dwc_eth_qos_intel.c net: dwc_eth_qos: Add glue driver for Intel MAC 2024-09-03 09:12:00 -06:00
dwc_eth_qos_intel.h net: dwc_eth_qos: Add glue driver for Intel MAC 2024-09-03 09:12:00 -06:00
dwc_eth_qos_qcom.c net: dwc_eth_qos: Adapt probe() for PCI devices 2024-09-03 09:12:00 -06:00
dwc_eth_qos_rockchip.c net: dwc_eth_qos_rockchip: Add support for RK3576 2025-04-23 22:12:05 +08:00
dwc_eth_qos_starfive.c net: dwc_eth_qos: Adapt probe() for PCI devices 2024-09-03 09:12:00 -06:00
dwc_eth_qos_stm32.c net: dwc_eth_qos: add support of stm32mp2 platform 2025-05-05 15:51:47 +02:00
dwc_eth_qos.c net: dwc_eth_qos: add support of stm32mp2 platform 2025-05-05 15:51:47 +02:00
dwc_eth_qos.h net: dwc_eth_qos: add support of stm32mp2 platform 2025-05-05 15:51:47 +02:00
dwc_eth_xgmac_socfpga.c net: dwc_eth_xgmac_socfpga: Add support for distinct mac-mode and phy mode. 2025-01-24 09:56:22 +08:00
dwc_eth_xgmac.c net: dwc: xgmac: Allow DMA buffers above 4GB 2025-05-09 15:02:38 -06:00
dwc_eth_xgmac.h Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
dwmac_meson8b.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
dwmac_s700.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
dwmac_socfpga.c net: designware: socfpga: Add RGMII-ID support 2025-01-24 09:55:54 +08:00
dwmac_thead.c drivers: net: Add T-Head DWMAC glue layer 2025-07-17 14:37:40 +08:00
e1000_spi.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
e1000.c eth: Support E1000E I225-V 2025-05-05 14:16:50 -06:00
e1000.h eth: Support E1000E I225-V 2025-05-05 14:16:50 -06:00
eepro100.c net: recv(): return -EAGAIN instead of 0 when no cleanup is expected 2024-10-27 17:03:40 -06:00
essedma.c Merge branch 'qcom-main' of https://gitlab.denx.de/u-boot/custodians/u-boot-snapdragon 2024-07-26 07:49:36 -06:00
essedma.h Merge branch 'qcom-main' of https://gitlab.denx.de/u-boot/custodians/u-boot-snapdragon 2024-07-26 07:49:36 -06:00
eth-phy-uclass.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ethoc.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
fec_mxc.c net: fec_mxc: add DM_FLAG_ACTIVE_DMA flag for FEC network driver 2024-12-23 08:09:53 -03:00
fec_mxc.h net: fec_mxc: Remove non-DM_ETH code 2022-12-07 16:04:17 -05:00
fsl_enetc_mdio.c net: fsl_enetc: add i.MX95 EMDIO support 2025-01-20 08:40:39 -03:00
fsl_enetc_netc_blk_ctrl.c net: fsl_enetc: Add initial netc-blk-ctrl driver support 2025-01-20 08:40:39 -03:00
fsl_enetc.c net: Add <cpu_func.h> to some platforms 2025-08-01 09:30:47 +02:00
fsl_enetc.h net: fsl_enetc: Update enetc driver to support i.MX95 2025-01-20 08:40:39 -03:00
fsl_ls_mdio.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
fsl_mdio.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ftgmac100.c drivers/net/ftgmac100.c: Fix a debug print 2025-08-01 09:30:47 +02:00
ftgmac100.h net: ftgmac100: Add Aspeed AST2700 support 2024-09-11 20:34:43 +08:00
ftmac100.c drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
ftmac100.h net: ftmac100: add mii read and write callbacks 2023-02-10 13:41:07 -05:00
gmac_rockchip.c net: gmac_rockchip: Add RMII support for rk3288 2025-05-08 11:48:13 +08:00
hifemac_mdio.c net: hifemac_mdio: use log_msg_ret() correctly, report error by dev_err() 2024-03-26 19:58:26 -04:00
hifemac.c net: Add <cpu_func.h> to some platforms 2025-08-01 09:30:47 +02:00
higmacv300.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
Kconfig arm: bcm281xx: Remove ethernet driver 2025-08-01 09:30:47 +02:00
ks8851_mll.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ks8851_mll.h drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
ksz9477.c net: ksz9477: add support for KSZ GbE switches using SPI bus 2024-10-27 10:19:44 -06:00
liteeth.c liteeth: LiteX Ethernet device 2022-11-28 10:25:17 -05:00
macb.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
macb.h drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
Makefile arm: bcm281xx: Remove ethernet driver 2025-08-01 09:30:47 +02:00
mcffec.c m68k: Rename icache_invalid to invalidate_icache_all 2024-07-03 14:42:01 -06:00
mcfmii.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mdio_gpio.c Bitbanging MDIO driver for DM framework. 2025-01-01 14:35:54 -06:00
mdio_mux_i2creg.c dm: core: Access device ofnode through functions 2021-01-05 12:24:41 -07:00
mdio_mux_meson_g12a.c net: add Amlogic Meson G12A MDIO MUX driver 2021-04-06 11:10:29 +02:00
mdio_mux_meson_gxl.c net: Add Amlogic GXL MDIO Mux driver 2023-12-19 11:24:38 +01:00
mdio_mux_mmioreg.c net: add MMIO Register MDIO MUX driver 2021-04-06 11:10:29 +02:00
mdio_mux_sandbox.c treewide: use dm_mdio_read/write/reset() wrappers 2022-04-10 08:44:12 +03:00
mdio_sandbox.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
mdio-ipq4019.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mpc8xx_fec.c drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
mt7620-eth.c treewide: Rename PHY_INTERFACE_MODE_NONE to PHY_INTERFACE_MODE_NA 2022-04-10 08:44:13 +03:00
mt7628-eth.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mv88e6xxx.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mvgbe.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mvgbe.h global: Remove unused CONFIG symbols 2022-12-22 10:31:48 -05:00
mvmdio.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
mvneta.c drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
mvpp2.c treewide: drop no-op prefetch() calls 2025-06-18 08:05:04 -06:00
netconsole.c net: Remove env_get_ip helper() function 2025-05-29 08:30:24 -06:00
npcm750_eth.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
pch_gbe.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
pch_gbe.h
pcnet.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
pic32_eth.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
pic32_eth.h
pic32_mdio.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
ravb.c net: ravb: Add RZ/G2L Support 2025-05-04 20:25:03 +02:00
rswitch.c net: rswitch: Implement C22 to C45 access 2024-12-29 16:55:32 +01:00
rtl8139.c net: recv(): return -EAGAIN instead of 0 when no cleanup is expected 2024-10-27 17:03:40 -06:00
rtl8169.c drivers: net: Remove duplicate newlines 2024-07-22 10:53:05 -06:00
sandbox-raw-bus.c sandbox: eth-raw: Prevent possible buffer overflow 2025-07-24 13:30:20 -06:00
sandbox-raw.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
sandbox.c drivers: net: sandbox: add support for NET_LWIP 2025-04-23 10:02:49 +02:00
sh_eth.c net: sh_eth: arm: renesas: README: Drop CFG_SH_ETHER_PHY_ADDR 2025-07-10 19:26:56 +02:00
sh_eth.h net: sh_eth: Drop phy_addr assignment 2025-07-10 19:26:55 +02:00
sja1105.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
smc911x.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
smc911x.h WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
sni_ave.c treewide: Remove clk_free 2024-01-29 22:35:02 -05:00
sni_netsec.c net: sni_netsec: Add workaround for timeout error 2023-09-22 15:54:35 -04:00
sun8i_emac.c net: sun8i-emac: annotate fallthrough 2025-04-08 16:23:51 -06:00
sunxi_emac.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
tsec.c net: tsec: Re-arm packet buffer in error case 2025-03-03 14:18:49 +08:00
vsc7385.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
xilinx_axi_emac.c net: phy: Support overriding Auto Negotiation timeout with env variable 2025-08-01 10:42:22 +02:00
xilinx_axi_mrmac.c net: xilinx: Fix kernel-doc for axi_mrmac function parameters 2025-07-24 08:54:16 +02:00
xilinx_axi_mrmac.h arm64: zynqmp: Switch to amd.com emails 2023-07-21 09:00:38 +02:00
xilinx_emaclite.c Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
zynq_gem.c net: gem: ignore tx_clk if MII is used 2025-06-02 09:13:49 +02:00