]> git.sur5r.net Git - u-boot/commitdiff
colibri_t30: fix usb ethernet functionality
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Sat, 10 Sep 2016 02:20:48 +0000 (04:20 +0200)
committerMarek Vasut <marex@denx.de>
Tue, 27 Sep 2016 21:30:15 +0000 (23:30 +0200)
Since commit aa7a648747d8c704a9a81c9e493d386930724e9d
("net: Stop including NFS overhead in defragment max") the following
has been reproducibly observed while trying to transfer data over TFTP:

Load address: 0x80408000
Loading: EHCI timed out on TD - token=0x8008d80
T EHCI timed out on TD - token=0x88008d80
Rx: failed to receive: -5

This patch fixes this by upping our maximal de-fragmentation aka IP
packet size again.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
include/configs/colibri_t30.h

index fbb235d82ce6cbb8e09dbf2fde3a34a2d9cdd827..3431cde62fb7440bcfd5b55f139432dfcef588be 100644 (file)
@@ -48,6 +48,7 @@
 
 /* General networking support */
 #define CONFIG_IP_DEFRAG
+#define CONFIG_NET_MAXDEFRAG           (16384 + 4096 + 24)
 #define CONFIG_TFTP_BLOCKSIZE          16384
 #define CONFIG_TFTP_TSIZE