ARM: OMAP4+: emif: Detect SDRAM from SDRAM config register
authorLokesh Vutla <lokeshvutla@ti.com>
Mon, 4 Feb 2013 04:21:59 +0000 (04:21 +0000)
committerTom Rini <trini@ti.com>
Mon, 11 Mar 2013 15:06:09 +0000 (11:06 -0400)
commit9ca8bfea80f38e3b423e339499c861ddc24b830c
tree5876730eda5da37b21a157f66233dc6d4a3b6757
parent60e6bdcc948f99e6b24d198c1b9136b0cb4e376b
ARM: OMAP4+: emif: Detect SDRAM from SDRAM config register

Now SDRAM initialization is done on the basis of omap revision.
Instead this should be done on basis of SDRAM type read from
EMIF_SDRAM_CONFIG register. This will be helpful to avoid
unnessecary cpu checks for new boards

Signed-off-by: R Sricharan <r.sricharan@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@ti.com>
arch/arm/cpu/armv7/omap-common/clocks-common.c
arch/arm/cpu/armv7/omap-common/emif-common.c
arch/arm/cpu/armv7/omap5/clocks.c
arch/arm/cpu/armv7/omap5/hwinit.c
arch/arm/include/asm/emif.h