dfu: Disable default calculation of CRC32
authorLukasz Majewski <l.majewski@samsung.com>
Tue, 10 Jun 2014 10:25:59 +0000 (12:25 +0200)
committerMarek Vasut <marex@denx.de>
Wed, 11 Jun 2014 00:31:48 +0000 (02:31 +0200)
commit3d83e6752d5595351a47309aab0749984c5909b7
tree881d0ecf4a7c3ed323eef6a1a05c651b30df5c7c
parente0672b3c3ae4fdd48a66af9f7932d2c8e839e459
dfu: Disable default calculation of CRC32

Patch (SHA1: bd694244db7bc969954)
dfu: Introduction of the "dfu_hash_algo" env variable for checksum method
setting

already introduced more generic handling of the crc32 calculation.
Up till now the CRC32 of received data was calculated unconditionally.
This patch changes this and from now - by default the crc32 is NOT
calculated anymore.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Cc: Marek Vasut <marex@denx.de>
drivers/dfu/dfu.c