enable CFI command set 0002 FORCE_WORD_WRITE

SVN-Revision: 33315
This commit is contained in:
Florian Fainelli 2012-09-03 20:25:51 +00:00
parent 19cbe80501
commit 94a45be66b

View file

@ -0,0 +1,14 @@
--- a/drivers/mtd/chips/cfi_cmdset_0002.c
+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
@@ -39,9 +39,9 @@
#include <linux/mtd/xip.h>
#define AMD_BOOTLOC_BUG
-#define FORCE_WORD_WRITE 0
+#define FORCE_WORD_WRITE 1
-#define MAX_WORD_RETRIES 3
+#define MAX_WORD_RETRIES 10
#define SST49LF004B 0x0060
#define SST49LF040B 0x0050