driver/ddr/freescale: Add support of accumulate ECC
authorYork Sun <yorksun@freescale.com>
Fri, 5 Sep 2014 05:52:41 +0000 (13:52 +0800)
committerYork Sun <yorksun@freescale.com>
Mon, 8 Sep 2014 17:30:34 +0000 (10:30 -0700)
commitd28cb6714216cc9e6bfdc1fa333d5dcd174207bd
treece6fe8fcaf3297e38b8330d8d5bdbb345c2f63f6
parent19060bd886381a58cfe335c2f13b6111ed936dd5
driver/ddr/freescale: Add support of accumulate ECC

If less than 8 ECC pins are used for DDR data bus width smaller than 64
bits, the 8-bit ECC code will be transmitted/received across several beats,
and it will be used to check 64-bits of data once 8-bits of ECC are
accumulated.

Signed-off-by: York Sun <yorksun@freescale.com>
drivers/ddr/fsl/ctrl_regs.c