From: Hiroki Kaminaga Date: Mon, 20 Feb 2006 23:04:35 +0000 (-0800) Subject: [PATCH] ARM: OMAP: update flash timing on OMAP5912OSK X-Git-Tag: v2.6.16-omap1~56^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=37c4fa21267c1ad4f54a3265ec83096cfe76ca68;p=linux-2.6-omap-h63xx.git [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. --- diff --git a/arch/arm/mach-omap1/board-osk.c b/arch/arm/mach-omap1/board-osk.c index 16e08b476d6..56c8a4b12bb 100644 --- a/arch/arm/mach-omap1/board-osk.c +++ b/arch/arm/mach-omap1/board-osk.c @@ -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) {