From: Amit Virdi <amit.virdi@st.com>
Date: Mon, 7 May 2012 07:30:21 +0000 (+0530)
Subject: st_smi: Change SMI timeout values
X-Git-Tag: v2025.01-rc5-pxa1908~17673^2~35^2~24^2~50
X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-logo.png?a=commitdiff_plain;h=0e88ff08febcb88fc4081f0393c4fca02b847146;p=u-boot.git

st_smi: Change SMI timeout values

Signed-off-by: Amit Virdi <amit.virdi@st.com>
Signed-off-by: Stefan Roese <sr@denx.de>
---

diff --git a/include/linux/mtd/st_smi.h b/include/linux/mtd/st_smi.h
index b7a78acd7c..04f81ea5b0 100644
--- a/include/linux/mtd/st_smi.h
+++ b/include/linux/mtd/st_smi.h
@@ -109,8 +109,8 @@ struct flash_dev {
 };
 
 #define SFLASH_PAGE_SIZE	0x100	/* flash page size */
-#define XFER_FINISH_TOUT	2	/* xfer finish timeout */
-#define WMODE_TOUT		2	/* write enable timeout */
+#define XFER_FINISH_TOUT	15	/* xfer finish timeout(in ms) */
+#define WMODE_TOUT		15	/* write enable timeout(in ms) */
 
 extern void smi_init(void);