u-boot-brain/arch
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
..
arm MMC: DWMMC: Correct the CLKDIV register value 2014-02-07 17:42:26 +02:00
avr32 avr32: delete unused header files 2014-01-24 16:59:07 -05:00
blackfin blackfin: delete unused header files 2014-01-24 16:59:07 -05:00
m68k include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
microblaze microblaze: Add SPL support 2014-02-04 16:39:50 +01:00
mips malta: enable PIIX4 SERIRQ 2013-11-26 21:49:34 +01:00
nds32 nds32: add support for leopard and orca board boot flow auto detect 2014-01-28 19:23:01 +08:00
nios2 nios2: convert makefiles to Kbuild style 2013-11-01 11:42:11 -04:00
openrisc openrisc: convert makefiles to Kbuild style 2013-10-31 13:26:45 -04:00
powerpc driver/ifc:Change accessor function to take care of endianness 2014-02-03 08:38:51 -08:00
sandbox sandbox: Use system headers first for sandbox's os.c in a different way 2014-01-29 16:08:52 -05:00
sh sh: sh2: Remove CONFIG_SH2A definition from asm/processor.h 2014-01-09 13:22:22 +09:00
sparc sparc: Correct arch/sparc/cpu/leon3/start.S from SPDX conversion 2013-11-25 10:41:55 -05:00
x86 x86: delete unused header files 2014-01-24 16:59:07 -05:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00