mtd: Turn 'bad block at' message into pr_debug
As bad blocks get more and more on modern nand flashes this message starts getting annoying. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
b655b1e110
commit
ae5eeb06ed
|
@ -218,11 +218,7 @@ static int read_bbt(struct mtd_info *mtd, uint8_t *buf, int page, int num,
|
|||
mtd->ecc_stats.bbtblocks++;
|
||||
continue;
|
||||
}
|
||||
/*
|
||||
* Leave it for now, if it's matured we can
|
||||
* move this message to pr_debug.
|
||||
*/
|
||||
pr_info("nand_read_bbt: bad block at 0x%012llx\n",
|
||||
pr_debug("nand_read_bbt: bad block at 0x%012llx\n",
|
||||
(loff_t)((offs << 2) + (act >> 1)) << this->bbt_erase_shift);
|
||||
/* Factory marked bad or worn out? */
|
||||
if (tmp == 0)
|
||||
|
|
Loading…
Reference in New Issue