u-boot/drivers
Haijun.Zhang a54d681132 esdhc: memset mmc struct before putting into use
struct mmc should be clear to all '0' after malloc to avoid
unexpect variable value.

Like mmc->has_init = xxx.
In this case mmcinfo will believe the card had been initialized before
and skip the initialization.

Test on P5040 and T4240,
Error Log:

=> mmcinfo
Device: FSL_SDHC
Manufacturer ID: 0
OEM: 0
Name: Tran Speed: 0
Rd Block Len: 0
MMC version 0.0
High Capacity: No
Capacity: 0 Bytes
Bus Width: 0-bit
=>

Signed-off-by: Haijun Zhang <Haijun.Zhang@freescale.com>
Signed-off-by: Xie Shaohui-B21989 <B21989@freescale.com>
Tested-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
2013-10-31 09:55:34 +02:00
..
bios_emulator
block Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
bootcount
crypto
dfu dfu:core: Export dfu_{get|free}_buf functions 2013-10-20 23:42:40 +02:00
dma
fpga Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
gpio
hwmon
i2c i2c: eliminate warnings in i2c_reloc_fixup function 2013-10-17 07:24:41 +02:00
input Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
misc Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
mmc esdhc: memset mmc struct before putting into use 2013-10-31 09:55:34 +02:00
mtd mtd/fsl_elbc: take NAND_ECC_SOFT_BCH config option into account 2013-10-24 09:36:05 -07:00
net net/fman: add a fm_enable_port function 2013-10-24 09:35:59 -07:00
pci PCIe:change the method to get the address of a requested capability in configuration space. 2013-10-16 16:15:17 -07:00
pcmcia
power ARM: OMAP5: Power: Add new function to turn on SMPS10 2013-10-20 23:42:39 +02:00
qe
rtc Coding Style cleanup: replace leading SPACEs by TABs 2013-10-14 16:06:54 -04:00
serial Merge branch 'master' of git://git.denx.de/u-boot-sh 2013-10-22 08:37:46 -04:00
sound
spi spi: mxc_spi: Fix double incrementing read pointer for unaligned buffers 2013-10-16 00:14:30 +05:30
tpm
twserial
usb powerpc/usb:Differentiate USB controller base address 2013-10-24 09:35:09 -07:00
video video, formike: change tag/val write 2013-10-30 10:48:41 +01:00
watchdog microblaze: Fix watchdog initialization 2013-10-16 09:24:38 -04:00