mcs814x: add 3.14 kernel support
[openwrt/svn-archive/archive.git] / target / linux / mcs814x / patches-3.14 / 012-mtd-cfi_cmdset_0002-force-word-write.patch
1 --- a/drivers/mtd/chips/cfi_cmdset_0002.c
2 +++ b/drivers/mtd/chips/cfi_cmdset_0002.c
3 @@ -41,9 +41,9 @@
4 #include <linux/mtd/xip.h>
5
6 #define AMD_BOOTLOC_BUG
7 -#define FORCE_WORD_WRITE 0
8 +#define FORCE_WORD_WRITE 1
9
10 -#define MAX_WORD_RETRIES 3
11 +#define MAX_WORD_RETRIES 10
12
13 #define SST49LF004B 0x0060
14 #define SST49LF040B 0x0050