]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: env: Fix CRC calculation for 'env export -c -s'
authorNeil Stainton <nstainton@asl-control.co.uk>
Wed, 12 Sep 2018 11:02:51 +0000 (11:02 +0000)
committerTom Rini <trini@konsulko.com>
Sun, 30 Sep 2018 17:00:23 +0000 (13:00 -0400)
commitd71b029d1d178fb2e1cdb63ae5f45d10f90acca6
tree6ca32599493f551396e808e376895241b3ac974a
parentb592936d357f6c648f59ae0e3159149df3a942fb
cmd: env: Fix CRC calculation for 'env export -c -s'

Fix failure to reimport exported checksummed, size constrained data block.

'env export -c' command ignores optional -s size argument when calculating checksum causing subsequent 'env import -c' to fail.

Signed-off-by: Neil Stainton <nstainton@asl-control.co.uk>
cmd/nvedit.c