MLK-20233 spl_spi: Add QSPI boot device support to the container parser
authorAbel Vesa <abel.vesa@nxp.com>
Wed, 7 Nov 2018 16:13:08 +0000 (18:13 +0200)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 09:39:10 +0000 (02:39 -0700)
commit68a7d9befe69f343f3c2c781e630dd3361a185e8
treed926c1d679b6d0ce5467edad7ce3f0d16982eb5d
parent3315434256ac6acc0e6b7f736fb805630196abe0
MLK-20233 spl_spi: Add QSPI boot device support to the container parser

Before parsing the image header, try to check if there is a container and
validate it first. If no (valid) container then as a fall-through parse
the image as before.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 2bd8277fd7eceed3aa4b07b6fe238b7beef62530)
arch/arm/mach-imx/imx8/parser.c
common/spl/spl_spi.c