From b47edef7fef592c7825b93b515b55cf8cb2ff087 Mon Sep 17 00:00:00 2001
From: Sergei Poselenov <sposelenov@emcraft.com>
Date: Fri, 18 Nov 2011 16:44:30 +0400
Subject: [PATCH] RT #74863. Changed the flash timings for STM32 to more
 conservative values. With these settings both our reworked ST-MEM cards
 works.

---
 include/configs/stm3220g-eval.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/stm3220g-eval.h b/include/configs/stm3220g-eval.h
index 65958b07..76f59826 100644
--- a/include/configs/stm3220g-eval.h
+++ b/include/configs/stm3220g-eval.h
@@ -169,8 +169,8 @@
 #define CONFIG_SYS_FLASH_CS		1
 
 #define CONFIG_SYS_FSMC_FLASH_BCR	0x00005015
-#define CONFIG_SYS_FSMC_FLASH_BTR	0x00010903
-#define CONFIG_SYS_FSMC_FLASH_BWTR	0x00010803
+#define CONFIG_SYS_FSMC_FLASH_BTR	0x00021206
+#define CONFIG_SYS_FSMC_FLASH_BWTR	0x00021106
 #define CONFIG_FSMC_NOR_PSRAM_CS1_ENABLE
 
 #define CONFIG_SYS_FLASH_BANK1_BASE	FSMC_NOR_PSRAM_CS_ADDR(CONFIG_SYS_FLASH_CS)
-- 
GitLab