u-boot-2016/drivers
Jerry Huang 4a6ee172c3 fsl_esdhc: Use mmc_set_clock to set initial speed
After booting the u-boot, and first using some SD card (such as Sandisk 2G SD
card), because the field 'clock' of struct mmc is zero, this will cause
the read transfer is always active and SDHC DATA line is always active,
therefore, driver can't handle the next command.

Therefore, we use mmc_set_clock to setup both the data structure and HW
to the initial clock speed of 400000Hz.

Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
Tested-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2010-12-18 23:15:21 +01:00
..
bios_emulator Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
block Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
dma Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
fpga Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
gpio Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
hwmon Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
i2c Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
input Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
misc Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
mmc fsl_esdhc: Use mmc_set_clock to set initial speed 2010-12-18 23:15:21 +01:00
mtd fsl_upm: Add MxMR/MDR synchronization 2010-12-13 09:32:15 -06:00
net tsec: Revert to setting TBICR_ANEG_ENABLE by default for SGMII 2010-12-13 09:32:15 -06:00
pci 74xx_7xx: Cleanup for partial linking and --gc-sections 2010-11-27 23:35:12 +01:00
pcmcia Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
power Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
qe Exclude drivers/qe/fdt.c without CONFIG_QE 2010-11-18 15:22:10 +01:00
rtc Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
serial Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
spi Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
twserial Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
usb usb: Remove usb_dev_init() from ehci-ppc4xx.c 2010-11-26 21:24:57 +01:00
video video/mx3fb: fix clock divider 2010-12-17 21:24:02 +01:00
watchdog Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00