Hi Heiko, On Sat, Jan 24, 2026 at 06:47:10AM +0100, Heiko Schocher wrote: >From: Adrian Freihofer <[email protected]> > >Add a weak function fb_mmc_get_boot_offset() to allow to override >the default offset (0) when writing to eMMC boot partitions.
>This enables support for devices with non-standard boot partition >layouts, such as those requiring an offset for correct bootloader >placement. > >The imx8qxp processors are an example where older revisions need a >32kB offset. > >Signed-off-by: Adrian Freihofer <[email protected]> >Signed-off-by: Heiko Schocher <[email protected]> I am thinking to write as below: i.MX8QXP rev C.0 requires boot container stored at offset 0KB for eMMC, while i.MX8QXP pre C.0 requires boot container stored at offset 32KB for eMMC. To use one U-Boot binary to support different chip revisions, introduce fb_mmc_get_boot_offset() to allow override the default offset when writting to eMMC boot partitions. This enables support for devices with non-standard boot partition layouts, such as those requiring an offset for correct bootloader placement. Regards Peng

