am33xx: Rework config_io_ctrl slightly
authorTom Rini <trini@ti.com>
Tue, 24 Jul 2012 23:31:26 +0000 (16:31 -0700)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 12:58:12 +0000 (14:58 +0200)
commit5ac3b7ada1573a8d0a6c17ce4b86ed56f77f637a
tree47e96d9ef925392e7102c89419293359a74073bf
parentff7ec0f945d16dcd8fcb4b5347dca2770ac6cea4
am33xx: Rework config_io_ctrl slightly

This function sets a number of related registers to the same value (the
registers in question all have the same field descriptions and are
related in operation).  Rather than defining a struct and setting the
value repeatedly, just pass in the value.

Signed-off-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