spl: spl_legacy: Add lzma decompression support for legacy image
authorWeijie Gao <weijie.gao@mediatek.com>
Tue, 21 Apr 2020 07:28:45 +0000 (09:28 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Mon, 27 Apr 2020 18:29:33 +0000 (20:29 +0200)
commitaba6e77a30e4f190e70c400867b74962ef88ce0e
tree1931934fc03e01da1e0788b1a9eb88a8dc21a7a6
parentf1b0f1550b35ca5597e31e84ef7843c27d62a3bc
spl: spl_legacy: Add lzma decompression support for legacy image

This patch adds support for decompressing LZMA compressed u-boot payload
in legacy uImage format.

Using this patch together with u-boot-lzma.img may be useful for some
platforms as they can reduce the size and load time of u-boot payload.

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
common/spl/spl_legacy.c