diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-09-03 20:25:51 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-09-03 20:25:51 +0000 |
commit | e6b1ba9d19ba2f6edec47b21501aeb8d43bd386a (patch) | |
tree | 4bbc094863cef0b7ca1833af6637eac266aac083 | |
parent | b1e622e77602afa0bcf1dd5fea9ce5fcbe218f2f (diff) | |
download | upstream-e6b1ba9d19ba2f6edec47b21501aeb8d43bd386a.tar.gz upstream-e6b1ba9d19ba2f6edec47b21501aeb8d43bd386a.tar.bz2 upstream-e6b1ba9d19ba2f6edec47b21501aeb8d43bd386a.zip |
[mcs814x] enable CFI command set 0002 FORCE_WORD_WRITE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33315 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/mcs814x/patches-3.3/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.3/012-mtd-cfi_cmdset_0002-force-word-write.patch b/target/linux/mcs814x/patches-3.3/012-mtd-cfi_cmdset_0002-force-word-write.patch new file mode 100644 index 0000000000..89738a3fcd --- /dev/null +++ b/target/linux/mcs814x/patches-3.3/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 +@@ -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 |