]> git.dujemihanovic.xyz Git - u-boot.git/commit
am33xx: refactor emif4/ddr to support multiple EMIF instances
authorMatt Porter <mporter@ti.com>
Fri, 15 Mar 2013 10:07:03 +0000 (10:07 +0000)
committerTom Rini <trini@ti.com>
Sun, 24 Mar 2013 16:49:11 +0000 (12:49 -0400)
commit3ba65f97cbedb39fb486f42f8daa9b9e0d36705a
tree0349f033250c48a61c82a6c3bc5bf85ad220c6c1
parent81df2bab46d3bed319e21571c68db8e0a048bbfd
am33xx: refactor emif4/ddr to support multiple EMIF instances

The AM33xx emif4/ddr support closely matches what is need to support
TI814x except that TI814x has two EMIF instances. Refactor all the
emif4 helper calls and the config_ddr() init function to use an
additional instance number argument.

Signed-off-by: Matt Porter <mporter@ti.com>
Reviewed-by: Tom Rini <trini@ti.com>
arch/arm/cpu/armv7/am33xx/ddr.c
arch/arm/cpu/armv7/am33xx/emif4.c
arch/arm/include/asm/arch-am33xx/ddr_defs.h
arch/arm/include/asm/arch-am33xx/hardware.h
board/phytec/pcm051/board.c
board/ti/am335x/board.c