summaryrefslogtreecommitdiff
path: root/drivers/nand/nand_base.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2006-10-07 11:36:51 +0200
committerStefan Roese <sr@denx.de>2006-10-07 11:36:51 +0200
commit5c912cb1c31266c66ca59b36f9b6f87296421d75 (patch)
tree10f685cfa2eace47013f5d663ee3fed7c0ace451 /drivers/nand/nand_base.c
parent5bc528fa4da751d472397b308137238a6465afd2 (diff)
downloadu-boot-imx-5c912cb1c31266c66ca59b36f9b6f87296421d75.zip
u-boot-imx-5c912cb1c31266c66ca59b36f9b6f87296421d75.tar.gz
u-boot-imx-5c912cb1c31266c66ca59b36f9b6f87296421d75.tar.bz2
CFG_NAND_QUIET_TEST added to not warn upon missing NAND device
Patch by Stefan Roese, 07 Oct 2006
Diffstat (limited to 'drivers/nand/nand_base.c')
-rw-r--r--drivers/nand/nand_base.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/nand/nand_base.c b/drivers/nand/nand_base.c
index b7a5d32..b003085 100644
--- a/drivers/nand/nand_base.c
+++ b/drivers/nand/nand_base.c
@@ -2407,7 +2407,9 @@ int nand_scan (struct mtd_info *mtd, int maxchips)
}
if (!nand_flash_ids[i].name) {
+#ifndef CFG_NAND_QUIET_TEST
printk (KERN_WARNING "No NAND device found!!!\n");
+#endif
this->select_chip(mtd, -1);
return 1;
}