u-boot-brain/drivers/mmc
Simon Glass 854f9a71f5 dm: mmc: Rewrite mmc_blk_probe()
This function is called when the MMC block device is being probed. There
is a recursive call in this function since find_mmc_device() itself can
cause the MMC device to be probed.

Admittedly the MMC device should already be probed, since we would not be
probing its child otherwise, but the current code is unnecessarily
convoluted.

Rewrite this to access the MMC structure directly.

Signed-off-by: Simon Glass <sjg@chromium.org>
2017-06-01 07:03:05 -06:00
..
arm_pl180_mmci.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +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 dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
bcm2835_sdhci.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
davinci_mmc.c mmc: replace CONFIG_GENERIC_MMC with CONFIG_MMC 2017-05-15 18:28:23 +09:00
dw_mmc.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
exynos_dw_mmc.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07: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: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
ftsdc010_mci.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
gen_atmel_mci.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06: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 mmc: replace CONFIG_GENERIC_MMC with CONFIG_MMC 2017-05-15 18:28:23 +09:00
kona_sdhci.c mmc: sdhci: Distinguish between base clock and maximum peripheral frequency 2017-01-23 15:37:42 +09:00
Makefile mmc: descend into drivers/mmc only when CONFIG_MMC is enabled 2017-05-15 18:28:23 +09:00
meson_gx_mmc.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
mmc_boot.c mmc: squash lines for immediate return 2016-09-23 17:53:44 -04:00
mmc_legacy.c mmc: Tinification of the mmc code 2016-12-01 13:51:57 +09:00
mmc_private.h dm: mmc: Support erase 2016-10-09 21:36:27 -06:00
mmc_spi.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
mmc_write.c dm: mmc: Support erase 2016-10-09 21:36:27 -06:00
mmc-uclass.c dm: mmc: Rewrite mmc_blk_probe() 2017-06-01 07:03:05 -06:00
mmc.c dm: mmc: Don't call board_mmc_power_init() with driver model 2017-06-01 07:03:04 -06:00
msm_sdhci.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
mv_sdhci.c mmc: sdhci: Distinguish between base clock and maximum peripheral frequency 2017-01-23 15:37:42 +09:00
mvebu_mmc.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
mxcmmc.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
mxsmmc.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
omap_hsmmc.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
pci_mmc.c x86: Convert MMC to driver model 2017-05-17 17:13:06 +08:00
pic32_sdhci.c dm: Fix up inclusion of common.h 2017-06-01 07:03:03 -06:00
pxa_mmc_gen.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
rockchip_dw_mmc.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
rockchip_sdhci.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06: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: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
s5p_sdhci.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
sandbox_mmc.c mmc: squash lines for immediate return 2016-09-23 17:53:44 -04:00
sdhci-cadence.c dm: core: Replace of_offset with accessor (part 2) 2017-06-01 07:03:04 -06:00
sdhci.c mmc: sdhci: Fix maximum clock for programmable clock mode 2017-05-15 18:28:22 +09:00
sh_mmcif.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
sh_mmcif.h ARM: Rmobile: Rename CONFIG_RMOBILE to CONFIG_ARCH_RMOBILE 2016-08-17 10:25:34 +09:00
sh_sdhi.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
socfpga_dw_mmc.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
sti_sdhci.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
sunxi_mmc.c mmc: change the set_ios return type from void to int 2017-01-11 19:40:13 +09:00
tangier_sdhci.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
tegra_mmc.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
uniphier-sd.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
xenon_sdhci.c dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
zynq_sdhci.c dm: core: Replace of_offset with accessor (part 2) 2017-06-01 07:03:04 -06:00