diff options
author | Florian Fainelli <florian@openwrt.org> | 2015-04-04 18:01:07 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2015-04-04 18:01:07 +0000 |
commit | b1ba4c50963db865b57092cd2ff9676e629aacf1 (patch) | |
tree | 605e14b700c9dacd60dc44b322fb2cc1b30b59d5 /target/linux/mcs814x/patches-3.18/012-mtd-cfi_cmdset_0002-force-word-write.patch | |
parent | c31df6e995c36e2b14b74f727b8392e6c1c10afc (diff) | |
download | master-31e0f0ae-b1ba4c50963db865b57092cd2ff9676e629aacf1.tar.gz master-31e0f0ae-b1ba4c50963db865b57092cd2ff9676e629aacf1.tar.bz2 master-31e0f0ae-b1ba4c50963db865b57092cd2ff9676e629aacf1.zip |
mcs814x: add support for 3.18
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 45273
Diffstat (limited to 'target/linux/mcs814x/patches-3.18/012-mtd-cfi_cmdset_0002-force-word-write.patch')
-rw-r--r-- | target/linux/mcs814x/patches-3.18/012-mtd-cfi_cmdset_0002-force-word-write.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/mcs814x/patches-3.18/012-mtd-cfi_cmdset_0002-force-word-write.patch b/target/linux/mcs814x/patches-3.18/012-mtd-cfi_cmdset_0002-force-word-write.patch new file mode 100644 index 0000000000..10593ce70d --- /dev/null +++ b/target/linux/mcs814x/patches-3.18/012-mtd-cfi_cmdset_0002-force-word-write.patch @@ -0,0 +1,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 |