]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
am33xx: Re-enable SW levelling for DDR2
authorTom Rini <trini@ti.com>
Fri, 5 Jun 2015 10:21:11 +0000 (15:51 +0530)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 22:42:50 +0000 (00:42 +0200)
commit4880b22f8ae08f8ab136a0f5c695419315337780
tree48dc93d648d8c4547d72f06fe277aa777d9c0d38
parent9715e2b16474dc80e5bf9f93380f85cced619203
am33xx: Re-enable SW levelling for DDR2

The recent changes for hw leveling on am33xx were not intended for
DDR2 boards, only DDR3. Update emif_sdram_type to take a sdram_config
value to check against. This lets us pass in the value we would use to
configure, when we have not yet configured the board yet.  In other cases
update the call to be as functional as before and check an already
programmed value in.

Tested-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/cpu/armv7/am33xx/ddr.c
arch/arm/cpu/armv7/am33xx/emif4.c
arch/arm/cpu/armv7/omap-common/clocks-common.c
arch/arm/cpu/armv7/omap-common/emif-common.c
arch/arm/cpu/armv7/omap5/hwinit.c
arch/arm/include/asm/emif.h
board/ti/am43xx/board.c