summaryrefslogtreecommitdiff
path: root/tools/kermit
diff options
context:
space:
mode:
authorWeijie Gao <weijie.gao@mediatek.com>2022-05-20 11:23:58 +0800
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2022-07-13 23:03:37 +0200
commitfdc03bf4e9342b2ccc553021554270624852cf84 (patch)
tree56d5a7f3ba70c8ae296cdba163c8928d82ec17d9 /tools/kermit
parent4c4bf046a528947c843ec703f667cd36b88e315a (diff)
downloadu-boot-fdc03bf4e9342b2ccc553021554270624852cf84.tar.gz
u-boot-fdc03bf4e9342b2ccc553021554270624852cf84.tar.bz2
u-boot-fdc03bf4e9342b2ccc553021554270624852cf84.zip
spl: spl_legacy: fix the use of SPL_COPY_PAYLOAD_ONLY
If the payload is compressed, SPL_COPY_PAYLOAD_ONLY should always be set since the payload will not be directly read to its load address. The payload will first be read to a temporary buffer, and then be decompressed to its load address, without image header. If the payload is not compressed, and SPL_COPY_PAYLOAD_ONLY is set, image header should be skipped on loading. Otherwise image header should also be read to its load address. Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Diffstat (limited to 'tools/kermit')
0 files changed, 0 insertions, 0 deletions