diff options
author | Abel Vesa <abel.vesa@nxp.com> | 2018-09-28 18:02:49 +0300 |
---|---|---|
committer | Abel Vesa <abel.vesa@nxp.com> | 2018-10-01 15:24:52 +0300 |
commit | e9f87deae7e8cb3e71012f85c488e0a0d108762a (patch) | |
tree | 0b83592d95553db97e19ba67b392cfd83155f3d6 /arch/arm/include | |
parent | 65fed31a520edf2f19f7fd1c10ff317ce4496ce6 (diff) |
MLK-19789 mach-imx: imx8: Make the eMMC container offset SOC dependant
This is a hack for imx8qm-mek, since the offset of the flash.bin image
on eMMC differs when compared to imx8qxp-mek. Basically, the default value
is 32K, but for 8qm-mek it's 0. This can go away once the qm and qxp get
aligned (again) from this point of view.
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 2958b49771..22592bcdc8 100644 --- a/arch/arm/include/asm/arch-imx8/image.h +++ b/arch/arm/include/asm/arch-imx8/image.h @@ -7,6 +7,7 @@ #define HASH_MAX_LEN 64 #define CONTAINER_HDR_ALIGNMENT 0x400 +#define CONTAINER_HDR_EMMC_OFFSET 0 #define CONTAINER_HDR_MMCSD_OFFSET SZ_32K #define CONTAINER_HDR_QSPI_OFFSET SZ_4K |