Commit 37c4fa21 authored by Hiroki Kaminaga's avatar Hiroki Kaminaga Committed by Tony Lindgren

[PATCH] ARM: OMAP: update flash timing on OMAP5912OSK

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.
parent 3fddca3f
......@@ -301,7 +301,7 @@ static void __init osk_mistral_init(void)
static void __init osk_mistral_init(void) { }
#endif
#define EMIFS_CS3_VAL (0x30003361)
#define EMIFS_CS3_VAL (0x88013141)
static void __init osk_init(void)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment