Enable multi chip support in the NAND layer
[platform/kernel/u-boot.git] / drivers / mtd / nand / nand_base.c
index d33fee2..e6ac859 100644 (file)
@@ -2652,8 +2652,10 @@ int nand_scan_ident(struct mtd_info *mtd, int maxchips)
                    type->id != chip->read_byte(mtd))
                        break;
        }
+#ifdef DEBUG
        if (i > 1)
                printk(KERN_INFO "%d NAND chips detected\n", i);
+#endif
 
        /* Store the number of chips and calc total size for mtd */
        chip->numchips = i;