u-boot/drivers/mmc
Andrew Gabbasov bd47c13583 mmc: Fix splitting device initialization
Starting part of device initialization sets the init_in_progress flag
only if the MMC card did not yet come to ready state and needs to continue
polling. If the card is SD or if the MMC card became ready quickly,
the flag is not set and (if using pre-initialization) the starting
phase will be re-executed from mmc_init function.

Set the init_in_progress flag in all non-error cases. Also, move flags
setting statements around so that the flags are not set in error paths.
Also, IN_PROGRESS return status becomes unnecessary, so get rid of it.

Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
2015-05-05 11:55:46 +03:00
..
arm_pl180_mmci.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
arm_pl180_mmci.h mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
bcm2835_sdhci.c ARM: bcm283x: move SoC headers to mach-bcm283x/include/mach 2015-03-28 09:03:09 -04:00
bfin_sdh.c mmc: set correct block size value in bfin sdh driver 2014-10-03 17:26:49 +03:00
davinci_mmc.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
dw_mmc.c mmc: dw_mmc: fixed the wrong bit control 2015-02-23 19:35:13 +02:00
exynos_dw_mmc.c mmc: exynos dwmmc: check boot mode before init dwmmc 2015-02-23 19:49:22 +02:00
fsl_esdhc_spl.c driver: Add support of image load for MMC & SPI in SPL 2014-04-22 17:58:50 -07:00
fsl_esdhc.c ls2085a: esdhc: Add esdhc support for ls2085a 2015-04-23 16:46:51 -07:00
ftsdc010_mci.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
ftsdc021_sdhci.c mmc: add Faraday FTSDC021 SDHCI controller support 2013-12-08 14:23:05 +02:00
gen_atmel_mci.c MMC: atmel_mci: enable high speed mode support 2014-08-01 20:01:33 +03:00
Kconfig mmc: rmobile: Add SDHC support for Renesas rmobile ARM SoC 2015-01-19 16:24:25 +02:00
kona_sdhci.c mmc: free allocated memory on initialization errors 2014-06-12 15:21:12 +03:00
Makefile x86: mmc: Move common FSP functions into a common file 2015-02-06 12:07:36 -07:00
mmc_private.h mmc: don't support write & erase for SPL builds 2013-09-20 18:58:55 +03:00
mmc_spi.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
mmc_write.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
mmc.c mmc: Fix splitting device initialization 2015-05-05 11:55:46 +03:00
mv_sdhci.c mv_sdhci: fix warnings on 64-bit builds 2015-03-18 09:56:17 +02:00
mvebu_mmc.c MVEBUMMC : REMOVE unnecessary delay from init 2015-01-06 10:10:28 +02:00
mxcmmc.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
mxsmmc.c mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
omap_hsmmc.c omap3: mmc: add 1.8v bias setting for MMC1 2015-01-29 12:00:50 -05:00
pci_mmc.c x86: mmc: Move common FSP functions into a common file 2015-02-06 12:07:36 -07:00
pxa_mmc_gen.c linux/kernel.h: sync min, max, min3, max3 macros with Linux 2014-11-23 06:48:30 -05:00
rpmb.c includes: move openssl headers to include/u-boot 2014-06-19 11:19:04 -04:00
s3c_sdi.c mmc: s3c: Add SD driver 2014-08-01 19:24:34 +03:00
s5p_sdhci.c mmc: s5p: properly mask SELBASECLK 2015-03-18 09:51:56 +02:00
sdhci.c sdhci: fix warnings on 64-bit builds 2015-03-18 09:55:59 +02:00
sh_mmcif.c mmc: sh_mmcif: Add support rmobile 2014-12-05 11:16:22 +09:00
sh_mmcif.h mmc: sh_mmcif: Add support rmobile 2014-12-05 11:16:22 +09:00
sh_sdhi.c mmc: rmobile: Add SDHC support for Renesas rmobile ARM SoC 2015-01-19 16:24:25 +02:00
socfpga_dw_mmc.c arm: socfpga: mmc: Pick the clock from clock manager 2014-10-06 17:46:49 +02:00
spear_sdhci.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sunxi_mmc.c sunxi: mmc: Always declare High Capacity capability 2015-02-23 19:46:13 +02:00
tegra_mmc.c dm: mmc: Remove use of fdtdec GPIO support 2015-01-29 17:09:52 -07:00
zynq_sdhci.c zynqmp: sdhci: Remove the quirk SDHCI_QUIRK_NO_CD 2015-04-29 11:19:03 +02:00