]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
omap3: cm-t3517: enable 'netretry' and setup timeout
authorDmitry Lifshitz <lifshitz@compulab.co.il>
Tue, 8 Sep 2015 06:50:00 +0000 (09:50 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 11 Sep 2015 21:15:32 +0000 (17:15 -0400)
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 <lifshitz@compulab.co.il>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
include/configs/cm_t3517.h

index 33b22a72b98968f4300ae57833502bb5e0a3ff93..4c3dcfe495b0370b90cf80780608cf260544f4ea 100644 (file)
        "loadaddr=0x82000000\0" \
        "baudrate=115200\0" \
        "console=ttyO2,115200n8\0" \
+       "netretry=yes\0" \
        "mpurate=auto\0" \
        "vram=12M\0" \
        "dvimode=1024x768MR-16@60\0" \
 #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 */