Home
last modified time | relevance | path

Searched hist:"4 a6ee172c3e6e8419e2e61d345a2c993016bb781" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/include/
H A Dmmc.h4a6ee172c3e6e8419e2e61d345a2c993016bb781 Thu Nov 25 17:06:07 UTC 2010 Jerry Huang <Chang-Ming.Huang@freescale.com> 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>
/rk3399_rockchip-uboot/drivers/mmc/
H A Dfsl_esdhc.c4a6ee172c3e6e8419e2e61d345a2c993016bb781 Thu Nov 25 17:06:07 UTC 2010 Jerry Huang <Chang-Ming.Huang@freescale.com> 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>