u-boot-brain/drivers/mmc
Łukasz Majewski 40242bc394 mmc:fix Call mmc_init() when executing mmc_get_dev()
This code adds call to mmc_init(), for partition related commands (e.g.
fatls, fatinfo etc.).

It is safe to call mmc_init() multiple times since mmc->has_init flag
prevents from multiple initialization.

The FAT related code calls get_dev high level method and then uses
elements from mmc->block_dev, which is uninitialized until the mmc_init
(and thereof mmc_startup) is called.

This problem appears on boards, which don't use mmc as the default
place for envs

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Andy Fleming <afleming@gmail.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
2012-07-13 17:04:50 -05:00
..
arm_pl180_mmci.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
arm_pl180_mmci.h MMC: Add support for PL180 ARM mmc device 2011-04-29 03:20:01 -05:00
bfin_sdh.c Blackfin: bfin_sdh: drop dos part hardcode 2012-04-22 13:00:19 -04:00
davinci_mmc.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
fsl_esdhc.c i.MX: fsl_esdhc: allow use with cache enabled. 2012-07-13 16:20:57 -05:00
ftsdc010_esdhc.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
gen_atmel_mci.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
Makefile mmc: tegra2: rename tegra2_mmc.* to tegra_mmc.* 2012-07-07 14:07:20 +02:00
mmc_spi.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
mmc.c mmc:fix Call mmc_init() when executing mmc_get_dev() 2012-07-13 17:04:50 -05:00
mv_sdhci.c drivers/mmc/mv_sdhci.c: Fix build warning 2012-01-08 21:28:16 -06:00
mxcmmc.c mmc: access mxcmmc from mx31 boards 2012-02-12 10:11:26 +01:00
mxsmmc.c Merge branch 'master' of git://git.denx.de/u-boot-arm 2012-05-20 21:31:26 +02:00
omap_hsmmc.c Merge branch 'master' of git://git.denx.de/u-boot-arm 2012-05-20 21:31:26 +02:00
pxa_mmc_gen.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
pxa_mmc.c PXA: Kill last remnants of set_GPIO_mode function 2011-12-19 17:52:44 +01:00
pxa_mmc.h pxa: move mmc drivers to drivers/mmc 2009-02-20 03:47:50 +01:00
s5p_sdhci.c mmc: support the sdhci instead of s5p_mmc for samsung-soc 2012-05-08 18:02:22 -05:00
sdhci.c mmc: add the quirk to use the sdhci for samsung-soc 2012-05-08 18:02:22 -05:00
sh_mmcif.c mmc: Implement card detection. 2012-01-08 21:28:27 -06:00
sh_mmcif.h mmc: sh_mmcif: add support for Renesas MMCIF 2011-07-15 20:29:21 -05:00
tegra_mmc.c mmc: tegra2: rename tegra2_mmc.* to tegra_mmc.* 2012-07-07 14:07:20 +02:00
tegra_mmc.h mmc: tegra2: rename tegra2_mmc.* to tegra_mmc.* 2012-07-07 14:07:20 +02:00