From baa6f0f1b1fb0d6370181eefb60ad2cf06bbc361 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 6 Aug 2015 00:47:09 +0200 Subject: [PATCH] apalis/colibri_t20/t30: 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 '#' independent of the downloaded file size. Signed-off-by: Max Krummenacher Signed-off-by: Marcel Ziswiler Reviewed-by: Simon Glass Signed-off-by: Tom Warren --- include/configs/apalis_t30.h | 3 +++ include/configs/colibri_t20.h | 3 +++ include/configs/colibri_t30.h | 3 +++ 3 files changed, 9 insertions(+) diff --git a/include/configs/apalis_t30.h b/include/configs/apalis_t30.h index 7e8ffae..27c013b 100644 --- a/include/configs/apalis_t30.h +++ b/include/configs/apalis_t30.h @@ -58,6 +58,9 @@ /* General networking support */ #define CONFIG_CMD_DHCP +#define CONFIG_IP_DEFRAG +#define CONFIG_TFTP_BLOCKSIZE 16384 +#define CONFIG_TFTP_TSIZE /* Miscellaneous commands */ #define CONFIG_FAT_WRITE diff --git a/include/configs/colibri_t20.h b/include/configs/colibri_t20.h index 15bb7b2..09a65d5 100644 --- a/include/configs/colibri_t20.h +++ b/include/configs/colibri_t20.h @@ -46,6 +46,9 @@ /* General networking support */ #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 f10fa16..25885d4 100644 --- a/include/configs/colibri_t30.h +++ b/include/configs/colibri_t30.h @@ -51,6 +51,9 @@ /* General networking support */ #define CONFIG_CMD_DHCP +#define CONFIG_IP_DEFRAG +#define CONFIG_TFTP_BLOCKSIZE 16384 +#define CONFIG_TFTP_TSIZE /* Miscellaneous commands */ #define CONFIG_FAT_WRITE