u-boot-brain/drivers/dfu
Lukasz Majewski bd694244db 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>
2014-06-01 19:18:00 +02:00
..
dfu_mmc.c dfu: mmc: Provide support for eMMC boot partition access 2014-05-15 00:24:24 +02:00
dfu_nand.c dfu, nand: add medium specific polltimeout function 2014-05-08 10:38:30 +02:00
dfu_ram.c dfu: ram support 2013-09-24 17:51:35 +02:00
dfu.c dfu: Introduction of the "dfu_hash_algo" env variable for checksum method setting 2014-06-01 19:18:00 +02:00
Makefile drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00