Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226543
b: refs/heads/master
c: 4931445
h: refs/heads/master
i:
  226541: 81ee257
  226539: a154027
  226535: 68beaa7
  226527: 90f2f7c
v: v3
  • Loading branch information
Adrian Hunter authored and Tony Lindgren committed Dec 21, 2010
1 parent a80c2b0 commit 3179894
Show file tree
Hide file tree
Showing 3 changed files with 13 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: a3551f5b0c3ca7aaa053e554e3ee766983b5d713
refs/heads/master: 4931445b94f49672028b81ace9d4eee8ddf19ab2
9 changes: 9 additions & 0 deletions trunk/arch/arm/mach-omap2/gpmc-onenand.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,15 @@ static int omap2_onenand_set_sync_mode(struct omap_onenand_platform_data *cfg,
}

switch (freq) {
case 104:
min_gpmc_clk_period = 9600; /* 104 MHz */
t_ces = 3;
t_avds = 4;
t_avdh = 2;
t_ach = 3;
t_aavdh = 6;
t_rdyo = 9;
break;
case 83:
min_gpmc_clk_period = 12000; /* 83 MHz */
t_ces = 5;
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/mtd/onenand/omap2.c
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,9 @@ static int __devinit omap2_onenand_probe(struct platform_device *pdev)
case 3:
c->freq = 83;
break;
case 4:
c->freq = 104;
break;
}

#ifdef CONFIG_MTD_PARTITIONS
Expand Down

0 comments on commit 3179894

Please sign in to comment.