]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: dts: imx: Fix eMMC boot on Data Modul i.MX8M Plus eDM SBC
authorMarek Vasut <marex@denx.de>
Wed, 5 Jul 2023 23:26:10 +0000 (01:26 +0200)
committerStefano Babic <sbabic@denx.de>
Thu, 13 Jul 2023 09:29:40 +0000 (11:29 +0200)
commit48d1fb92a9244d8c9b6687158034c754ef7d7971
treec799f4b5dd6c6a56f1b3c9e5523f1c22f26119f6
parente7ff54d963039ab8e5fbf033c8579a25e7d75650
ARM: dts: imx: Fix eMMC boot on Data Modul i.MX8M Plus eDM SBC

In case the i.MX8M Plus starts from eMMC BOOT1/BOOT2 HW partitions, the
flash.bin container is stored at offset 0 from the start, that means the
fitImage itb is at offset 0x2c0 instead of 0x300 sectors from the start.
Handle this difference in custom spl_mmc_get_uboot_raw_sector() .

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
board/data_modul/imx8mp_edm_sbc/spl.c