spl: nand: support loading legacy image with payload compressed
authorWeijie Gao <weijie.gao@mediatek.com>
Fri, 20 May 2022 03:24:04 +0000 (11:24 +0800)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 13 Jul 2022 21:03:37 +0000 (23:03 +0200)
commit4620e8aabc1431f2de3f4f5c1b22d4bc599e57b6
tree4b50a81140acba1d548efbb369682f85af509ab0
parentfdc03bf4e9342b2ccc553021554270624852cf84
spl: nand: support loading legacy image with payload compressed

Add support to load legacy image with payload compressed. This redirects
the boot flow for all legacy images. If the payload is not compressed, the
actual behavior will remain unchanged.

Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
common/spl/spl_nand.c