u-boot-brain/drivers/mmc
Maxime Ripard a9003dc641 mmc: Retry the switch command
Some eMMC will fail at the first switch, but would succeed in a subsequent
one.

Make sure we try several times to cover those cases. The number of retries
(and the behaviour) is currently what is being used in Linux.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
2016-11-16 13:30:17 +09:00
..
arm_pl180_mmci.c mmc: use the generic error number 2016-08-05 11:21:25 +09:00
arm_pl180_mmci.h mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
atmel_sdhci.c mmc: atmel_sdhci: Remove unnecessary clock calling 2016-10-28 18:37:15 +02:00
bcm2835_sdhci.c mmc: sdhci: use the generic error number 2016-10-10 15:23:33 +09:00
bfin_sdh.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
davinci_mmc.c mmc: use the generic error number 2016-08-05 11:21:25 +09:00
dw_mmc.c mmc: dw_mmc: remove the unnecessary arguments for dwmci_setup_cfg 2016-10-10 15:23:33 +09:00
exynos_dw_mmc.c mmc: dw_mmc: remove the unnecessary arguments for dwmci_setup_cfg 2016-10-10 15:23:33 +09:00
fsl_esdhc_spl.c block: pass block dev not num to read/write/erase() 2016-01-13 21:05:18 -05:00
fsl_esdhc.c dm: mmc: intialize dev when probe 2016-10-04 15:41:01 +02:00
ftsdc010_mci.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
ftsdc021_sdhci.c mmc: sdhci: use the generic error number 2016-10-10 15:23:33 +09:00
gen_atmel_mci.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
hi6220_dw_mmc.c treewide: replace #include <asm-generic/errno.h> with <linux/errno.h> 2016-09-23 22:25:27 -04:00
Kconfig dm: mmc: Enable DM_MMC_OPS by default with DM_MMC 2016-10-11 10:17:03 -06:00
kona_sdhci.c mmc: sdhci: use the generic error number 2016-10-10 15:23:33 +09:00
Makefile spl: saveenv: adding saveenv support in SPL 2016-10-08 09:33:36 -04:00
mmc_boot.c mmc: squash lines for immediate return 2016-09-23 17:53:44 -04:00
mmc_legacy.c mmc: mmc_legacy: fix the compiler error with disabled CONFIG_DM_MMC_OPS 2016-08-16 10:27:24 +09:00
mmc_private.h dm: mmc: Support erase 2016-10-09 21:36:27 -06:00
mmc_spi.c mmc: use the generic error number 2016-08-05 11:21:25 +09:00
mmc_write.c dm: mmc: Support erase 2016-10-09 21:36:27 -06:00
mmc-uclass.c mmc: refactor two core functions 2016-10-28 11:02:16 +09:00
mmc.c mmc: Retry the switch command 2016-11-16 13:30:17 +09:00
msm_sdhci.c mmc: sdhci: use the host version value in sdhci_setup_cfg 2016-10-10 15:23:33 +09:00
mv_sdhci.c mmc: sdhci: use the generic error number 2016-10-10 15:23:33 +09:00
mvebu_mmc.c mmc: use the generic error number 2016-08-05 11:21:25 +09:00
mxcmmc.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
mxsmmc.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
omap_hsmmc.c drivers: mmc: omap_hsmmc: fix build breakage 2016-08-16 10:24:10 +09:00
pci_mmc.c mmc: Fix cast for 64-bit compilation 2016-10-11 07:46:11 +09:00
pic32_sdhci.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
pxa_mmc_gen.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
rockchip_dw_mmc.c mmc: dw_mmc: remove the unnecessary arguments for dwmci_setup_cfg 2016-10-10 15:23:33 +09:00
rockchip_sdhci.c mmc: squash lines for immediate return 2016-09-23 17:53:44 -04:00
rpmb.c Move ALLOC_CACHE_ALIGN_BUFFER() to the new memalign.h header 2015-09-11 17:15:20 -04:00
s3c_sdi.c mmc: use the generic error number 2016-08-05 11:21:25 +09:00
s5p_sdhci.c mmc: sdhci: use the generic error number 2016-10-10 15:23:33 +09:00
sandbox_mmc.c mmc: squash lines for immediate return 2016-09-23 17:53:44 -04:00
sdhci.c mmc: sdhci: assign to clk_mul when host version is upper than SD3.0 2016-10-28 11:02:16 +09:00
sh_mmcif.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
sh_mmcif.h ARM: Rmobile: Rename CONFIG_RMOBILE to CONFIG_ARCH_RMOBILE 2016-08-17 10:25:34 +09:00
sh_sdhi.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
socfpga_dw_mmc.c dm: mmc: socfpga: fix MMC_OPS support 2016-10-28 11:02:16 +09:00
spear_sdhci.c mmc: sdhci: use the host version value in sdhci_setup_cfg 2016-10-10 15:23:33 +09:00
sunxi_mmc.c mmc: use the generic error number 2016-08-05 11:21:25 +09:00
tegra_mmc.c mmc: tegra: only use new clock/reset APIs 2016-09-27 09:11:03 -07:00
uniphier-sd.c mmc: uniphier-sd: migrate to CONFIG_BLK 2016-09-14 22:54:19 +09:00
zynq_sdhci.c mmc: sdhci: use the host version value in sdhci_setup_cfg 2016-10-10 15:23:33 +09:00