Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207786
b: refs/heads/master
c: d2350c2
h: refs/heads/master
v: v3
  • Loading branch information
Barry Song authored and David Woodhouse committed Aug 5, 2010
1 parent 5de2734 commit 2ad7500
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 44299179c0e87cc6d8b753c1ca8c97b1cf9340e1
refs/heads/master: d2350c2ab51df7088d3db73a4c85ad73ded37a01
4 changes: 2 additions & 2 deletions trunk/drivers/mtd/nand/bf5xx_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,9 @@ static void bf5xx_nand_hwcontrol(struct mtd_info *mtd, int cmd,
*/
static int bf5xx_nand_devready(struct mtd_info *mtd)
{
unsigned short val = bfin_read_NFC_IRQSTAT();
unsigned short val = bfin_read_NFC_STAT();

if ((val & NBUSYIRQ) == NBUSYIRQ)
if ((val & NBUSY) == NBUSY)
return 1;
else
return 0;
Expand Down

0 comments on commit 2ad7500

Please sign in to comment.