diff options
author | Heinrich Schuchardt | 2020-08-30 11:34:12 +0200 |
---|---|---|
committer | Tom Rini | 2020-09-11 17:13:56 -0400 |
commit | 21d3946840fd62dc09e93986743915bcbac100b7 (patch) | |
tree | c79e2b5d97120df3eee7bc698798c2080bd03872 /cmd | |
parent | 91b735d11f95ecf608a95a255281c36dcc7e37a4 (diff) |
bootm: update image OS image size when decompressing
In bootm_load_os() the OS image is decompressed. In later stages of the
boot process we need the decompressed size of the image.
Update images->os.image_len after decompression.
Passing the correct size is necessary if we want to check loaded EFI
binararies for file truncation by comparing the loaded size to the header
field SizeOfImage.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions