Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27927
b: refs/heads/master
c: ad3b5fb
h: refs/heads/master
i:
  27925: 551fb43
  27923: 0178de8
  27919: 1a44230
v: v3
  • Loading branch information
Ben Dooks authored and David Woodhouse committed Jun 19, 2006
1 parent 1f415ad commit a4c79c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 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: d1fef3c5e16327661be6cb127d68f5be379697a5
refs/heads/master: ad3b5fb772e6a824f1ac341eb8e392eca6fc524f
11 changes: 3 additions & 8 deletions trunk/drivers/mtd/nand/s3c2410.c
Original file line number Diff line number Diff line change
Expand Up @@ -268,20 +268,16 @@ static void s3c2410_nand_select_chip(struct mtd_info *mtd, int chip)
clk_disable(info->clk);
}

/* command and control functions
*
* Note, these all use tglx's method of changing the IO_ADDR_W field
* to make the code simpler, and use the nand layer's code to issue the
* command and address sequences via the proper IO ports.
/* s3c2410_nand_hwcontrol
*
* Issue command and address cycles to the chip
*/

static void s3c2410_nand_hwcontrol(struct mtd_info *mtd, int cmd,
unsigned int ctrl)
{
struct s3c2410_nand_info *info = s3c2410_nand_mtd_toinfo(mtd);
struct nand_chip *chip = mtd->priv;


if (cmd == NAND_CMD_NONE)
return;

Expand All @@ -297,7 +293,6 @@ static void s3c2440_nand_hwcontrol(struct mtd_info *mtd, int cmd,
unsigned int ctrl)
{
struct s3c2410_nand_info *info = s3c2410_nand_mtd_toinfo(mtd);
struct nand_chip *chip = mtd->priv;

if (cmd == NAND_CMD_NONE)
return;
Expand Down

0 comments on commit a4c79c3

Please sign in to comment.