ARM: k2g: Program DDRPHY_DATX8 registers via mask and value variables
authorCooper Jr., Franklin <fcooper@ti.com>
Fri, 16 Jun 2017 22:25:21 +0000 (17:25 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 10 Jul 2017 18:25:57 +0000 (14:25 -0400)
commite5e546aad18a725787e6c6b6aa1383b02eed0723
treee6ec3a19bdb5e70439a7256686de0a65541c269b
parenta76a6f3e0434b68de30fbdf2825dea8060d066fd
ARM: k2g: Program DDRPHY_DATX8 registers via mask and value variables

Different K2G evms may need to program the various
KS2_DDRPHY_DATX8_X_OFFSET registers in different ways. Therefore, use
the mask and val registers for each KS2_DDRPHY_DATAX_X_OFFSET to
properly program the register.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-keystone/ddr3.c
board/ti/ks2_evm/ddr3_k2g.c