aboutsummaryrefslogtreecommitdiff
path: root/common/bootm.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-09-14 15:39:27 -0400
committerTom Rini <trini@konsulko.com>2020-09-14 15:39:46 -0400
commit00e5fda0063eaa20e9c3f6844ac88c64eb875f23 (patch)
tree20397adfefbe204c2b348e271c056620f4bcadcc /common/bootm.c
parent3dd52dd69e6507624c7bb98aa1dbd5034221afcd (diff)
parent185440ffc46f310b0f300c10804ba3cb0a7bf15a (diff)
Merge branch '2020-09-12-assorted-bugfixes'
- A large assortment of minor fixes - Documentation improvements
Diffstat (limited to 'common/bootm.c')
-rw-r--r--common/bootm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/bootm.c b/common/bootm.c
index 247b600d9c..b3377490b3 100644
--- a/common/bootm.c
+++ b/common/bootm.c
@@ -390,6 +390,8 @@ static int bootm_load_os(bootm_headers_t *images, int boot_progress)
bootstage_error(BOOTSTAGE_ID_DECOMP_IMAGE);
return err;
}
+ /* We need the decompressed image size in the next steps */
+ images->os.image_len = load_end - load;
flush_cache(flush_start, ALIGN(load_end, ARCH_DMA_MINALIGN) - flush_start);