Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176977
b: refs/heads/master
c: a4ad57f
h: refs/heads/master
i:
  176975: 77a44ec
v: v3
  • Loading branch information
Sascha Hauer committed Nov 12, 2009
1 parent 210dc37 commit bc652dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 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: 624654917476c63287429e005173aa8629c92eac
refs/heads/master: a4ad57f8b320c9d89b7693be82e47347425db918
17 changes: 0 additions & 17 deletions trunk/drivers/mtd/nand/mxc_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -620,23 +620,6 @@ static void mxc_nand_select_chip(struct mtd_info *mtd, int chip)
struct nand_chip *nand_chip = mtd->priv;
struct mxc_nand_host *host = nand_chip->priv;

#ifdef CONFIG_MTD_NAND_MXC_FORCE_CE
if (chip > 0) {
DEBUG(MTD_DEBUG_LEVEL0,
"ERROR: Illegal chip select (chip = %d)\n", chip);
return;
}

if (chip == -1) {
writew(readw(host->regs + NFC_CONFIG1) & ~NFC_CE,
host->regs + NFC_CONFIG1);
return;
}

writew(readw(host->regs + NFC_CONFIG1) | NFC_CE,
host->regs + NFC_CONFIG1);
#endif

switch (chip) {
case -1:
/* Disable the NFC clock */
Expand Down

0 comments on commit bc652dd

Please sign in to comment.