Freescale / u-boot-fslc

U-Boot tree to host pending fixes and improvements
135 stars 180 forks source link

imx8m: introduce high speed mode support in usdhc #35

Closed zandrey closed 3 years ago

zandrey commented 3 years ago

This PR is targeted to address issues that can be observed with various sd cards connected to i.MX8M derivatives.

Current configuration of usdhc dts nodes for imx8m SOC derivatives does experience issues with recognition and mode switch for various sd card types from different manufacturers, sometimes leading to an abrupted boot process, either during attempt to load kernel image from attached media or failure to recognize the sd card when switch to higher speed mode is performed.

Modifications in patches introduced are aimed to resolve those issue by introducing a short delay when mode switch in attempted, and enabling high speed mode quirks for all imx8m derivatives.

Patch set is also submitted upstream: http://patchwork.ozlabs.org/project/uboot/patch/20201202175910.11493-1-andrey.zhizhikin@leica-geosystems.com/ http://patchwork.ozlabs.org/project/uboot/patch/20201202180121.11550-1-andrey.zhizhikin@leica-geosystems.com/

-- andrey