Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 347213
b: refs/heads/master
c: ff3206b
h: refs/heads/master
i:
  347211: 8947898
v: v3
  • Loading branch information
Matthieu CASTET authored and Artem Bityutskiy committed Dec 3, 2012
1 parent f9a66bc commit adaaa59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 64b37b2a63eb2f80b65c7185f0013f8ffc637ae3
refs/heads/master: ff3206b2450499203532af2505a7f6f8413e92c0
2 changes: 2 additions & 0 deletions trunk/drivers/mtd/nand/nand_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2857,6 +2857,8 @@ static int nand_flash_detect_onfi(struct mtd_info *mtd, struct nand_chip *chip,
int i;
int val;

/* ONFI need to be probed in 8 bits mode */
WARN_ON(chip->options & NAND_BUSWIDTH_16);
/* Try ONFI for unknown chip or LP */
chip->cmdfunc(mtd, NAND_CMD_READID, 0x20, -1);
if (chip->read_byte(mtd) != 'O' || chip->read_byte(mtd) != 'N' ||
Expand Down

0 comments on commit adaaa59

Please sign in to comment.