summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-flash.c
diff options
context:
space:
mode:
authorChristoph Fritz <chf.fritz@googlemail.com>2013-04-19 18:29:41 +0200
committerTony Lindgren <tony@atomide.com>2013-05-16 08:49:02 -0700
commit4d5843616d16eb1a5851a976ec82b8d436233ad7 (patch)
tree55092fbfcb96621a4e2022fd313a142acf6d162c /arch/arm/mach-omap2/board-flash.c
parentf722406faae2d073cc1d01063d1123c35425939e (diff)
downloadop-kernel-dev-4d5843616d16eb1a5851a976ec82b8d436233ad7.zip
op-kernel-dev-4d5843616d16eb1a5851a976ec82b8d436233ad7.tar.gz
ARM: OMAP2+: nand: reorganize gpmc timing values
This patch removes omap2_nand_gpmc_retime() which was used to quirk some timing values before gpmc_cs_set_timings(). Due to recent changes, gpmc_cs_set_timings() has evolved so that there is no more need for a retime function. To keep the gpmc configuration consistent for legacy board files, this patch also adds oe_on and we_on to nand_default_timings[] as they would be by the retime function. Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-flash.c')
-rw-r--r--arch/arm/mach-omap2/board-flash.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-flash.c b/arch/arm/mach-omap2/board-flash.c
index c33adea..fc20a61 100644
--- a/arch/arm/mach-omap2/board-flash.c
+++ b/arch/arm/mach-omap2/board-flash.c
@@ -112,6 +112,9 @@ struct gpmc_timings nand_default_timings[1] = {
.cs_rd_off = 36,
.cs_wr_off = 36,
+ .we_on = 6,
+ .oe_on = 6,
+
.adv_on = 6,
.adv_rd_off = 24,
.adv_wr_off = 36,
OpenPOWER on IntegriCloud