omap3: mem: Define and use common macros
authorSanjeev Premi <premi@ti.com>
Thu, 27 Oct 2011 10:45:19 +0000 (16:15 +0530)
committerSandeep Paulraj <s-paulraj@ti.com>
Fri, 4 Nov 2011 17:39:16 +0000 (13:39 -0400)
commite3596e35f5fb3a8984a131eb12efceeab905fdaa
tree22b77d8037e129c2238840c5405dc20ae780b2ad
parent92e86c8daed649a9e9ddd6c0b52d61cb25b62c3a
omap3: mem: Define and use common macros

Define common macros to arrive at the values of registers
SDRC_ACTIM_CTRLA and SDRC_ACTIM_CTRLB for different memory
types.

This doesn't make any real change in the execution but
helps readability.

Signed-off-by: Sanjeev Premi <premi@ti.com>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
arch/arm/include/asm/arch-omap3/mem.h