u-boot/drivers
Rajeshwari S Shinde d3e016cc28 MMC: DWMMC: Correct the CLKDIV register value
This patch corrects the divider value written to CLKDIV register.
Since SDCLKIN is divided inside controller by the DIVRATIO value set
in the CLKSEL register, we need to use the same output clock value to
calculate the CLKDIV value.
as per user manual: cclk_in = SDCLKIN / (DIVRATIO + 1)

Input parameter to mmc_clk is changed to dwmci_host, since
we need the same to read DWMCI_CLKSEL register.

This improves the read timing values for channel 0 on SMDK5250
from 0.288sec to 0.144sec

Signed-off-by: Rajeshwari S Shinde <rajeshwari.s@samsung.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
2014-02-07 17:42:26 +02:00
..
bios_emulator drivers: delete unused header files 2014-01-24 16:59:07 -05:00
block sandbox: block driver using host file/device as backing store 2014-01-08 17:24:03 -07:00
bootcount am33xx: Make SoC bootcount driver have its own symbol 2013-11-11 12:17:35 -05:00
crypto drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
ddr/fsl powerpc/mpc85xx: Revise workaround for DDR-A003 2014-01-21 13:40:52 -08:00
dfu dfu: Export allocated dfu buffer size 2013-12-18 19:53:19 +01:00
dma drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
fpga fpga: zynq: Correct fpga load when buf is not aligned 2014-02-06 10:08:03 +01:00
gpio Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' 2014-01-06 08:49:58 +01:00
hwmon cosmetic: remove empty lines at the top of file 2013-11-08 09:41:37 -05:00
i2c i2c: fti2c010: fix compiler warning on paddr[] 2014-01-13 08:18:38 +01:00
input drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
misc Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' 2014-01-06 08:49:58 +01:00
mmc MMC: DWMMC: Correct the CLKDIV register value 2014-02-07 17:42:26 +02:00
mtd driver/ifc:Change accessor function to take care of endianness 2014-02-03 08:38:51 -08:00
net Merge branch 'net' of git://www.denx.de/git/u-boot-microblaze 2014-02-04 11:51:20 -05:00
pci driver/fsl_pci:Update print to display PCIe generation 2014-02-03 08:38:48 -08:00
pcmcia drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
power fuelgauge: max17042: fix i2c read issue which causes infinity loop. 2014-01-14 09:01:05 -05:00
qe drivers/qe: move the entry to drivers/Makefile 2013-11-17 14:11:31 -05:00
rtc Merge branch 'master' of git://git.denx.de/u-boot-mips 2013-11-11 09:40:34 -05:00
serial usb: mv_udc: Rename to ci_udc 2014-02-06 04:48:15 +01:00
sound drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
spi Merge branch 'master' of git://git.denx.de/u-boot-arm 2014-01-16 13:50:16 -05:00
tpm sandbox: tpm: Fix nvwrite command 2014-01-08 17:26:17 -07:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb usb: mv_udc: Rename to ci_udc 2014-02-06 04:48:15 +01:00
video video: ipu reg: Correct reserved array size in struct ipu_idmac 2014-01-12 23:00:06 +01:00
watchdog Merge branch 'iu-boot/master' into 'u-boot-arm/master' 2013-11-09 22:59:47 +01:00
Makefile drivers/qe: move the entry to drivers/Makefile 2013-11-17 14:11:31 -05:00