aboutsummaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorMarcel Ziswiler2016-09-15 00:54:00 +0200
committerMarek Vasut2016-09-27 23:30:26 +0200
commitf7c81e287954fd9048d4419006e8314b7b7c46d0 (patch)
tree39d1d2c1659e80c287c35cbe02cbe979a2359a3a /include/configs
parent86e5a04bb8e06eb64619839eeda488e47ca6826a (diff)
apalis_t30: colibri_imx7: colibri_t30: fix ethernet functionality
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 lowering our TFTP block size to be within the standard maximal de-fragmentation aka IP packet size again. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/apalis_t30.h2
-rw-r--r--include/configs/colibri_imx7.h4
-rw-r--r--include/configs/colibri_t30.h3
3 files changed, 4 insertions, 5 deletions
diff --git a/include/configs/apalis_t30.h b/include/configs/apalis_t30.h
index 8c76605f8bc..3fc177906bc 100644
--- a/include/configs/apalis_t30.h
+++ b/include/configs/apalis_t30.h
@@ -52,7 +52,7 @@
/* General networking support */
#define CONFIG_IP_DEFRAG
-#define CONFIG_TFTP_BLOCKSIZE 16384
+#define CONFIG_TFTP_BLOCKSIZE 16352
#define CONFIG_TFTP_TSIZE
/* Miscellaneous commands */
diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h
index ba1adea364a..b628d11fe9d 100644
--- a/include/configs/colibri_imx7.h
+++ b/include/configs/colibri_imx7.h
@@ -44,9 +44,9 @@
#define CONFIG_PHYLIB
#define CONFIG_PHY_MICREL
-#define CONFIG_TFTP_TSIZE
#define CONFIG_IP_DEFRAG
-#define CONFIG_TFTP_BLOCKSIZE 16384
+#define CONFIG_TFTP_BLOCKSIZE 16352
+#define CONFIG_TFTP_TSIZE
/* ENET1 */
#define IMX_FEC_BASE ENET_IPS_BASE_ADDR
diff --git a/include/configs/colibri_t30.h b/include/configs/colibri_t30.h
index 3431cde62fb..e2a2549fb65 100644
--- a/include/configs/colibri_t30.h
+++ b/include/configs/colibri_t30.h
@@ -48,8 +48,7 @@
/* General networking support */
#define CONFIG_IP_DEFRAG
-#define CONFIG_NET_MAXDEFRAG (16384 + 4096 + 24)
-#define CONFIG_TFTP_BLOCKSIZE 16384
+#define CONFIG_TFTP_BLOCKSIZE 16352
#define CONFIG_TFTP_TSIZE
/* Miscellaneous commands */