]> git.baikalelectronics.ru Git - uboot.git/commit
imx8ulp: Add workaround for eMMC boot
authorYe Li <ye.li@nxp.com>
Sat, 7 Aug 2021 08:01:08 +0000 (16:01 +0800)
committerStefano Babic <sbabic@denx.de>
Mon, 9 Aug 2021 12:46:51 +0000 (14:46 +0200)
commit91853a1af2b6e21576cffc2202db4c85862756a4
treeb7c8cf447a921792ff2311a333ef5cf7a45c1c4e
parent1c76faf424121d2b008e29f253898b1d0a28ecb1
imx8ulp: Add workaround for eMMC boot

When booting from boot part1/2, the image offset should be 0, but
ROM has a bug to return 0x8000. Has to workaround the issue before
ROM fix it.

Use a ROM function to know boot from emmc boot part or user part
So we can set the image offset accordingly.

Signed-off-by: Ye Li <ye.li@nxp.com>
arch/arm/mach-imx/image-container.c
arch/arm/mach-imx/imx8ulp/soc.c