diff options
author | Fugang Duan <B38611@freescale.com> | 2011-11-24 13:06:48 +0800 |
---|---|---|
committer | Fugang Duan <B38611@freescale.com> | 2011-11-24 13:06:48 +0800 |
commit | 51aa554b0655fb10cb7904071e7bb141042390b2 (patch) | |
tree | b8f40dd1b3a120b91e5fd193733d9171a0d9ddd9 /net/net.c | |
parent | 08b5c56351ea218583483f69b0c19c53a836c3c4 (diff) | |
download | u-boot-imx-51aa554b0655fb10cb7904071e7bb141042390b2.zip u-boot-imx-51aa554b0655fb10cb7904071e7bb141042390b2.tar.gz u-boot-imx-51aa554b0655fb10cb7904071e7bb141042390b2.tar.bz2 |
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/net.c')
-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(); } |