[U-Boot,v1,16/25] net: phy.h: Make PHY autonegotiation timeout configurable

Submitted by Stefan Roese on June 27, 2014, 9:55 a.m.


Message ID 1403862911-6138-17-git-send-email-sr@denx.de
State Superseded
Delegated to: Prafulla Wadaskar
Headers show

Commit Message

Stefan Roese June 27, 2014, 9:55 a.m.
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>

 include/phy.h | 2 ++
 1 file changed, 2 insertions(+)

Patch hide | download patch | download mbox

diff --git a/include/phy.h b/include/phy.h
index d3ecd63..713742e 100644
--- a/include/phy.h
+++ b/include/phy.h
@@ -32,7 +32,9 @@ 
 #define PHY_ANEG_TIMEOUT	4000
 typedef enum {