|
@@ -292,7 +292,7 @@ static int fsl_ifc_run_command(struct mtd_info *mtd)
|
|
struct fsl_ifc *ifc = ctrl->regs;
|
|
struct fsl_ifc *ifc = ctrl->regs;
|
|
u32 timeo = (CONFIG_SYS_HZ * 10) / 1000;
|
|
u32 timeo = (CONFIG_SYS_HZ * 10) / 1000;
|
|
u32 time_start;
|
|
u32 time_start;
|
|
- u32 eccstat[4];
|
|
|
|
|
|
+ u32 eccstat[4] = {0};
|
|
int i;
|
|
int i;
|
|
|
|
|
|
/* set the chip select for NAND Transaction */
|
|
/* set the chip select for NAND Transaction */
|