
22 Oct
2019
22 Oct
'19
9:34 a.m.
Hi Peng,
On Tue, 22 Oct 2019 02:43:31 +0000 Peng Fan peng.fan@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/imag... https://github.com/sbabic/u-boot-imx/blob/next/arch/arm/mach-imx/imx8/image....
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