]> git.sur5r.net Git - u-boot/commit
tftp: get the tftp block size from config file and from the environment
authorAlessandro Rubini <rubini-list@gnudd.com>
Fri, 7 Aug 2009 11:59:06 +0000 (13:59 +0200)
committerBen Warren <biggerbadderben@gmail.com>
Tue, 25 Aug 2009 20:35:54 +0000 (13:35 -0700)
commit89ba81d1079a07b8430a98c1746c6d411312eb0d
treeb04c80d57906d00ee3f055c4f58468e54458f339
parent5cfaa4e54d0eb8232fa1cf092d955fdaed5b673d
tftp: get the tftp block size from config file and from the environment

Increasing the block size is useful if CONFIG_IP_DEFRAG is
used. Howerver, the last fragments in a burst may overflow the
receiving ethernet, so the default is left at 1468, with thre new
CONFIG_TFTP_BLOCKSIZE for config files. Further, "tftpblocksize"
can be set in the environment.

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
net/tftp.c