diff options
author | Jaiprakash Singh <b44839@freescale.com> | 2014-11-27 12:38:12 +0530 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-12-11 09:42:32 -0800 |
commit | 1d421cc6773dd9090e8b9202a24038561a28e56c (patch) | |
tree | 9293eee7cd638db1668be853b6801531afb6ba47 /drivers/mtd | |
parent | 660673af4fd10c544ceeedeb524ba92c27dbc586 (diff) | |
download | u-boot-imx-1d421cc6773dd9090e8b9202a24038561a28e56c.zip u-boot-imx-1d421cc6773dd9090e8b9202a24038561a28e56c.tar.gz u-boot-imx-1d421cc6773dd9090e8b9202a24038561a28e56c.tar.bz2 |
driver/mtd: Fix IFC compilation warnings
'eccstat' array elements might be used uninitialized
Signed-off-by: Jaiprakash Singh <b44839@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/fsl_ifc_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/fsl_ifc_nand.c b/drivers/mtd/nand/fsl_ifc_nand.c index 81b5070..b283eae 100644 --- a/drivers/mtd/nand/fsl_ifc_nand.c +++ b/drivers/mtd/nand/fsl_ifc_nand.c @@ -292,7 +292,7 @@ static int fsl_ifc_run_command(struct mtd_info *mtd) struct fsl_ifc *ifc = ctrl->regs; u32 timeo = (CONFIG_SYS_HZ * 10) / 1000; u32 time_start; - u32 eccstat[4]; + u32 eccstat[4] = {0}; int i; /* set the chip select for NAND Transaction */ |