arm: am437x: Enable hardware leveling for EMIF
authorJames Doublesin <doublesin@ti.com>
Mon, 22 Dec 2014 22:26:11 +0000 (16:26 -0600)
committerTom Rini <trini@ti.com>
Tue, 13 Jan 2015 16:53:39 +0000 (11:53 -0500)
commitfc46bae2ae38c8d0b1570427b5c9520281eaae4f
treec2536bc12569eb79405935eaabb2737dfc4e8aac
parente2a6207bcc45d9d8f3c2da75d581f3efb4d7e47f
arm: am437x: Enable hardware leveling for EMIF

Switch to using hardware leveling for certain parameters on the EMIF
rather than using precalculated values.  Doing this also means we have a
common place now between am437x and am335x for setting
emif_sdram_ref_ctrl with a value for the correct delay length.

Tested-by: Felipe Balbi <balbi@ti.com>
Tested-by: Tom Rini <trini@ti.com>
Signed-off-by: James Doublesin <doublesin@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
arch/arm/cpu/armv7/am33xx/ddr.c
arch/arm/cpu/armv7/am33xx/emif4.c
arch/arm/include/asm/arch-am33xx/cpu.h
arch/arm/include/asm/arch-am33xx/hardware_am33xx.h
arch/arm/include/asm/arch-am33xx/hardware_am43xx.h
arch/arm/include/asm/emif.h
board/ti/am43xx/board.c