On 09/08/15 09:50, Dmitry Lifshitz wrote: > SBC-T3517 evaluation board has two Eth interfaces. > Enable network retry of another interface if the default if failed > or disconnected. > > Add 'netretry=yes' in the default env. Setup relevant > timeout values in the board config file. > > Signed-off-by: Dmitry Lifshitz <lifsh...@compulab.co.il>
Acked-by: Igor Grinberg <grinb...@compulab.co.il> > --- > include/configs/cm_t3517.h | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/include/configs/cm_t3517.h b/include/configs/cm_t3517.h > index a8d0b97..2d16799 100644 > --- a/include/configs/cm_t3517.h > +++ b/include/configs/cm_t3517.h > @@ -170,6 +170,7 @@ > "loadaddr=0x82000000\0" \ > "baudrate=115200\0" \ > "console=ttyO2,115200n8\0" \ > + "netretry=yes\0" \ > "mpurate=auto\0" \ > "vram=12M\0" \ > "dvimode=1024x768MR-16@60\0" \ > @@ -275,6 +276,8 @@ > #define CONFIG_SMC911X > #define CONFIG_SMC911X_32_BIT > #define CONFIG_SMC911X_BASE (0x2C000000 + (16 << 20)) > +#define CONFIG_ARP_TIMEOUT 200UL > +#define CONFIG_NET_RETRY_COUNT 5 > #endif /* CONFIG_CMD_NET */ > > /* additions for new relocation code, must be added to all boards */ > -- Regards, Igor. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot