aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mcs814x/patches-3.18/012-mtd-cfi_cmdset_0002-force-word-write.patch
blob: 10593ce70d0f138cfb64c6f1a0e28bb24ea0cf77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/drivers/mtd/chips/cfi_cmdset_0002.c
+++ b/drivers/mtd/chips/cfi_cmdset_0002.c
@@ -40,9 +40,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