[PATCH] mmc: allow forward compatibility for EXT_CSD_REV

Peng Fan peng.fan at oss.nxp.com
Wed Apr 8 18:21:41 CEST 2026


On Thu, Mar 26, 2026 at 05:55:32AM +0000, ?????? (MW Park) wrote:
>According to the JEDEC Standard, the EXT_CSD format is meant to be
>forward compatible. As long as CSD_STRUCTURE does not change, all
>values for EXT_CSD_REV are authorized.
>
>Currently, if an eMMC device with a newer EXT_CSD_REV (e.g., eMMC 5.1B
>with EXT_CSD_REV=9) is used, U-Boot fails to initialize it and returns
>-EINVAL because the revision is larger than the mmc_versions array size.
>
>Fix this by falling back to the latest supported version if the
>EXT_CSD_REV exceeds the known versions. This ensures forward
>compatibility with future eMMC specifications.
>
>Signed-off-by: MW Park <mw.park at telechips.com>

Would this patch works for you?
https://lore.kernel.org/u-boot/20260225211332.1896252-1-han.xu@nxp.com/

Regards,
Peng


More information about the U-Boot mailing list