diff options
author | Tom Rini <trini@konsulko.com> | 2023-11-03 09:52:37 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-11-03 09:52:37 -0400 |
commit | 563142350fee5bdd483a0cf00169d8272b60022f (patch) | |
tree | 0eadcce9faf66a2366757444afe86f5458c4e31b /lib/image-sparse.c | |
parent | 1e044a9bd68220af562cc2d895936ec7cc3e3d6d (diff) | |
parent | 60d904a494c6e89c323bc13fa9348869e07e86d3 (diff) |
Merge tag 'u-boot-dfu-20231103' of https://source.denx.de/u-boot/custodians/u-boot-dfu
u-boot-dfu-20231103
- Fix CRC chunk size in fastboot
- Make size optional for dfu on mmc
Diffstat (limited to 'lib/image-sparse.c')
-rw-r--r-- | lib/image-sparse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/image-sparse.c b/lib/image-sparse.c index 8f8a67e1580..323aad981c6 100644 --- a/lib/image-sparse.c +++ b/lib/image-sparse.c @@ -289,8 +289,8 @@ int write_sparse_image(struct sparse_storage *info, case CHUNK_TYPE_CRC32: if (chunk_header->total_sz != - sparse_header->chunk_hdr_sz) { - info->mssg("Bogus chunk size for chunk type Dont Care", + sparse_header->chunk_hdr_sz + sizeof(uint32_t)) { + info->mssg("Bogus chunk size for chunk type CRC32", response); return -1; } |