]> git.dujemihanovic.xyz Git - u-boot.git/commit
nand/fsl_ifc: Increase eccstat[] for IFC 2.0
authorScott Wood <scottwood@freescale.com>
Thu, 19 Mar 2015 16:20:49 +0000 (09:20 -0700)
committerYork Sun <yorksun@freescale.com>
Thu, 23 Apr 2015 15:55:53 +0000 (08:55 -0700)
commit585acc9de65554e2d77dc3d30a65d59b8766ba39
tree7c6a79ed3ca8ed3b779ca01bb36f993572f0adb3
parent45bc6fd10819b07b83558d753cf169d9369af823
nand/fsl_ifc: Increase eccstat[] for IFC 2.0

IFC 2.0 doubled the SRAM size, which means double the number of
ECCSTAT registers.  Fix the resulting array overflow.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/mtd/nand/fsl_ifc_nand.c