diff options
author | Tom Rini <trini@konsulko.com> | 2023-07-25 16:55:59 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-07-25 16:55:59 -0400 |
commit | 544dfc3c88f99aba0b23073d07182615658b4819 (patch) | |
tree | 72d50ff97f4f4a6b0079e761566f6ff2c7932622 /lib/image-sparse.c | |
parent | ad1c9b26a86bdccf6a10e3369b1009cde2b04365 (diff) | |
parent | fa5977103978aa1998aa7b9ffe9cf495451cbbe1 (diff) |
Merge branch '2023-07-25-assorted-general-updates'
- A number of MAINTAINER file updates, assorted driver/platform fixes,
performance improvements for sparse file writes, and 64bit time_t.
Diffstat (limited to 'lib/image-sparse.c')
-rw-r--r-- | lib/image-sparse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/image-sparse.c b/lib/image-sparse.c index 5ec0f94ab3e..8f8a67e1580 100644 --- a/lib/image-sparse.c +++ b/lib/image-sparse.c @@ -55,7 +55,8 @@ static lbaint_t write_sparse_chunk_raw(struct sparse_storage *info, void *data, char *response) { - lbaint_t n = blkcnt, write_blks, blks = 0, aligned_buf_blks = 100; + lbaint_t n = blkcnt, write_blks, blks = 0; + lbaint_t aligned_buf_blks = FASTBOOT_MAX_BLK_WRITE; uint32_t *aligned_buf = NULL; if (CONFIG_IS_ENABLED(SYS_DCACHE_OFF)) { |