summaryrefslogtreecommitdiff
path: root/board/Barix
diff options
context:
space:
mode:
authorLukasz Majewski <l.majewski@samsung.com>2014-05-12 08:43:36 (GMT)
committerMarek Vasut <marex@denx.de>2014-06-01 17:18:00 (GMT)
commitbd694244db7bc9699548ca276f992aa5ce9bbac0 (patch)
tree40c8f258de00111bb83f67599b24952a81bb5a92 /board/Barix
parent90b51c33f362926e17d4c07dcef1ce822abaa89f (diff)
downloadu-boot-fsl-qoriq-bd694244db7bc9699548ca276f992aa5ce9bbac0.tar.xz
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 'board/Barix')
0 files changed, 0 insertions, 0 deletions