mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-17 23:37:01 +00:00
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash
This commit is contained in:
commit
440db47449
1 changed files with 1 additions and 1 deletions
|
@ -460,8 +460,8 @@ static int nand_block_checkbad(struct mtd_info *mtd, loff_t ofs, int getchip,
|
|||
struct nand_chip *chip = mtd->priv;
|
||||
|
||||
if (!(chip->options & NAND_BBT_SCANNED)) {
|
||||
chip->scan_bbt(mtd);
|
||||
chip->options |= NAND_BBT_SCANNED;
|
||||
chip->scan_bbt(mtd);
|
||||
}
|
||||
|
||||
if (!chip->bbt)
|
||||
|
|
Loading…
Add table
Reference in a new issue