diff options
author | Abel Vesa <abel.vesa@nxp.com> | 2018-09-17 13:18:19 +0300 |
---|---|---|
committer | Abel Vesa <abel.vesa@nxp.com> | 2018-09-18 09:47:48 +0300 |
commit | c70afc348ee9fae242f00be56cde556822f93156 (patch) | |
tree | cb716b1b189590cc734c0b1de46c9518820d84c1 /arch/arm/include | |
parent | ab8d565f8a57474773d1a86dfa9690dc72d0104d (diff) |
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>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/arch-imx8/image.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-imx8/image.h b/arch/arm/include/asm/arch-imx8/image.h index ce9c0959f8..2958b49771 100644 --- a/arch/arm/include/asm/arch-imx8/image.h +++ b/arch/arm/include/asm/arch-imx8/image.h @@ -8,6 +8,7 @@ #define CONTAINER_HDR_ALIGNMENT 0x400 #define CONTAINER_HDR_MMCSD_OFFSET SZ_32K +#define CONTAINER_HDR_QSPI_OFFSET SZ_4K struct container_hdr{ uint8_t version; |