summaryrefslogtreecommitdiff
path: root/common/image-fdt.c
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2015-08-05 15:17:05 (GMT)
committerJoe Hershberger <joe.hershberger@ni.com>2015-08-12 19:15:28 (GMT)
commit7628afebe9685a333e0a42398ed8be749a1fef0d (patch)
tree5fbbee9408059beb3ef8c15d4924d445161f4bba /common/image-fdt.c
parent1b564cecc358ccd08691c879fca95c2075fcb702 (diff)
downloadu-boot-fsl-qoriq-7628afebe9685a333e0a42398ed8be749a1fef0d.tar.xz
tftp.c: fix CONFIG_TFTP_TSIZE for small files
CONFIG_TFTP_TSIZE should limit a tftp downloads progress to 50 '#' chars. Make this work also for small files. If the file size is small, i.e. smaller than 2 tftp block sizes the number of '#' can get much larger. i.e. with a 1 byte file 65000 characters are printed, with a 512 byte file around 500. When using CONFIG TFTP BLOCKSIZE together with CONFIG_IP_DEFRAG the issue is more notable. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: Marek Vasut <marex@denx.de> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'common/image-fdt.c')
0 files changed, 0 insertions, 0 deletions