diff options
author | Jagdish Gediya <jagdish.gediya@nxp.com> | 2018-03-24 02:55:51 +0530 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2018-05-09 09:17:51 -0500 |
commit | f195fad178979020b226671cafec9f9592860174 (patch) | |
tree | 8868aaa5652d128ebd5b45347a8103573d5fae60 /arch/arm/dts/armada-ap806.dtsi | |
parent | 1f553564116f47e4730e1cadbcf9bc24e550cfa6 (diff) |
mtd: nand: fsl_ifc: Fix eccstat array overflow for IFC ver >= 2.0.0
Number of ECC status registers i.e. (ECCSTATx) has been increased in
IFC version 2.0.0 due to increase in SRAM size. This is causing
eccstat array to over flow.
So, replace eccstat array with u32 variable to make it fail-safe and
independent of number of ECC status registers or SRAM size.
Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/arm/dts/armada-ap806.dtsi')
0 files changed, 0 insertions, 0 deletions