cmd: mvebu/bubt: Check for A38x image data checksum
authorPali Rohár <pali@kernel.org>
Tue, 23 Aug 2022 12:52:23 +0000 (14:52 +0200)
committerStefan Roese <sr@denx.de>
Tue, 13 Sep 2022 04:38:08 +0000 (06:38 +0200)
commit5a0653493307796e63227d78e40651096c1ca23a
tree25ee087dbd9f0db93a8a8259f6e05a36ad5f2d0a
parentca076d96894fbaa375236da529dc35287413abff
cmd: mvebu/bubt: Check for A38x image data checksum

Currently for A38x image is checked only header checksum.
So check also for image data checksum to prevent flashing broken image.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
cmd/mvebu/bubt.c