u-boot/drivers/mmc
Haibo Chen ba61676ff9 mmc: fsl_esdhc_imx: disable the CMD CRC check for standard tuning
In current code, we add 1ms dealy after each tuning command for standard
tuning method. Adding this 1ms dealy is because USDHC default check the
CMD CRC and DATA line. If detect the CMD CRC, USDHC standard tuning
IC logic do not wait for the tuning data sending out by the card, trigger
the buffer read ready interrupt immediately, and step to next cycle. So
when next time the new tuning command send out by USDHC, card may still
not send out the tuning data of the upper command,then some eMMC cards
may stuck, can't response to any command, block the whole tuning procedure.

If do not check the CMD CRC for tuning, then do not has this issue. USDHC
will wait for the tuning data of each tuning command and check them. If the
tuning data pass the check, it also means the CMD line also okay for tuning.

So this patch disable the CMD CRC check for tuning, save some time for the
whole tuning procedure.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
2020-06-24 14:05:30 +08:00
..
am654_sdhci.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
arm_pl180_mmci.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
arm_pl180_mmci.h mmc: arm_pl180_mmci: Sync compatible with kernel 2019-04-23 15:31:30 +02:00
aspeed_sdhci.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
atmel_sdhci.c mmc: atmel_sdhci: Add sam9x60-sdhci compatibility string 2019-10-08 09:16:11 +03:00
bcm2835_sdhci.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
bcm2835_sdhost.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
bcmstb_sdhci.c mmc: bcm: fix uninitialized pointer deref on probe 2019-08-09 13:45:25 +08:00
ca_dw_mmc.c mmc: ca_dw_mmc: Misc cleanup of driver 2020-06-15 09:45:22 +08:00
davinci_mmc.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
dw_mmc.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
exynos_dw_mmc.c ARM: Odroid XU3: Modify exynos dw_mmc driver to support Odroid XU3 in DM MMC 2018-08-06 10:53:53 +09:00
fsl_esdhc.c mmc: fsl_esdhc: workaround for hardware 3.3v IO reliability issue 2020-06-15 09:45:22 +08:00
fsl_esdhc_imx.c mmc: fsl_esdhc_imx: disable the CMD CRC check for standard tuning 2020-06-24 14:05:30 +08:00
fsl_esdhc_spl.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
ftsdc010_mci.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ftsdc010_mci.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
gen_atmel_mci.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
hi6220_dw_mmc.c mmc: Add support for HI3660 SoC reusing hi6220_dw_mmc driver 2019-08-11 16:43:41 -04:00
iproc_sdhci.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
jz_mmc.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
Kconfig mmc: fsl_esdhc: workaround for hardware 3.3v IO reliability issue 2020-06-15 09:45:22 +08:00
kona_sdhci.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
Makefile drivers: mmc: rpmb: do not build for SPL 2020-04-22 20:41:57 +08:00
meson_gx_mmc.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
mmc-uclass.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
mmc.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mmc_boot.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
mmc_legacy.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
mmc_private.h mmc: add mmc_poll_for_busy() and change the purpose of mmc_send_status() 2019-07-15 10:16:49 +08:00
mmc_spi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mmc_write.c common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
msm_sdhci.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
mtk-sd.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
mv_sdhci.c mmc: mv_sdhci: fix uninitialized pointer deref on probe 2019-07-31 15:31:36 +08:00
mvebu_mmc.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
mxcmmc.c common: Move get_ticks() function out of common.h 2019-12-02 18:23:13 -05:00
mxsmmc.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
omap_hsmmc.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
pci_mmc.c mmc: pci: fix uninitialized pointer deref on probe 2019-08-09 13:45:25 +08:00
pic32_sdhci.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pxa_mmc_gen.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
renesas-sdhi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
rockchip_dw_mmc.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
rockchip_sdhci.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
rpmb.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
s5p_sdhci.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sandbox_mmc.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sdhci-cadence.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sdhci.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sh_mmcif.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sh_mmcif.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sh_sdhi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
snps_dw_mmc.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
socfpga_dw_mmc.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sti_sdhci.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
stm32_sdmmc2.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sunxi_mmc.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
tangier_sdhci.c mmc: tangier_sdhci: fix uninitialized pointer deref on probe 2019-08-09 13:45:25 +08:00
tegra_mmc.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
tmio-common.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
tmio-common.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
uniphier-sd.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
xenon_sdhci.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
zynq_sdhci.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00