mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
[mcs814x] enable CFI command set 0002 FORCE_WORD_WRITE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33315 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b1e622e776
commit
e6b1ba9d19
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user