diff options
author | Jerry Huang <Chang-Ming.Huang@freescale.com> | 2010-11-25 17:06:07 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-12-18 22:11:27 +0100 |
commit | 94c08a20fc500fcc066bb83f0235b5e344e65ac6 (patch) | |
tree | bdf362cd1f84f9fc8b7fdc289def3c05ae0308a3 /board/esd | |
parent | 73c65e0e77cb5005cc4fa2c0cb435f1dffb90a71 (diff) |
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>
Diffstat (limited to 'board/esd')
0 files changed, 0 insertions, 0 deletions