MLK-19219-2 imx8qm/qxp: Add support to get container image set size
authorYe Li <ye.li@nxp.com>
Tue, 14 Aug 2018 10:45:30 +0000 (03:45 -0700)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 09:36:38 +0000 (02:36 -0700)
commite6ebc7b5b8a1f49bfbb47baf88d4092dc19082d4
treec6741c496da1ec88a695b223d0b35340d989108e
parent400c6afbaf6500f3bff57338745275fe940cb991
MLK-19219-2 imx8qm/qxp: Add support to get container image set size

Add relevant functions and files to parse the container image set from mmc/sd
and get the total size of it. So we can get the offset of u-boot-atf.bin image
when it is padded to container image set at 1KB alignment position.

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 02b9874427beffe6536e38519037e36f76b2ec9e)
arch/arm/mach-imx/imx8/Makefile
arch/arm/mach-imx/imx8/image.c [new file with mode: 0644]