MLK-19789 mach-imx: imx8: Make the eMMC container offset SOC dependant
authorAbel Vesa <abel.vesa@nxp.com>
Fri, 28 Sep 2018 15:02:49 +0000 (18:02 +0300)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 09:38:54 +0000 (02:38 -0700)
commitc3e10b7f11ce22c36deaa4c621001cad4da0675f
treec66618550e5e4bcb6d9f9388f0cbc1b2b0c8b9a3
parent558d7d898f1d4061f68ed9399f2fefc8758d6176
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>
(cherry picked from commit e9f87deae7e8cb3e71012f85c488e0a0d108762a)
arch/arm/mach-imx/imx8/image.c