summaryrefslogtreecommitdiff
path: root/net/bootp.c
diff options
context:
space:
mode:
authorLukasz Majewski <l.majewski@samsung.com>2014-05-12 10:43:36 +0200
committerMarek Vasut <marex@denx.de>2014-06-01 19:18:00 +0200
commitbd694244db7bc9699548ca276f992aa5ce9bbac0 (patch)
tree40c8f258de00111bb83f67599b24952a81bb5a92 /net/bootp.c
parent90b51c33f362926e17d4c07dcef1ce822abaa89f (diff)
downloadu-boot-imx-bd694244db7bc9699548ca276f992aa5ce9bbac0.zip
u-boot-imx-bd694244db7bc9699548ca276f992aa5ce9bbac0.tar.gz
u-boot-imx-bd694244db7bc9699548ca276f992aa5ce9bbac0.tar.bz2
dfu: Introduction of the "dfu_hash_algo" env variable for checksum method setting
Up till now the CRC32 of received data was calculated unconditionally. The standard crc32 implementation causes long delay when large images were uploaded. The "dfu_hash_algo" environment variable gives the opportunity to disable on demand the hash (crc32) calculation. It can be done without the need to recompile the u-boot binary. By default the crc32 is calculated, which means that legacy behavior has been preserved. Tests results: 400 MiB ums.img file With crc32 calculation: 65 sec [avg 6.29 MB/s] Without crc32 calculation: 25 sec [avg 16.17 MB/s] Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Cc: Marek Vasut <marex@denx.de>
Diffstat (limited to 'net/bootp.c')
0 files changed, 0 insertions, 0 deletions