Hi Peng, On Tue, 22 Oct 2019 02:43:31 +0000 Peng Fan peng....@nxp.com wrote: ... > get_boot_device_offset already switched partition, there is no need to add > partition switch logic in get_container_size.
I'd be very happy if it did, but it didn't, at least not in current mainline tree. I can't find eMMC hw partition switching code in u-boot-imx tree either. I've checked in current master and in next branches: https://github.com/sbabic/u-boot-imx/blob/master/arch/arm/mach-imx/imx8/image.c#L123 https://github.com/sbabic/u-boot-imx/blob/next/arch/arm/mach-imx/imx8/image.c#L123 I'll re-spin the patch to add it in spl_mmc_get_uboot_raw_sector(), this seems to be a better place for it. -- Anatolij _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot