MLK-19219-4 iMX8QXP/QM: Add support to get container image set size from QSPI
authorAbel Vesa <abel.vesa@nxp.com>
Mon, 17 Sep 2018 10:18:19 +0000 (13:18 +0300)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 09:36:40 +0000 (02:36 -0700)
commit2512787d38460399268086ec22a86b7cef8103ac
tree3eebc8f16751a87c50a3a4217d878efa7fd7de76
parent051a93febddac7e6fac557b0409203cfefb45b65
MLK-19219-4 iMX8QXP/QM: Add support to get container image set size from QSPI

This transforms almost all related functions from mmc specific to device
independent. This allows the container size to be computed from QSPI and other
future devices that will be supported for boot.

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