summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2015-07-12 00:56:26 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2015-07-12 00:56:26 +0200
commit652004b987cb046bd5f5a1a04d1c9d47b01a7ab9 (patch)
treed181b51232095daed119999e204cec401b7107a2 /include
parentb13508ba09b36a79d3c5a1cbc714f2facff38e8b (diff)
apalis/colibri_t20/t30: increase tftp blocksize
Enable CONFIG_IP_DEFRAG and set CONFIG_TFTP_BLOCKSIZE to 16384 (resp. 1536 on Colibri T20). This increases the tftp download speed considerably. While at it enable CONFIG_TFTP_TSIZE which limits the progress bar to fifty '#' independent of the downloaded file size. While at it also fix some spacing from using spaces to tabs.
Diffstat (limited to 'include')
-rw-r--r--include/configs/apalis_t30.h5
-rw-r--r--include/configs/colibri_t20.h5
-rw-r--r--include/configs/colibri_t30.h5
3 files changed, 12 insertions, 3 deletions
diff --git a/include/configs/apalis_t30.h b/include/configs/apalis_t30.h
index c69e2c8847..23a0ecef14 100644
--- a/include/configs/apalis_t30.h
+++ b/include/configs/apalis_t30.h
@@ -61,7 +61,7 @@
/* USB host support */
#define CONFIG_USB_EHCI
#define CONFIG_USB_EHCI_TEGRA
-#define CONFIG_USB_MAX_CONTROLLER_COUNT 3
+#define CONFIG_USB_MAX_CONTROLLER_COUNT 3
#define CONFIG_USB_STORAGE
#define CONFIG_CMD_USB
@@ -80,6 +80,9 @@
/* General networking support */
#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
+#define CONFIG_IP_DEFRAG
+#define CONFIG_TFTP_BLOCKSIZE 16384
+#define CONFIG_TFTP_TSIZE
/* Miscellaneous commands */
#define CONFIG_CMD_SETEXPR
diff --git a/include/configs/colibri_t20.h b/include/configs/colibri_t20.h
index 0ec5fc3d5d..0aa07959c8 100644
--- a/include/configs/colibri_t20.h
+++ b/include/configs/colibri_t20.h
@@ -60,7 +60,7 @@
#define CONFIG_USB_EHCI_TEGRA
#define CONFIG_USB_ULPI
#define CONFIG_USB_ULPI_VIEWPORT
-#define CONFIG_USB_MAX_CONTROLLER_COUNT 3
+#define CONFIG_USB_MAX_CONTROLLER_COUNT 3
#define CONFIG_USB_STORAGE
#define CONFIG_CMD_USB
@@ -71,6 +71,9 @@
/* General networking support */
#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
+#define CONFIG_IP_DEFRAG
+#define CONFIG_TFTP_BLOCKSIZE 1536
+#define CONFIG_TFTP_TSIZE
/* LCD support */
#define CONFIG_LCD
diff --git a/include/configs/colibri_t30.h b/include/configs/colibri_t30.h
index 4b251910cc..d05bd628f5 100644
--- a/include/configs/colibri_t30.h
+++ b/include/configs/colibri_t30.h
@@ -61,7 +61,7 @@
/* USB host support */
#define CONFIG_USB_EHCI
#define CONFIG_USB_EHCI_TEGRA
-#define CONFIG_USB_MAX_CONTROLLER_COUNT 3
+#define CONFIG_USB_MAX_CONTROLLER_COUNT 3
#define CONFIG_USB_STORAGE
#define CONFIG_CMD_USB
@@ -72,6 +72,9 @@
/* General networking support */
#define CONFIG_CMD_NET
#define CONFIG_CMD_DHCP
+#define CONFIG_IP_DEFRAG
+#define CONFIG_TFTP_BLOCKSIZE 16384
+#define CONFIG_TFTP_TSIZE
/* Miscellaneous commands */
#define CONFIG_CMD_SETEXPR