9
0
Fork 0

CFG_NAND_QUIET_TEST added to not warn upon missing NAND device

Patch by Stefan Roese, 07 Oct 2006
This commit is contained in:
Stefan Roese 2006-10-07 11:36:51 +02:00
parent 5bc528fa4d
commit 5c912cb1c3
2 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,9 @@
Changes since U-Boot 1.1.4: Changes since U-Boot 1.1.4:
====================================================================== ======================================================================
* CFG_NAND_QUIET_TEST added to not warn upon missing NAND device
Patch by Stefan Roese, 07 Oct 2006
* Update ALPR code (NAND support working now) * Update ALPR code (NAND support working now)
Patch by Stefan Roese, 07 Oct 2006 Patch by Stefan Roese, 07 Oct 2006

View File

@ -2407,7 +2407,9 @@ int nand_scan (struct mtd_info *mtd, int maxchips)
} }
if (!nand_flash_ids[i].name) { if (!nand_flash_ids[i].name) {
#ifndef CFG_NAND_QUIET_TEST
printk (KERN_WARNING "No NAND device found!!!\n"); printk (KERN_WARNING "No NAND device found!!!\n");
#endif
this->select_chip(mtd, -1); this->select_chip(mtd, -1);
return 1; return 1;
} }