summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/nand_bbt.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-07-10 00:59:04 +0200
committerWolfgang Denk <wd@denx.de>2008-07-10 00:59:04 +0200
commit40234535ee4ed8721cbc14414f65910fc83d81d0 (patch)
tree4fa164030d538526ed22908cf014c16b166a1897 /drivers/mtd/nand/nand_bbt.c
parent8915f1189c1d29d8be7f4de325702d90a8988219 (diff)
parent9d2e3947b2944e5bb85b4335533f8c93c58445fe (diff)
downloadu-boot-imx-40234535ee4ed8721cbc14414f65910fc83d81d0.zip
u-boot-imx-40234535ee4ed8721cbc14414f65910fc83d81d0.tar.gz
u-boot-imx-40234535ee4ed8721cbc14414f65910fc83d81d0.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-nand-flash
Diffstat (limited to 'drivers/mtd/nand/nand_bbt.c')
-rw-r--r--drivers/mtd/nand/nand_bbt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/nand_bbt.c b/drivers/mtd/nand/nand_bbt.c
index eff76d7..a97743b 100644
--- a/drivers/mtd/nand/nand_bbt.c
+++ b/drivers/mtd/nand/nand_bbt.c
@@ -1038,8 +1038,8 @@ int nand_isbad_bbt (struct mtd_info *mtd, loff_t offs, int allowbbt)
block = (int) (offs >> (this->bbt_erase_shift - 1));
res = (this->bbt[block >> 3] >> (block & 0x06)) & 0x03;
- DEBUG (MTD_DEBUG_LEVEL2, "nand_isbad_bbt(): bbt info for offs 0x%08x: (block %d) 0x%02x\n",
- (unsigned int)offs, res, block >> 1);
+ MTDDEBUG (MTD_DEBUG_LEVEL2, "nand_isbad_bbt(): bbt info for offs 0x%08x: "
+ "(block %d) 0x%02x\n", (unsigned int)offs, res, block >> 1);
switch ((int)res) {
case 0x00: return 0;