OMAP2/3: OneNAND: add 104MHz support
Add GPMC timings for 104MHz OneNAND. Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
a3551f5b0c
commit
4931445b94
@ -173,6 +173,15 @@ static int omap2_onenand_set_sync_mode(struct omap_onenand_platform_data *cfg,
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch (freq) {
|
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:
|
case 83:
|
||||||
min_gpmc_clk_period = 12000; /* 83 MHz */
|
min_gpmc_clk_period = 12000; /* 83 MHz */
|
||||||
t_ces = 5;
|
t_ces = 5;
|
||||||
|
@ -721,6 +721,9 @@ static int __devinit omap2_onenand_probe(struct platform_device *pdev)
|
|||||||
case 3:
|
case 3:
|
||||||
c->freq = 83;
|
c->freq = 83;
|
||||||
break;
|
break;
|
||||||
|
case 4:
|
||||||
|
c->freq = 104;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_MTD_PARTITIONS
|
#ifdef CONFIG_MTD_PARTITIONS
|
||||||
|
Loading…
Reference in New Issue
Block a user