summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-12-11 18:28:09 -0500
committerTom Rini <trini@ti.com>2014-12-11 18:28:09 -0500
commit2c49323d5de38e119f102fa3f5fb291c4bc4e8a0 (patch)
treef64ddb2b5c393f6fac9a54dc98ea72c118922d70 /drivers/mtd
parent9b416a9f4ca7cf5ac4d5f7143d67edde7f7d7326 (diff)
parentd0419f400af6f4bbe5c4ee5c97f6fbbdedec6cf3 (diff)
downloadu-boot-imx-2c49323d5de38e119f102fa3f5fb291c4bc4e8a0.zip
u-boot-imx-2c49323d5de38e119f102fa3f5fb291c4bc4e8a0.tar.gz
u-boot-imx-2c49323d5de38e119f102fa3f5fb291c4bc4e8a0.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/fsl_ifc_nand.c2
-rw-r--r--drivers/mtd/nand/fsl_ifc_spl.c10
2 files changed, 11 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 */
diff --git a/drivers/mtd/nand/fsl_ifc_spl.c b/drivers/mtd/nand/fsl_ifc_spl.c
index e336cb1..fb827c5 100644
--- a/drivers/mtd/nand/fsl_ifc_spl.c
+++ b/drivers/mtd/nand/fsl_ifc_spl.c
@@ -254,3 +254,13 @@ void nand_boot(void)
uboot = (void *)CONFIG_SYS_NAND_U_BOOT_START;
uboot();
}
+
+#ifndef CONFIG_SPL_NAND_INIT
+void nand_init(void)
+{
+}
+
+void nand_deselect(void)
+{
+}
+#endif