diff options
author | Stefan Roese <sr@denx.de> | 2014-10-22 12:13:15 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-10-23 09:59:21 -0400 |
commit | 4fb3f0c8024bb1464364eecc9c7708ecf6119e35 (patch) | |
tree | 00bb3f12171bbd55b13255f6f969d8dae9dc7e54 /include/phy.h | |
parent | 19fc2eae6defbf1fba494a523749dd69a80cc58b (diff) | |
download | u-boot-imx-4fb3f0c8024bb1464364eecc9c7708ecf6119e35.zip u-boot-imx-4fb3f0c8024bb1464364eecc9c7708ecf6119e35.tar.gz u-boot-imx-4fb3f0c8024bb1464364eecc9c7708ecf6119e35.tar.bz2 |
net: phy.h: Make PHY autonegotiation timeout configurable
The Marvell MV78460 eval board DB-78460-BP seems to need a longer
PHY autonegotiation timeout than the "standard" 4 seconds. So lets
make this timeout configurable. If not defined in the board config
header the original 4000ms is used.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
Diffstat (limited to 'include/phy.h')
-rw-r--r-- | include/phy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/phy.h b/include/phy.h index 2fcc328..b495077 100644 --- a/include/phy.h +++ b/include/phy.h @@ -32,7 +32,9 @@ #define PHY_10G_FEATURES (PHY_GBIT_FEATURES | \ SUPPORTED_10000baseT_Full) +#ifndef PHY_ANEG_TIMEOUT #define PHY_ANEG_TIMEOUT 4000 +#endif typedef enum { |