summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2015-05-21 16:51:21 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2015-05-21 16:51:21 +0200
commit8b03bc95d7fa015db02145efc8906e86fd5ac25f (patch)
tree820429ad2303e76fa88606ba1bb58660b57d239d /include
parent856c9aead21ea3777bc0c84c9d78fd659be8b7a9 (diff)
Apalis/Colibri iMX6: increase tftp blocksize
Enable CONFIG_IP_DEFRAG and set CONFIG_TFTP_BLOCKSIZE to 16384. This increases the tftp download speed considerably. While at it enable CONFIG_TFTP_TSIZE which limits the progress bar to fifty '#' indepent off the downloaded file size.
Diffstat (limited to 'include')
-rw-r--r--include/configs/apalis_imx6.h3
-rw-r--r--include/configs/colibri_imx6.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h
index 162be2e738..d8b75b40c4 100644
--- a/include/configs/apalis_imx6.h
+++ b/include/configs/apalis_imx6.h
@@ -108,6 +108,9 @@
#define CONFIG_FEC_MXC_PHYADDR 6
#define CONFIG_PHYLIB
#define CONFIG_PHY_MICREL
+#define CONFIG_TFTP_TSIZE
+#define CONFIG_IP_DEFRAG
+#define CONFIG_TFTP_BLOCKSIZE 16384
/* USB Configs */
/* Host */
diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h
index a1db396851..f69c30c6cb 100644
--- a/include/configs/colibri_imx6.h
+++ b/include/configs/colibri_imx6.h
@@ -85,6 +85,9 @@
#define CONFIG_FEC_MXC_PHYADDR 1
#define CONFIG_PHYLIB
#define CONFIG_PHY_MICREL
+#define CONFIG_TFTP_TSIZE
+#define CONFIG_IP_DEFRAG
+#define CONFIG_TFTP_BLOCKSIZE 16384
/* USB Configs */
/* Host */