arm: omap: emif-common: Fix memory priming for ECC
authorKrunal Bhargav <k-bhargav@ti.com>
Mon, 16 Sep 2019 08:17:18 +0000 (13:47 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 11 Oct 2019 17:31:17 +0000 (13:31 -0400)
commit2b2e1573cffbe5d47712d138690f45e01353c3f5
treecdacd29ed4d8bac59797f0728b8b4ecc53f9e59a
parentd0a37a5e510a6772bb86d3cda8d1a2c14c01a0e2
arm: omap: emif-common: Fix memory priming for ECC

Before the priming begins, we need to disable RMW (Read Modify Write)
and disable ECC verification for read accesses. By default, the EMIF
tool enables RMW and read accesses in the EMIF_ECC_CTRL_REG.

Signed-off-by: Krunal Bhargav <k-bhargav@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-omap2/emif-common.c