From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Tue, 22 Oct 2019 09:34:22 +0200 Subject: [U-Boot] [PATCH] imx: imx8: fix loading container image from eMMC boot partitions In-Reply-To: References: <20191021152154.15385-1-agust@denx.de> Message-ID: <20191022093422.54bc10f8@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Peng, On Tue, 22 Oct 2019 02:43:31 +0000 Peng Fan peng.fan at 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