From e093d0b2e874784b10f31196b74b3e7a99563d59 Mon Sep 17 00:00:00 2001 From: Dmitry Lifshitz Date: Tue, 8 Sep 2015 09:50:00 +0300 Subject: [PATCH] omap3: cm-t3517: enable 'netretry' and setup timeout 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 Acked-by: Igor Grinberg --- include/configs/cm_t3517.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/cm_t3517.h b/include/configs/cm_t3517.h index 33b22a72b9..4c3dcfe495 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" \ @@ -274,6 +275,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 */ -- 2.39.5