From 8e3e58e908a9605e4c1589c2191b6db644fc6013 Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 3 Sep 2012 20:25:51 +0000 Subject: [mcs814x] enable CFI command set 0002 FORCE_WORD_WRITE git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33315 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../012-mtd-cfi_cmdset_0002-force-word-write.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 target/linux/mcs814x/patches-3.3/012-mtd-cfi_cmdset_0002-force-word-write.patch (limited to 'target/linux/mcs814x') 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 000000000..89738a3fc --- /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 + + #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 -- cgit v1.2.3