ARM: DRA7: emif: Check for enable bits before updating leveling output
authorLokesh Vutla <lokeshvutla@ti.com>
Sat, 5 Mar 2016 12:02:30 +0000 (17:32 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 14 Mar 2016 23:18:47 +0000 (19:18 -0400)
commite3ce3aa103c9e40415673df70ee62732cdb966c3
treedbc82cfd76bafe62c246e9aceca54397351aea0e
parent4571c519b4581cffc49f40d4066c328df4d6cdf0
ARM: DRA7: emif: Check for enable bits before updating leveling output

Read and write leveling can be enabled independently. Check for these
enable bits before updating the read and write leveling output values.
This will allow to use the combination of software and hardware leveling.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv7/omap-common/emif-common.c
arch/arm/cpu/armv7/omap5/sdram.c
arch/arm/include/asm/emif.h