]> git.sur5r.net Git - u-boot/blobdiff - drivers/mtd/nand/nand_base.c
NAND: Silence warning when CONFIG_SYS_NAND_QUIET_TEST
[u-boot] / drivers / mtd / nand / nand_base.c
index ef37f97b3394d85b695c1c74e905f1b328f87219..bfa78744962add9897fed37cb127704423d426f0 100644 (file)
@@ -2618,7 +2618,9 @@ int nand_scan_ident(struct mtd_info *mtd, int maxchips)
        type = nand_get_flash_type(mtd, chip, busw, &nand_maf_id);
 
        if (IS_ERR(type)) {
+#ifndef CONFIG_SYS_NAND_QUIET_TEST
                printk(KERN_WARNING "No NAND device found!!!\n");
+#endif
                chip->select_chip(mtd, -1);
                return PTR_ERR(type);
        }