012-mtd-cfi_cmdset_0002-force-word-write.patch 346 B

1234567891011121314
  1. --- a/drivers/mtd/chips/cfi_cmdset_0002.c
  2. +++ b/drivers/mtd/chips/cfi_cmdset_0002.c
  3. @@ -40,9 +40,9 @@
  4. #include <linux/mtd/xip.h>
  5. #define AMD_BOOTLOC_BUG
  6. -#define FORCE_WORD_WRITE 0
  7. +#define FORCE_WORD_WRITE 1
  8. -#define MAX_WORD_RETRIES 3
  9. +#define MAX_WORD_RETRIES 10
  10. #define SST49LF004B 0x0060
  11. #define SST49LF040B 0x0050