omap4: calculate EMIF register values
authorAneesh V <aneesh@ti.com>
Thu, 21 Jul 2011 13:10:12 +0000 (09:10 -0400)
committerU-Boot <uboot@aari01-12.(none)>
Wed, 3 Aug 2011 10:49:19 +0000 (12:49 +0200)
commit095aea293b70114dda0d958788a8acc15e3cd665
tree7b8aac0828ca5a801aac25bb0e2c7ac8c3626189
parent2ae610f030c376323515321280352b3fe6278a0f
omap4: calculate EMIF register values

Calculate EMIF register values based on AC timing parameters
from the SDRAM datasheet and the DDR frequency rather than
using the hard-coded values.

For a new board the user doen't have to go through the tedious
process of calculating the register values. Instead, just
provide the AC timings from the device data sheet as input
and the driver will automatically calculate the register values.

Signed-off-by: Aneesh V <aneesh@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
arch/arm/cpu/armv7/omap-common/Makefile
arch/arm/cpu/armv7/omap-common/utils.c [new file with mode: 0644]
arch/arm/cpu/armv7/omap4/board.c
arch/arm/cpu/armv7/omap4/emif.c
arch/arm/cpu/armv7/omap4/sdram_elpida.c
arch/arm/include/asm/arch-omap4/emif.h
arch/arm/include/asm/arch-omap4/omap4.h
arch/arm/include/asm/arch-omap4/sys_proto.h
include/configs/omap4_panda.h
include/configs/omap4_sdp4430.h