arm: emif-common: Add suppport for enabling ECC
authorLokesh Vutla <lokeshvutla@ti.com>
Fri, 29 Dec 2017 06:17:48 +0000 (11:47 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 19 Jan 2018 20:49:25 +0000 (15:49 -0500)
commit650fda93c89bcac54ff69603d879ea45f81987f9
tree7a798dbebf5133982d64d165aaa6c11bc2542488
parente18cd3d7963dd513b750b35bafe6bfe5b0b038a5
arm: emif-common: Add suppport for enabling ECC

For data integrity, the EMIF1 supports ECC on the data
written or read from the SDRAM. Add support for enabling
ECC support in EMIF1.

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