diff options
author | Fugang Duan <B38611@freescale.com> | 2011-11-24 13:06:48 +0800 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2012-09-05 14:57:57 -0400 |
commit | cf41f9068da7a6ca1a0363b399d42275733d62e3 (patch) | |
tree | b8f40dd1b3a120b91e5fd193733d9171a0d9ddd9 /net | |
parent | 223f80d9c4c5fc46f10b631fb864444a0a801b8a (diff) |
ENGR00162937 - FEC: Fix FEC cannot load kernel accroding tftp.
- Issue description:
Fec can not get ip address to download kernel if insert the
cable after powering up the board more than 20 seconds.
- Patch:
Restart init FEC interface when net cannot get packets. The
cause maybe cabel are unplugin or FEC are not ready.
Signed-off-by: Fugang Duan <B38611@freescale.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/net.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -509,6 +509,9 @@ restart: x = timeHandler; timeHandler = (thand_f *)0; (*x)(); + + /*get packets timeout, restart net interface*/ + NetStartAgain(); } |