summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2015-05-28 10:55:22 +0200
committerStefan Agner <stefan.agner@toradex.com>2015-05-28 10:55:22 +0200
commit5ceea6914f87836a1aa651df097708e4aec9c16f (patch)
treeebd3c154e512e5a06a87145b4681754bad6cba0f /include
parenta20783a8102937a0d745bd6d3927c96700fc0fbc (diff)
colibri_vf: increase tftp block size
Enable CONFIG_IP_DEFRAG and set CONFIG_TFTP_BLOCKSIZE to 16384. This increases the tftp download speed from ~2.5 to ~8.2MiB/s. While at it enable CONFIG_TFTP_TSIZE which limits the progress bar to 50 '#' indepent off the downloaded file size.
Diffstat (limited to 'include')
-rw-r--r--include/configs/colibri_vf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
index 7ede7366f2..8d10aa47e5 100644
--- a/include/configs/colibri_vf.h
+++ b/include/configs/colibri_vf.h
@@ -131,6 +131,9 @@
#define CONFIG_FEC_MXC_PHYADDR 0
#define CONFIG_PHYLIB
#define CONFIG_PHY_MICREL
+#define CONFIG_TFTP_TSIZE
+#define CONFIG_IP_DEFRAG
+#define CONFIG_TFTP_BLOCKSIZE 16384
#define CONFIG_IPADDR 192.168.10.2
#define CONFIG_NETMASK 255.255.255.0