diff options
author | Robin Getz <rgetz@blackfin.uclinux.org> | 2009-08-20 14:50:20 (GMT) |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2009-08-25 20:35:54 (GMT) |
commit | 4fccb818e7ee1190602e79aa5729a23bc349bf0c (patch) | |
tree | a7fff9df422622f8b3834a99719e1f85fa799c9a /drivers/net/tsec.c | |
parent | 488feef85229c08cd3aa1fa183bc8f483d2ae832 (diff) | |
download | u-boot-fsl-qoriq-4fccb818e7ee1190602e79aa5729a23bc349bf0c.tar.xz |
Add Transfer Size Option to tftp
Optionally add RFC 2349 "Transfer Size Option", so we can minimize the
time spent sending data over the UART (now print a single line during a
tftp transfer).
- If turned on (CONFIG_TFTP_TSIZE), U-Boot asks for the size of the file.
- if receives the file size, a single line (50 chars) are printed.
one hash mark == 2% of the file downloaded.
- if it doesn't receive the file size (the server doesn't support RFC
2349, prints standard hash marks (one mark for each UDP frame).
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/net/tsec.c')
0 files changed, 0 insertions, 0 deletions