u-boot-brain/drivers
Ł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
..
bios_emulator Add abs() macro to return absolute value 2012-05-15 08:31:37 +02:00
block Remove remaining mdelay() macros 2012-07-08 22:15:08 +02:00
dma DMA: Split the APBH DMA init into block and channel init 2012-04-16 14:53:59 +02:00
fpga Remove execute permissions from source files 2012-03-04 21:56:15 +01:00
gpio GPIO: Add SPEAr GPIO driver 2012-07-07 14:07:42 +02:00
hwmon hwmon: do not init sensors on startup 2011-08-04 23:30:38 +02:00
i2c mxs-i2c: Fix internal address byte order 2012-07-11 10:54:53 +02:00
input tegra: Add tegra keyboard driver 2012-05-15 08:31:40 +02:00
misc pmic: dialog: Avoid name conflicts 2012-05-15 08:31:34 +02:00
mmc mmc:fix Call mmc_init() when executing mmc_get_dev() 2012-07-13 17:04:50 -05:00
mtd MTD: SPEAr SMI: Add write support for length < 4 bytes 2012-07-07 14:07:44 +02:00
net net/sh-ether: Fix build by removing ECSIPR_BRCRXIP and other 2012-07-10 10:12:03 -05:00
pci pci: declare pciauto functions in header 2012-03-30 22:46:00 +02:00
pcmcia PXA: Remove PXA PCMCIA support 2012-03-26 23:09:23 +02:00
power i2c: Add TPS6586X driver 2012-05-15 08:31:37 +02:00
qe drivers/qe/uec.c: Fix compile warning 2012-05-22 13:41:48 -05:00
rtc rtc/m41t62: Add support for M41T82 with HT (Halt Update) 2012-07-07 14:07:43 +02:00
serial sh: Add SH7269 device and RSK2+SH7269 board 2012-05-28 09:12:54 +09:00
spi kw_spi: add weak functions board_spi_claim/release_bus 2012-07-07 14:07:32 +02:00
tpm Introduce generic TPM support in u-boot 2011-12-07 08:45:51 +01:00
twserial Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
usb Merge branch 'master' of git://git.denx.de/u-boot-arm 2012-07-10 08:54:41 +02:00
video Remove remaining mdelay() macros 2012-07-08 22:15:08 +02:00
watchdog AT91: fix at91sam_wdt.c to reworked header files 2011-05-18 07:56:51 +02:00