
9 May
2018
9 May
'18
8:10 p.m.
On 03/23/2018 04:17 AM, Jagdish Gediya wrote:
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
Changes for v2:
- Resolve checkpatch error
- Give suitable name to variable and do proper initialization.
Changes for v3:
- Changes to avoid reading of register twice if sector_start is multiple of 4.
I don't see any comment on this patch. So it is applied to fsl-qoriq master, awaiting upstream.
Thanks.
York