public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH][RFC] update flash timing on OMAP5912OSK
@ 2006-02-20  4:21 Hiroki Kaminaga
  2006-02-20 23:04 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Hiroki Kaminaga @ 2006-02-20  4:21 UTC (permalink / raw)
  To: linux-omap-open-source

Hi,

In linux-2.6.15-omap1 patch, in arch/arm/mach-omap1/board-osk.c,
EMIFS_CS3_VAL is set to 0x30003361.

This was introduced to fix flash timing error.
http://linux.omap.com/pipermail/linux-omap-open-source/2005-July/004717.html

On the other hand, in SectionE:Errata in EMIFS timing at:
http://omap.spectrumdigital.com/osk5912/osk5912_faq.html
EMIFS_CS3_VAL was set to 0x88013141, fixing write/read rate.

Reading from
http://focus.ti.com/lit/ug/spru742/spru742.pdf
3.6 EMIFS Registers,

0x30003361 will set read mode from "page mode, 4 word/page" to 
"asynchronous read", and read from flash slowed down.

I tested with new value 0x88013141, and works good so far.

Here is a patch against 2.6.15-omap1 patch.

Best Regards,


HK.
--

Index: linux-2.6.15/arch/arm/mach-omap1/board-osk.c
===================================================================
--- linux-2.6.15.orig/arch/arm/mach-omap1/board-osk.c	2006-01-27 17:56:55.000000000 +0900
+++ linux-2.6.15/arch/arm/mach-omap1/board-osk.c	2006-02-20 14:06:52.000000000 +0900
@@ -262,7 +262,7 @@
 	while (1) ;
 }
 
-#define EMIFS_CS3_VAL	(0x30003361)
+#define EMIFS_CS3_VAL	(0x88013141)
 
 static void __init osk_init(void)
 {

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-02-20 23:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-20  4:21 [PATCH][RFC] update flash timing on OMAP5912OSK Hiroki Kaminaga
2006-02-20 23:04 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox