diff options
author | Stefan Roese <sr@denx.de> | 2008-01-10 18:47:33 +0100 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2008-08-12 11:31:24 -0500 |
commit | e52b34d40a8a646e3d11638ea8797e96398dba13 (patch) | |
tree | 825e28a9a629c1b22207106c3f5364fe5624b8f3 /drivers/mtd/nand/nand_base.c | |
parent | fe56a2772e5c59577df906163d0d4b29b056140e (diff) | |
download | u-boot-imx-e52b34d40a8a646e3d11638ea8797e96398dba13.zip u-boot-imx-e52b34d40a8a646e3d11638ea8797e96398dba13.tar.gz u-boot-imx-e52b34d40a8a646e3d11638ea8797e96398dba13.tar.bz2 |
NAND: Make NAND driver less verbose per default
This patch turns off printing of bad blocks per default upon bootup.
This can always be shown via the "nand bad" command later.
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/mtd/nand/nand_base.c')
-rw-r--r-- | drivers/mtd/nand/nand_base.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index f577ed6..5661a8e 100644 --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c @@ -2466,9 +2466,9 @@ static struct nand_flash_dev *nand_get_flash_type(struct mtd_info *mtd, if (mtd->writesize > 512 && chip->cmdfunc == nand_command) chip->cmdfunc = nand_command_lp; - printk(KERN_INFO "NAND device: Manufacturer ID:" - " 0x%02x, Chip ID: 0x%02x (%s %s)\n", *maf_id, dev_id, - nand_manuf_ids[maf_idx].name, type->name); + MTDDEBUG (MTD_DEBUG_LEVEL0, "NAND device: Manufacturer ID:" + " 0x%02x, Chip ID: 0x%02x (%s %s)\n", *maf_id, dev_id, + nand_manuf_ids[maf_idx].name, type->name); return type; } |